[packages/python-pexpect] - updated to 4.7.0 - removed obsolete tests patch
qboosh
qboosh at pld-linux.org
Sun Sep 22 12:24:56 CEST 2019
commit fc4693715613f3e6490c48e49f59ca89f3359d4d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 22 12:27:59 2019 +0200
- updated to 4.7.0
- removed obsolete tests patch
python-pexpect-tests.patch | 13 -------------
python-pexpect.spec | 8 +++-----
2 files changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/python-pexpect.spec b/python-pexpect.spec
index 6f394b1..a8ee024 100644
--- a/python-pexpect.spec
+++ b/python-pexpect.spec
@@ -9,14 +9,13 @@
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.6.0
-Release: 2
+Version: 4.7.0
+Release: 1
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: d4f3372965a996238d57d19b95d2e03a
-Patch0: %{name}-tests.patch
+# Source0-md5: ed003242cbf308aee1b1eaecdef59e43
URL: http://pexpect.readthedocs.io/
%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
BuildRequires: glibc-localedb-all
@@ -94,7 +93,6 @@ Dokumentacja do modułu Pythona pexpect.
%prep
%setup -q -n %{module}-%{version}
-%patch0 -p1
%build
%if %{with python2}
diff --git a/python-pexpect-tests.patch b/python-pexpect-tests.patch
deleted file mode 100644
index 2d7c772..0000000
--- a/python-pexpect-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Don't include openssl EPIPE complaints in input.
-
---- pexpect-4.6.0/tests/test_expect.py.orig 2018-04-11 21:03:57.000000000 +0200
-+++ pexpect-4.6.0/tests/test_expect.py 2018-08-01 16:18:13.739732629 +0200
-@@ -411,7 +411,7 @@
- def test_before_across_chunks(self):
- # https://github.com/pexpect/pexpect/issues/478
- child = pexpect.spawn(
-- '''/bin/bash -c "openssl rand -base64 {} | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
-+ '''/bin/bash -c "openssl rand -base64 {} 2>/dev/null| head -500 | nl --number-format=rz --number-width=5 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
- searchwindowsize=128
- )
- child.expect(['PATTERN'])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pexpect.git/commitdiff/fc4693715613f3e6490c48e49f59ca89f3359d4d
More information about the pld-cvs-commit
mailing list