[packages/python3-sphinx_remove_toctrees] Up to 1.0.0.post1
arekm
arekm at pld-linux.org
Wed May 28 23:15:04 CEST 2025
commit 445fc491db4a2198f5b1dab1b608f4c6eaaf3888
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 28 23:14:55 2025 +0200
Up to 1.0.0.post1
python3-sphinx_remove_toctrees.spec | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/python3-sphinx_remove_toctrees.spec b/python3-sphinx_remove_toctrees.spec
index 2c36f4e..d770da2 100644
--- a/python3-sphinx_remove_toctrees.spec
+++ b/python3-sphinx_remove_toctrees.spec
@@ -6,17 +6,17 @@
Summary: Remove toctrees from Sphinx pages
Summary(pl.UTF-8): Usuwanie drzew ze spisem treści ze stron Sphinksa
Name: python3-sphinx_remove_toctrees
-# 1.0.0.post1 requires sphinx 5
-Version: 0.0.3
-Release: 3
+Version: 1.0.0.post1
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/sphinx_remove_toctrees/
-Source0: https://files.pythonhosted.org/packages/source/s/sphinx_remove_toctrees/sphinx-remove-toctrees-%{version}.tar.gz
-# Source0-md5: bb4c60bb8e18c151805b2d1da60cf1f1
+Source0: https://files.pythonhosted.org/packages/source/s/sphinx_remove_toctrees/sphinx_remove_toctrees-%{version}.tar.gz
+# Source0-md5: a348043f08b63f73a767206e2ced0c9d
URL: https://pypi.org/project/sphinx_remove_toctrees/
+BuildRequires: python3-build
+BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.6
-BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-Sphinx >= 4.5
BuildRequires: python3-ipython
@@ -65,10 +65,10 @@ API documentation for Python sphinx_remove_toctrees module.
Dokumentacja API modułu Pythona sphinx_remove_toctrees.
%prep
-%setup -q -n sphinx-remove-toctrees-%{version}
+%setup -q -n sphinx_remove_toctrees-%{version}
%build
-%py3_build
+%py3_build_pyproject
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -84,7 +84,7 @@ PYTHONPATH=$(pwd) \
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
@@ -93,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc LICENSE README.md
%{py3_sitescriptdir}/sphinx_remove_toctrees
-%{py3_sitescriptdir}/sphinx_remove_toctrees-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinx_remove_toctrees-%{version}.dist-info
%if %{with doc}
%files apidocs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_remove_toctrees.git/commitdiff/445fc491db4a2198f5b1dab1b608f4c6eaaf3888
More information about the pld-cvs-commit
mailing list