[packages/python-pyfakefs] - up to 3.4.3

arekm arekm at pld-linux.org
Tue Jul 3 18:43:40 CEST 2018


commit 08eb53220256680dce3c6c5ad3c3a76d0b1a9124
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 3 18:43:33 2018 +0200

    - up to 3.4.3

 python-pyfakefs-tests.patch |  4 ++--
 python-pyfakefs.spec        | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/python-pyfakefs.spec b/python-pyfakefs.spec
index 8f9df23..96e2636 100644
--- a/python-pyfakefs.spec
+++ b/python-pyfakefs.spec
@@ -8,13 +8,13 @@
 Summary:	Fake file system that mocks the Python 2 file system modules
 Summary(pl.UTF-8):	Fałszywy system plików będący atrapą modułów systemowych Pythona 2 dla plików
 Name:		python-pyfakefs
-Version:	3.4.1
-Release:	2
+Version:	3.4.3
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://github.com/jmcgeheeiv/pyfakefs/releases
 Source0:	https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}/pyfakefs-%{version}.tar.gz
-# Source0-md5:	bfd4362f7942333ce2666f9f0110e584
+# Source0-md5:	8044a683bc025c0e2b2594b7d8de1083
 Patch0:		%{name}-tests.patch
 URL:		http://pyfakefs.org/
 BuildRequires:	rpm-pythonprov
@@ -88,9 +88,9 @@ export LC_ALL=C.UTF-8
 %py_build
 
 %if %{with tests}
-%{__python} -m tests.all_tests
+%{__python} -m pyfakefs.tests.all_tests
 PYTHONPATH=$(pwd)/build-2/lib PYTEST_PLUGINS=pyfakefs.pytest_plugin \
-py.test-2 tests/pytest_plugin_test.py
+py.test-2 build-2/lib/pyfakefs/tests/pytest_plugin_test.py
 %endif
 %endif
 
@@ -98,9 +98,9 @@ py.test-2 tests/pytest_plugin_test.py
 %py3_build
 
 %if %{with tests}
-%{__python3} -m tests.all_tests
+%{__python3} -m pyfakefs.tests.all_tests
 PYTHONPATH=$(pwd)/build-3/lib PYTEST_PLUGINS=pyfakefs.pytest_plugin \
-py.test-3 tests/pytest_plugin_test.py
+py.test-3 build-3/lib/pyfakefs/tests/pytest_plugin_test.py
 %endif
 %endif
 
diff --git a/python-pyfakefs-tests.patch b/python-pyfakefs-tests.patch
index 8038efa..cfde15a 100644
--- a/python-pyfakefs-tests.patch
+++ b/python-pyfakefs-tests.patch
@@ -1,5 +1,5 @@
---- pyfakefs-3.4.1/tests/fake_os_test.py.orig	2018-03-18 08:35:26.000000000 +0100
-+++ pyfakefs-3.4.1/tests/fake_os_test.py	2018-05-19 21:06:12.791205352 +0200
+--- pyfakefs-3.4.1/pyfakefs/tests/fake_os_test.py.orig	2018-03-18 08:35:26.000000000 +0100
++++ pyfakefs-3.4.1/pyfakefs/tests/fake_os_test.py	2018-05-19 21:06:12.791205352 +0200
 @@ -964,7 +964,7 @@
  
      def test_append_mode_tell_linux_windows(self):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyfakefs.git/commitdiff/08eb53220256680dce3c6c5ad3c3a76d0b1a9124



More information about the pld-cvs-commit mailing list