[packages/python3-repoze.sphinx.autointerface] Up to 1.1.0

arekm arekm at pld-linux.org
Thu Nov 12 09:54:31 CET 2026


commit 1a54e5bb9581123e1323dd7684eea7bb4c3f2a46
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 03:10:14 2026 +0100

    Up to 1.1.0

 python3-repoze.sphinx.autointerface.spec | 33 ++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)
---
diff --git a/python3-repoze.sphinx.autointerface.spec b/python3-repoze.sphinx.autointerface.spec
index 9571ba7..c4e7f0d 100644
--- a/python3-repoze.sphinx.autointerface.spec
+++ b/python3-repoze.sphinx.autointerface.spec
@@ -5,24 +5,27 @@
 Summary:	Sphinx extension: auto-generate API docs from Zope interfaces
 Summary(pl.UTF-8):	Rozszerzenie Sphinksa: automatyczne generowanie dokumentacji API z interfejsów Zope
 Name:		python3-repoze.sphinx.autointerface
-Version:	1.0.0
+Version:	1.1.0
 Release:	1
 License:	BSD-like
 Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/repoze-sphinx-autointerface/
-Source0:	https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/repoze.sphinx.autointerface-%{version}.tar.gz
-# Source0-md5:	63471c93810215ac7ad02b966ad16c39
+#Source0Download: https://github.com/repoze/repoze.sphinx.autointerface/tags
+# sdist lacks tests
+Source0:	https://github.com/repoze/repoze.sphinx.autointerface/archive/%{version}/repoze.sphinx.autointerface-%{version}.tar.gz
+# Source0-md5:	0b92c4842fa33c268c0be3b797b742d6
 URL:		https://pypi.org/project/repoze.sphinx.autointerface/
-BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-Sphinx >= 4.0
+BuildRequires:	python3-pytest
 BuildRequires:	python3-zope.interface
-BuildRequires:	python3-zope.testrunner
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.6
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.10
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,19 +43,18 @@ zope.interface w kodzie.
 %setup -q -n repoze.sphinx.autointerface-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
 
 %if %{with tests}
-PYTHONPATH=$(pwd) \
-zope-testrunner-3 --test-path .
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests/unit
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
-
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/repoze/sphinx/tests
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,5 +67,4 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py3_sitescriptdir}/repoze/sphinx
 %{py3_sitescriptdir}/repoze/sphinx/autointerface.py
 %{py3_sitescriptdir}/repoze/sphinx/__pycache__
-%{py3_sitescriptdir}/repoze.sphinx.autointerface-%{version}-py*.egg-info
-%{py3_sitescriptdir}/repoze.sphinx.autointerface-%{version}-py*-nspkg.pth
+%{py3_sitescriptdir}/repoze_sphinx_autointerface-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-repoze.sphinx.autointerface.git/commitdiff/1a54e5bb9581123e1323dd7684eea7bb4c3f2a46



More information about the pld-cvs-commit mailing list