[packages/python3-autodocsumm] - python-autodocsumm.spec updated to 0.2.12 for python 3.7+
qboosh
qboosh at pld-linux.org
Sat Apr 20 19:13:50 CEST 2024
commit c027aaad9f5c8b9486afd6ee1f7411901f596971
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 20 18:51:08 2024 +0200
- python-autodocsumm.spec updated to 0.2.12 for python 3.7+
python-autodocsumm.spec | 96 ------------------------------------------------
python3-autodocsumm.spec | 47 ++++++++++++++++++++++++
2 files changed, 47 insertions(+), 96 deletions(-)
---
diff --git a/python-autodocsumm.spec b/python-autodocsumm.spec
deleted file mode 100644
index 29b1ac8..0000000
--- a/python-autodocsumm.spec
+++ /dev/null
@@ -1,96 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-Summary: Extended Sphinx autodoc including automatic autosummaries
-Summary(pl.UTF-8): Rozszerzone autodoc dla Sphinksa wraz z automatycznymi podsumowaniami
-Name: python-autodocsumm
-# keep 0.1.x here for python2 support
-Version: 0.1.13
-Release: 1
-License: GPL v2+
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/autodocsumm/
-Source0: https://files.pythonhosted.org/packages/source/a/autodocsumm/autodocsumm-%{version}.tar.gz
-# Source0-md5: 14154542b66b0a50a94d3c89ac023cb3
-URL: https://pypi.org/project/autodocsumm/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.5
-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 Sphinx extension provides some useful extensions to the Sphinx's
-autodoc extension.
-
-%description -l pl.UTF-8
-To rozszerzenie Sphinksa dostarcza kilka przydatnych rozszerzeń do
-rozszerzenia Sphinksa autodoc.
-
-%package -n python3-autodocsumm
-Summary: Extended Sphinx autodoc including automatic autosummaries
-Summary(pl.UTF-8): Rozszerzone autodoc dla Sphinksa wraz z automatycznymi podsumowaniami
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.5
-
-%description -n python3-autodocsumm
-This Sphinx extension provides some useful extensions to the Sphinx's
-autodoc extension.
-
-%description -n python3-autodocsumm -l pl.UTF-8
-To rozszerzenie Sphinksa dostarcza kilka przydatnych rozszerzeń do
-rozszerzenia Sphinksa autodoc.
-
-%prep
-%setup -q -n autodocsumm-%{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 README.rst
-%{py_sitescriptdir}/autodocsumm
-%{py_sitescriptdir}/autodocsumm-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-autodocsumm
-%defattr(644,root,root,755)
-%doc README.rst
-%{py3_sitescriptdir}/autodocsumm
-%{py3_sitescriptdir}/autodocsumm-%{version}-py*.egg-info
-%endif
diff --git a/python3-autodocsumm.spec b/python3-autodocsumm.spec
new file mode 100644
index 0000000..a1758b1
--- /dev/null
+++ b/python3-autodocsumm.spec
@@ -0,0 +1,47 @@
+Summary: Extended Sphinx autodoc including automatic autosummaries
+Summary(pl.UTF-8): Rozszerzone autodoc dla Sphinksa wraz z automatycznymi podsumowaniami
+Name: python3-autodocsumm
+Version: 0.2.12
+Release: 1
+License: GPL v2+
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/autodocsumm/
+Source0: https://files.pythonhosted.org/packages/source/a/autodocsumm/autodocsumm-%{version}.tar.gz
+# Source0-md5: c6e84a11db27f1d82374ea4b278a3089
+URL: https://pypi.org/project/autodocsumm/
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-setuptools
+BuildRequires: python3-versioneer >= 0.26
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This Sphinx extension provides some useful extensions to the Sphinx's
+autodoc extension.
+
+%description -l pl.UTF-8
+To rozszerzenie Sphinksa dostarcza kilka przydatnych rozszerzeń do
+rozszerzenia Sphinksa autodoc.
+
+%prep
+%setup -q -n autodocsumm-%{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 README.rst
+%{py3_sitescriptdir}/autodocsumm
+%{py3_sitescriptdir}/autodocsumm-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-autodocsumm.git/commitdiff/c027aaad9f5c8b9486afd6ee1f7411901f596971
More information about the pld-cvs-commit
mailing list