[packages/python3-sphinxcontrib-htmlhelp] Up to 2.1.0
arekm
arekm at pld-linux.org
Fri Feb 7 17:17:08 CET 2025
commit b4a48d080abdf79b232b56515dd63c01b872045c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Feb 7 16:45:34 2025 +0100
Up to 2.1.0
python3-sphinxcontrib-htmlhelp.spec | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/python3-sphinxcontrib-htmlhelp.spec b/python3-sphinxcontrib-htmlhelp.spec
index b19b9a6..4d9119e 100644
--- a/python3-sphinxcontrib-htmlhelp.spec
+++ b/python3-sphinxcontrib-htmlhelp.spec
@@ -5,16 +5,17 @@
Summary: Sphinx extension which renders HMTL help files
Summary(pl.UTF-8): Rozszerzenie Sphinksa tworzące pliki pomocy HTML
Name: python3-sphinxcontrib-htmlhelp
-Version: 2.0.0
-Release: 4
+Version: 2.1.0
+Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/sphinxcontrib-htmlhelp/
-Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
-# Source0-md5: 70765b55395a3c20233631802902c840
+Source0: https://pypi.debian.net/sphinxcontrib-htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz
+# Source0-md5: 1326f55f6bea49ab6a846c0088bc369e
URL: https://pypi.org/project/sphinxcontrib-htmlhelp/
+BuildRequires: python3-build
+BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.6
-BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-Sphinx
BuildRequires: python3-html5lib
@@ -35,10 +36,10 @@ sphinxcontrib-htmlhelp to rozszerzenie Sphinksa, tworzące pliki pomocy
HTML.
%prep
-%setup -q -n sphinxcontrib-htmlhelp-%{version}
+%setup -q -n sphinxcontrib_htmlhelp-%{version}
%build
-%py3_build
+%{__python3} -m build --wheel --no-isolation --outdir build-3
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -48,14 +49,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/htmlhelp
-%{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*.egg-info
-%{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*-nspkg.pth
+%{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-htmlhelp.git/commitdiff/b4a48d080abdf79b232b56515dd63c01b872045c
More information about the pld-cvs-commit
mailing list