[packages/python3-sphinxcontrib-applehelp] Up to 2.0.0
arekm
arekm at pld-linux.org
Fri Feb 7 17:13:11 CET 2025
commit bead999a4e1c5233f88d2bc65c23379589e46f9d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Feb 7 16:41:16 2025 +0100
Up to 2.0.0
python3-sphinxcontrib-applehelp.spec | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/python3-sphinxcontrib-applehelp.spec b/python3-sphinxcontrib-applehelp.spec
index 733ebac..c40ecb3 100644
--- a/python3-sphinxcontrib-applehelp.spec
+++ b/python3-sphinxcontrib-applehelp.spec
@@ -5,16 +5,17 @@
Summary: Sphinx extension which outputs Apple help books
Summary(pl.UTF-8): Rozszerzenie Sphinksa zapisujące książki pomocy Apple
Name: python3-sphinxcontrib-applehelp
-Version: 1.0.2
-Release: 5
+Version: 2.0.0
+Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/sphinxcontrib-applehelp/
-Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-%{version}.tar.gz
-# Source0-md5: 3f2de7681e12dde031acee0497c3cc2b
+Source0: https://pypi.debian.net/sphinxcontrib-applehelp/sphinxcontrib_applehelp-%{version}.tar.gz
+# Source0-md5: e16bb1d6199f686d411c180e64a8e831
URL: https://pypi.org/project/sphinxcontrib-applehelp/
BuildRequires: python3-modules >= 1:3.5
-BuildRequires: python3-setuptools
+BuildRequires: python3-build
+BuildRequires: python3-installer
%if %{with tests}
BuildRequires: python3-Sphinx
BuildRequires: python3-pytest
@@ -34,10 +35,10 @@ sphinxcontrib-applehelp to rozszerzenie Sphinksa, zapisujące
książki pomocy Apple.
%prep
-%setup -q -n sphinxcontrib-applehelp-%{version}
+%setup -q -n sphinxcontrib_applehelp-%{version}
%build
-%py3_build
+%{__python3} -m build --wheel --no-isolation --outdir build-3
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -47,14 +48,13 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%{__python3} -m installer --destdir=$RPM_BUILD_ROOT build-3/*.whl
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES LICENSE README.rst
+%doc CHANGES.rst LICENCE.rst README.rst
%{py3_sitescriptdir}/sphinxcontrib/applehelp
-%{py3_sitescriptdir}/sphinxcontrib_applehelp-%{version}-py*.egg-info
-%{py3_sitescriptdir}/sphinxcontrib_applehelp-%{version}-py*-nspkg.pth
+%{py3_sitescriptdir}/sphinxcontrib_applehelp-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-applehelp.git/commitdiff/bead999a4e1c5233f88d2bc65c23379589e46f9d
More information about the pld-cvs-commit
mailing list