[packages/python3-sphinx_issues] - python-sphinx_issues.spec updated to 3.0.1 for python 3.6+

qboosh qboosh at pld-linux.org
Wed Mar 30 21:20:29 CEST 2022


commit 1caf73a42fa385649d588cc0c985ea0fcd7ca2df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 30 21:15:55 2022 +0200

    - python-sphinx_issues.spec updated to 3.0.1 for python 3.6+

 python-sphinx_issues.spec  | 110 ---------------------------------------------
 python3-sphinx_issues.spec |  57 +++++++++++++++++++++++
 2 files changed, 57 insertions(+), 110 deletions(-)
---
diff --git a/python-sphinx_issues.spec b/python-sphinx_issues.spec
deleted file mode 100644
index 5c5ab00..0000000
--- a/python-sphinx_issues.spec
+++ /dev/null
@@ -1,110 +0,0 @@
-#
-# Conditional build:
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-%bcond_with	tests	# unit tests [not included in release tarball]
-
-Summary:	Sphinx extension for linking to your project's issue tracker
-Summary(pl.UTF-8):	Rozszerzenie Sphinksa do dowiązań do systemu śledzenia problemów projektu
-Name:		python-sphinx_issues
-Version:	1.2.0
-Release:	7
-License:	MIT
-Group:		Libraries/Python
-#Source0-Download: https://pypi.org/simple/sphinx-issues/
-Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-issues/sphinx-issues-%{version}.tar.gz
-# Source0-md5:	0f40881c9c95c40c6e752abce61882cc
-URL:		https://github.com/sloria/sphinx-issues
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%if %{with tests}
-BuildRequires:	python-mock
-BuildRequires:	python-pytest
-%endif
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.5
-BuildRequires:	python3-setuptools
-%if %{with tests}
-BuildRequires:	python3-pytest
-%endif
-%endif
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-A Sphinx extension for linking to your project's issue tracker.
-Includes roles for linking to both issues and user profiles, with
-built-in support for GitHub (though this works with other services).
-
-%description -l pl.UTF-8
-Rozszerzenie Sphinksa służące do dowiązywania do systemu śledzenia
-problemów projektu. Zawiera role do dowiązywania zarówno do zgłoszeń
-problemów, jak i profili użytkowników; ma wbudowaną obsługę serwisu
-GitHub (ale działa także z innymi serwisami).
-
-%package -n python3-sphinx_issues
-Summary:	Sphinx extension for linking to your project's issue tracker
-Summary(pl.UTF-8):	Rozszerzenie Sphinksa do dowiązań do systemu śledzenia problemów projektu
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.5
-
-%description -n python3-sphinx_issues
-A Sphinx extension for linking to your project's issue tracker.
-Includes roles for linking to both issues and user profiles, with
-built-in support for GitHub (though this works with other services).
-
-%description -n python3-sphinx_issues -l pl.UTF-8
-Rozszerzenie Sphinksa służące do dowiązywania do systemu śledzenia
-problemów projektu. Zawiera role do dowiązywania zarówno do zgłoszeń
-problemów, jak i profili użytkowników; ma wbudowaną obsługę serwisu
-GitHub (ale działa także z innymi serwisami).
-
-%prep
-%setup -q -n sphinx-issues-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py_sitescriptdir}/sphinx_issues.py[co]
-%{py_sitescriptdir}/sphinx_issues-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-sphinx_issues
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py3_sitescriptdir}/sphinx_issues.py
-%{py3_sitescriptdir}/__pycache__/sphinx_issues.cpython-*.py[co]
-%{py3_sitescriptdir}/sphinx_issues-%{version}-py*.egg-info
-%endif
diff --git a/python3-sphinx_issues.spec b/python3-sphinx_issues.spec
new file mode 100644
index 0000000..154ab7e
--- /dev/null
+++ b/python3-sphinx_issues.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests [not included in sdist]
+
+Summary:	Sphinx extension for linking to your project's issue tracker
+Summary(pl.UTF-8):	Rozszerzenie Sphinksa do dowiązań do systemu śledzenia problemów projektu
+Name:		python3-sphinx_issues
+Version:	3.0.1
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0-Download: https://pypi.org/simple/sphinx-issues/
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-issues/sphinx-issues-%{version}.tar.gz
+# Source0-md5:	e2351ac5790c84b8fe9f13da294f69f1
+URL:		https://github.com/sloria/sphinx-issues
+BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-pytest >= 6.2.0
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.6
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Sphinx extension for linking to your project's issue tracker.
+Includes roles for linking to both issues and user profiles, with
+built-in support for GitHub (though this works with other services).
+
+%description -l pl.UTF-8
+Rozszerzenie Sphinksa służące do dowiązywania do systemu śledzenia
+problemów projektu. Zawiera role do dowiązywania zarówno do zgłoszeń
+problemów, jak i profili użytkowników; ma wbudowaną obsługę serwisu
+GitHub (ale działa także z innymi serwisami).
+
+%prep
+%setup -q -n sphinx-issues-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py3_sitescriptdir}/sphinx_issues.py
+%{py3_sitescriptdir}/__pycache__/sphinx_issues.cpython-*.py[co]
+%{py3_sitescriptdir}/sphinx_issues-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_issues.git/commitdiff/1caf73a42fa385649d588cc0c985ea0fcd7ca2df



More information about the pld-cvs-commit mailing list