[packages/python-pexpect] Rel 9; fix invalid mapping at docs build

arekm arekm at pld-linux.org
Mon Mar 17 22:10:02 CET 2025


commit 4d982cf7e2e966a6846c4b86db08d4ec9413147d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 22:05:02 2025 +0100

    Rel 9; fix invalid mapping at docs build

 python-pexpect.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-pexpect.spec b/python-pexpect.spec
index 6e612eb..7b36cd6 100644
--- a/python-pexpect.spec
+++ b/python-pexpect.spec
@@ -10,7 +10,7 @@ Summary:	Pure Python Expect-like module
 Summary(pl.UTF-8):	Moduł podobny do narzędzia Expect napisany w czystym Pythonie
 Name:		python-%{module}
 Version:	4.8.0
-Release:	8
+Release:	9
 License:	ISC
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/pexpect/
@@ -98,6 +98,9 @@ Dokumentacja do modułu Pythona pexpect.
 %patch -P 0 -p1
 %patch -P 1 -p1
 
+# fix invalid mapping
+sed -i -e "s#^intersphinx_mapping =.*#intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}#g" doc/conf.py
+
 %build
 %if %{with python2}
 %py_build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pexpect.git/commitdiff/4d982cf7e2e966a6846c4b86db08d4ec9413147d



More information about the pld-cvs-commit mailing list