[packages/python3-entrypoints] - fix for intersphinx mapping, updated dependencies
qboosh
qboosh at pld-linux.org
Wed Nov 26 05:41:13 CET 2025
commit 2defa8bf52607fc7682c4270f442902928b786e2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 26 05:41:15 2025 +0100
- fix for intersphinx mapping, updated dependencies
entrypoints-intersphinx.patch | 8 ++++++++
python3-entrypoints.spec | 18 ++++++++++++------
2 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/python3-entrypoints.spec b/python3-entrypoints.spec
index 1853c0c..de9ac29 100644
--- a/python3-entrypoints.spec
+++ b/python3-entrypoints.spec
@@ -13,19 +13,22 @@ Group: Libraries/Python
#Source0Download: https://pypi.org/simple/entrypoints/
Source0: https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-%{version}.tar.gz
# Source0-md5: 3acd8b72119a8fb1eac7030c24ac6b49
+Patch0: entrypoints-intersphinx.patch
URL: https://pypi.org/project/entrypoints/
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
BuildRequires: python3-build
+BuildRequires: python3-flit_core >= 2
+BuildRequires: python3-flit_core < 4
BuildRequires: python3-installer
-BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3-modules >= 1:3.6
%if %{with tests}
BuildRequires: python3-pytest
%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
%if %{with doc}
-BuildRequires: sphinx-pdg
+BuildRequires: sphinx-pdg-3
%endif
-Requires: python3-modules >= 1:3.5
+Requires: python3-modules >= 1:3.6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,16 +71,19 @@ Dokumentacja API modułu Pythona entrypoints.
%prep
%setup -q -n entrypoints-%{version}
+%patch -P0 -p1
%build
%py3_build_pyproject
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest tests
%endif
%if %{with doc}
-%{__make} -C doc html
+%{__make} -C doc html \
+ SPHINXBUILD=sphinx-build-3
%endif
%install
diff --git a/entrypoints-intersphinx.patch b/entrypoints-intersphinx.patch
new file mode 100644
index 0000000..ab5bcc3
--- /dev/null
+++ b/entrypoints-intersphinx.patch
@@ -0,0 +1,8 @@
+--- entrypoints-0.4/doc/conf.py.orig 2019-01-07 19:03:51.848916000 +0100
++++ entrypoints-0.4/doc/conf.py 2025-11-25 21:57:13.627510197 +0100
+@@ -290,4 +290,4 @@ texinfo_documents = [
+
+
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'https://docs.python.org/': None}
++intersphinx_mapping = {"python": ('https://docs.python.org/', None)}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-entrypoints.git/commitdiff/2defa8bf52607fc7682c4270f442902928b786e2
More information about the pld-cvs-commit
mailing list