[packages/python3-manhole] - python-manhole.spec updated to 1.8.1 for python 3.8+
qboosh
qboosh at pld-linux.org
Sun Jun 29 21:55:03 CEST 2025
commit f9402f498ebcc961e26ca60423a9b1034a778f93
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 29 21:56:29 2025 +0200
- python-manhole.spec updated to 1.8.1 for python 3.8+
python-manhole.spec => python3-manhole.spec | 49 +++++++++++++++--------------
1 file changed, 25 insertions(+), 24 deletions(-)
---
diff --git a/python-manhole.spec b/python3-manhole.spec
similarity index 67%
rename from python-manhole.spec
rename to python3-manhole.spec
index 8067202..90e84f0 100644
--- a/python-manhole.spec
+++ b/python3-manhole.spec
@@ -5,33 +5,32 @@
Summary: Service that accepts unix domain socket connections and present the stacktraces
Summary(pl.UTF-8): Usługa przyjmująca połączenia na gnieździe uniksowym i pokazująca ślady stosu
-Name: python-manhole
-# keep 1.8.0 here for python2 support
-Version: 1.8.0
+Name: python3-manhole
+Version: 1.8.1
Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/manhole/
Source0: https://files.pythonhosted.org/packages/source/m/manhole/manhole-%{version}.tar.gz
-# Source0-md5: ab4bd604da75a013bab39ce7815727e5
+# Source0-md5: f464d2b4f7772a513ce2db2176d90cb6
URL: https://pypi.org/project/manhole/
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
+BuildRequires: python3-modules >= 1:3.8
+BuildRequires: python3-setuptools >= 1:64
%if %{with tests}
-BuildRequires: python-eventlet >= 0.30.2
-BuildRequires: python-gevent >= 21.1.2
-BuildRequires: python-process_tests
-BuildRequires: python-pytest
-BuildRequires: python-requests
-#BuildRequires: python-uwsgi >= 2.0.19.1
+BuildRequires: python3-eventlet >= 0.36.1
+BuildRequires: python3-gevent >= 24.2.1
+BuildRequires: python3-process_tests
+BuildRequires: python3-pytest
+BuildRequires: python3-requests
+#BuildRequires: python3-uwsgi >= 2.0.26
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
-BuildRequires: python-sphinx_py3doc_enhanced_theme
-BuildRequires: sphinx-pdg-2 >= 1.3
+BuildRequires: python3-furo
+BuildRequires: sphinx-pdg-3
%endif
-Requires: python-modules >= 1:2.7
+Requires: python3-modules >= 1:3.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,24 +59,25 @@ Dokumentacja API modułu Pythona manhole.
%setup -q -n manhole-%{version}
%build
-%py_build
+%py3_build
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTHONPATH=$(pwd)/src \
-%{__python} -m pytest tests
+%{__python3} -m pytest tests
%endif
%if %{with doc}
-sphinx-build-2 -b html docs docs/_build/html
+sphinx-build-3 -b html docs docs/_build/html
%endif
%install
rm -rf $RPM_BUILD_ROOT
-%py_install
+%py3_install
-%{__mv} $RPM_BUILD_ROOT%{_bindir}/manhole-cli{,-2}
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/manhole-cli{,-3}
+ln -sf manhole-cli-3 $RPM_BUILD_ROOT%{_bindir}/manhole-cli
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,10 +85,11 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst
-%attr(755,root,root) %{_bindir}/manhole-cli-2
-%{py_sitescriptdir}/manhole
-%{py_sitescriptdir}/manhole.pth
-%{py_sitescriptdir}/manhole-%{version}-py*.egg-info
+%attr(755,root,root) %{_bindir}/manhole-cli
+%attr(755,root,root) %{_bindir}/manhole-cli-3
+%{py3_sitescriptdir}/manhole
+%{py3_sitescriptdir}/manhole.pth
+%{py3_sitescriptdir}/manhole-%{version}-py*.egg-info
%if %{with doc}
%files apidocs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-manhole.git/commitdiff/f9402f498ebcc961e26ca60423a9b1034a778f93
More information about the pld-cvs-commit
mailing list