[packages/python-pexpect] - remove incorrect and useless sphinx call - rel 3
baggins
baggins at pld-linux.org
Tue Mar 2 22:19:46 CET 2021
commit bf331c3eed4fd75873f828857901e0716febf259
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Mar 2 22:19:09 2021 +0100
- remove incorrect and useless sphinx call
- rel 3
python-pexpect.spec | 4 +++-
sphinx-api.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python-pexpect.spec b/python-pexpect.spec
index 54859b7..b4e69f7 100644
--- a/python-pexpect.spec
+++ b/python-pexpect.spec
@@ -10,13 +10,14 @@ 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: 2
+Release: 3
License: ISC
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/pexpect/
Source0: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
# Source0-md5: 153eb25184249d6a85fde9acf4804085
Patch0: %{name}-use_setuptools.patch
+Patch1: sphinx-api.patch
URL: http://pexpect.readthedocs.io/
%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
BuildRequires: glibc-localedb-all
@@ -95,6 +96,7 @@ Dokumentacja do modułu Pythona pexpect.
%prep
%setup -q -n %{module}-%{version}
%patch0 -p1
+%patch1 -p1
%build
%if %{with python2}
diff --git a/sphinx-api.patch b/sphinx-api.patch
new file mode 100644
index 0000000..4d8e2f2
--- /dev/null
+++ b/sphinx-api.patch
@@ -0,0 +1,11 @@
+--- pexpect-4.8.0/doc/sphinxext/github.py~ 2020-01-17 18:08:15.000000000 +0100
++++ pexpect-4.8.0/doc/sphinxext/github.py 2021-03-02 22:17:28.102562167 +0100
+@@ -146,7 +146,7 @@
+
+ :param app: Sphinx application context.
+ """
+- app.info('Initializing GitHub plugin')
++ #app.info('Initializing GitHub plugin')
+ app.add_role('ghissue', ghissue_role)
+ app.add_role('ghpull', ghissue_role)
+ app.add_role('ghuser', ghuser_role)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pexpect.git/commitdiff/bf331c3eed4fd75873f828857901e0716febf259
More information about the pld-cvs-commit
mailing list