]> git.pld-linux.org Git - packages/python-pexpect.git/commitdiff
- remove incorrect and useless sphinx call auto/th/python-pexpect-4.8.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Mar 2021 21:19:09 +0000 (22:19 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Mar 2021 21:19:09 +0000 (22:19 +0100)
- rel 3

python-pexpect.spec
sphinx-api.patch [new file with mode: 0644]

index 54859b7b14c77682dc3236027b3a80ddacccbd72..b4e69f703913ba8a92ba44973af9a4e6b3936f36 100644 (file)
@@ -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 (file)
index 0000000..4d8e2f2
--- /dev/null
@@ -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)
This page took 0.141796 seconds and 4 git commands to generate.