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
%prep
%setup -q -n %{module}-%{version}
%patch0 -p1
+%patch1 -p1
%build
%if %{with python2}
--- /dev/null
+--- 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)