[packages/python3-stevedore] Up to 5.4.1
arekm
arekm at pld-linux.org
Thu May 22 22:31:51 CEST 2025
commit 29356b832245155323b0ec0c9042c631b5f52efd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 22 22:31:38 2025 +0200
Up to 5.4.1
python-stevedore.spec | 144 -------------------------------------------------
python3-stevedore.spec | 88 ++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+), 144 deletions(-)
---
diff --git a/python-stevedore.spec b/python-stevedore.spec
deleted file mode 100644
index 31686f3..0000000
--- a/python-stevedore.spec
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-# Conditional build:
-%bcond_without doc # Sphinx documentation
-%bcond_with tests # unit tests
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-%define module stevedore
-Summary: Manage dynamic plugins for Python applications
-Summary(pl.UTF-8): Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona
-Name: python-%{module}
-# keep 1.x here for python2 support
-Version: 1.32.0
-Release: 3
-License: Apache v2.0
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/stevedore/
-Source0: https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-%{version}.tar.gz
-# Source0-md5: f854d6ed0f6fcaf93a32c755d706ce19
-URL: https://pypi.org/project/stevedore/
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-BuildRequires: python-pbr >= 2.0.0
-%if %{with tests}
-BuildRequires: python-coverage >= 4.0
-BuildRequires: python-six >= 1.10.0
-BuildRequires: python-mock >= 2.0.0
-BuildRequires: python-stestr >= 2.0.0
-BuildRequires: sphinx-pdg-2 >= 1.7.0
-%endif
-%endif
-%if %{with python3}
-BuildRequires: python3-setuptools
-BuildRequires: python3-pbr >= 2.0.0
-%if %{with tests}
-BuildRequires: python3-coverage >= 4.0
-BuildRequires: python3-six >= 1.10.0
-#BuildRequires: python3-mock >= 2.0.0
-BuildRequires: python3-stestr >= 2.0.0
-BuildRequires: sphinx-pdg-3 >= 1.7.0
-%endif
-%endif
-%if %{with doc}
-BuildRequires: python-openstackdocstheme >= 1.11.0
-BuildRequires: python-reno >= 2.5.0
-BuildRequires: sphinx-pdg-2 >= 1.7.0
-%endif
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Manage dynamic plugins for Python applications.
-
-%description -l pl.UTF-8
-Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona.
-
-%package -n python3-stevedore
-Summary: Manage dynamic plugins for Python applications
-Summary(pl.UTF-8): Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.6
-
-%description -n python3-stevedore
-Manage dynamic plugins for Python applications
-
-%description -n python3-stevedore -l pl.UTF-8
-Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona.
-
-%package apidocs
-Summary: API documentation for Python stevedore module
-Summary(pl.UTF-8): Dokumentacja API modułu Pythona stevedore
-Group: Documentation
-
-%description apidocs
-API documentation for Python stevedore module.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API modułu Pythona stevedore.
-
-%prep
-%setup -q -n stevedore-%{version}
-
-%build
-%if %{with python2}
-%py_build %{?with_tests:test}
-%endif
-
-%if %{with python3}
-%py3_build %{?with_tests:test}
-%endif
-
-%if %{with doc}
-PYTHONPATH=$(pwd) \
-%{__make} -C doc html \
- SPHINXBUILD=sphinx-build-2
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/stevedore/tests
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/stevedore/example
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/stevedore/tests
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/stevedore/example
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README.rst announce.rst
-%{py_sitescriptdir}/stevedore
-%{py_sitescriptdir}/stevedore-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-stevedore
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README.rst announce.rst
-%{py3_sitescriptdir}/stevedore
-%{py3_sitescriptdir}/stevedore-%{version}-py*.egg-info
-%endif
-
-%if %{with doc}
-%files apidocs
-%defattr(644,root,root,755)
-%doc doc/build/html/{_images,_static,install,reference,user,*.html,*.js}
-%endif
diff --git a/python3-stevedore.spec b/python3-stevedore.spec
new file mode 100644
index 0000000..26021f1
--- /dev/null
+++ b/python3-stevedore.spec
@@ -0,0 +1,88 @@
+#
+# Conditional build:
+%bcond_without doc # Sphinx documentation
+%bcond_with tests # unit tests
+
+%define module stevedore
+Summary: Manage dynamic plugins for Python applications
+Summary(pl.UTF-8): Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona
+Name: python3-%{module}
+Version: 5.4.1
+Release: 1
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/stevedore/
+Source0: https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-%{version}.tar.gz
+# Source0-md5: d8ce49d9a513d454bec0e897ce10062b
+URL: https://pypi.org/project/stevedore/
+BuildRequires: python3-pbr >= 2.0.0
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+%if %{with tests}
+BuildRequires: python3-coverage >= 4.0
+#BuildRequires: python3-mock >= 2.0.0
+BuildRequires: python3-six >= 1.10.0
+BuildRequires: python3-stestr >= 2.0.0
+BuildRequires: sphinx-pdg-3 >= 1.7.0
+%endif
+%if %{with doc}
+BuildRequires: python3-openstackdocstheme >= 1.11.0
+BuildRequires: python3-reno >= 2.5.0
+BuildRequires: sphinx-pdg-3 >= 1.7.0
+%endif
+Requires: python3-modules >= 1:3.9
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Manage dynamic plugins for Python applications.
+
+%description -l pl.UTF-8
+Zarządzanie dynamicznymi wtyczkami dla aplikacji Pythona.
+
+%package apidocs
+Summary: API documentation for Python stevedore module
+Summary(pl.UTF-8): Dokumentacja API modułu Pythona stevedore
+Group: Documentation
+
+%description apidocs
+API documentation for Python stevedore module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona stevedore.
+
+%prep
+%setup -q -n stevedore-%{version}
+
+%build
+%py3_build %{?with_tests:test}
+
+%if %{with doc}
+PYTHONPATH=$(pwd) \
+sphinx-build-3 -b html doc/source doc/source/_build/html
+%endif
+
+%install
+
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/stevedore/tests
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/stevedore/example
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CONTRIBUTING.rst ChangeLog README.rst
+%{py3_sitescriptdir}/stevedore
+%{py3_sitescriptdir}/stevedore-%{version}-py*.egg-info
+
+%if %{with doc}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/source/_build/html/{_images,_static,install,reference,user,*.html,*.js}
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-stevedore.git/commitdiff/29356b832245155323b0ec0c9042c631b5f52efd
More information about the pld-cvs-commit
mailing list