[packages/python-py] - disable broken example in doc config, rel 6

baggins baggins at pld-linux.org
Fri Mar 14 13:38:09 CET 2025


commit 062cd8648b1be5fbf0691ffd829ee5526bfc370a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Mar 14 13:47:04 2025 +0100

    - disable broken example in doc config, rel 6

 intersphinx.patch | 8 ++++++++
 python-py.spec    | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/python-py.spec b/python-py.spec
index f89ccef..28bea2c 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -10,13 +10,14 @@ Summary:	Library with cross-python path, ini-parsing, io, code, log facilities
 Summary(pl.UTF-8):	Biblioteka wspierająca obsługę ścieżek, ini, we/wy, kodowania i logowania w wielu Pythonach
 Name:		python-%{module}
 Version:	1.11.0
-Release:	5
+Release:	6
 License:	MIT
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/py/
 Source0:	https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
 # Source0-md5:	bde7dcc1cb452a1e10206ef2f811ba88
 Patch0:		%{name}-pytest4.patch
+Patch1:		intersphinx.patch
 URL:		https://pypi.org/project/py/
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.7
@@ -101,6 +102,7 @@ Dokumentacja do biblioteki Pythona py.
 %prep
 %setup -q -n %{module}-%{version}
 %patch -P 0 -p1
+%patch -P 1 -p1
 
 %build
 %if %{with python2}
diff --git a/intersphinx.patch b/intersphinx.patch
new file mode 100644
index 0000000..0bcf76a
--- /dev/null
+++ b/intersphinx.patch
@@ -0,0 +1,8 @@
+--- py-1.11.0/doc/conf.py~	2021-11-04 18:16:48.000000000 +0100
++++ py-1.11.0/doc/conf.py	2025-03-14 13:45:37.913319448 +0100
+@@ -260,4 +260,4 @@
+ 
+ 
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}
++#intersphinx_mapping = {'http://docs.python.org/': None}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py.git/commitdiff/062cd8648b1be5fbf0691ffd829ee5526bfc370a



More information about the pld-cvs-commit mailing list