[packages/python3-repoze.sphinx.autointerface] - python-repoze.sphinx.autointerface.spec updated to 1.0.0 for python 3.6+/Sphinx 4+

qboosh qboosh at pld-linux.org
Wed Apr 16 21:03:40 CEST 2025


commit fc690767fdad15b88177757c938d713f996bcfca
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 16 20:53:40 2025 +0200

    - python-repoze.sphinx.autointerface.spec updated to 1.0.0 for python 3.6+/Sphinx 4+

 python-repoze.sphinx.autointerface.spec  | 108 -------------------------------
 python3-repoze.sphinx.autointerface.spec |  55 ++++++++++++++++
 2 files changed, 55 insertions(+), 108 deletions(-)
---
diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec
deleted file mode 100644
index 32cd5e3..0000000
--- a/python-repoze.sphinx.autointerface.spec
+++ /dev/null
@@ -1,108 +0,0 @@
-#
-# Conditional build:
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-
-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:		python-repoze.sphinx.autointerface
-# keep 0.x here for python2 support
-Version:	0.8
-Release:	8
-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:	8e05cb8421b0a3bea8ec3b0aa3695310
-URL:		https://pypi.org/project/repoze.sphinx.autointerface/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.3
-BuildRequires:	python3-setuptools
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This package defines an extension for the Sphinx documentation system.
-The extension allows generation of API documentation by introspection
-of zope.interface instances in code.
-
-%description -l pl.UTF-8
-Ten pakiet definiuje rozszerzenie systemu dokumentacji Sphinx,
-pozwalające generować dokumentację API poprzez wgląd w instancje
-zope.interface w kodzie.
-
-%package -n python3-repoze.sphinx.autointerface
-Summary:	Sphinx extension: auto-generate API docs from Zope interfaces
-Summary(pl.UTF-8):	Rozszerzenie Sphinksa: automatyczne generowanie dokumentacji API z interfejsów Zope
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.3
-
-%description -n python3-repoze.sphinx.autointerface
-This package defines an extension for the Sphinx documentation system.
-The extension allows generation of API documentation by introspection
-of zope.interface instances in code.
-
-%description -n python3-repoze.sphinx.autointerface -l pl.UTF-8
-Ten pakiet definiuje rozszerzenie systemu dokumentacji Sphinx,
-pozwalające generować dokumentację API poprzez wgląd w instancje
-zope.interface w kodzie.
-
-%prep
-%setup -q -n repoze.sphinx.autointerface-%{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 CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt README.rst TODO.txt
-# XXX: shared dir
-%dir %{py_sitescriptdir}/repoze
-%dir %{py_sitescriptdir}/repoze/sphinx
-%{py_sitescriptdir}/repoze/sphinx/autointerface.py[co]
-%{py_sitescriptdir}/repoze.sphinx.autointerface-%{version}-py*.egg-info
-%{py_sitescriptdir}/repoze.sphinx.autointerface-%{version}-py*-nspkg.pth
-%endif
-
-%if %{with python3}
-%files -n python3-repoze.sphinx.autointerface
-%defattr(644,root,root,755)
-%doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt README.rst TODO.txt
-%dir %{py3_sitescriptdir}/repoze
-%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
-%endif
diff --git a/python3-repoze.sphinx.autointerface.spec b/python3-repoze.sphinx.autointerface.spec
new file mode 100644
index 0000000..0ee57a0
--- /dev/null
+++ b/python3-repoze.sphinx.autointerface.spec
@@ -0,0 +1,55 @@
+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
+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
+URL:		https://pypi.org/project/repoze.sphinx.autointerface/
+BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-setuptools
+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
+This package defines an extension for the Sphinx documentation system.
+The extension allows generation of API documentation by introspection
+of zope.interface instances in code.
+
+%description -l pl.UTF-8
+Ten pakiet definiuje rozszerzenie systemu dokumentacji Sphinx,
+pozwalające generować dokumentację API poprzez wgląd w instancje
+zope.interface w kodzie.
+
+%prep
+%setup -q -n repoze.sphinx.autointerface-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/repoze/sphinx/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt README.rst TODO.txt
+# XXX: dir shared with repoze.*
+%dir %{py3_sitescriptdir}/repoze
+%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
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list