]> git.pld-linux.org Git - packages/python-pyfakefs.git/commitdiff
- up to 3.4.3 auto/th/python-pyfakefs-3.4.3-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jul 2018 16:43:33 +0000 (18:43 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jul 2018 16:43:33 +0000 (18:43 +0200)
python-pyfakefs-tests.patch
python-pyfakefs.spec

index 8038efadf112568a00f0d9a7619c4706361495af..cfde15a736a2ef19f46fd38c8067a383646c9562 100644 (file)
@@ -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):
index 8f9df2394a3b4c3abebf54ce98b1dcc89c42982a..96e2636e0ad7aaa2896ce9819dbb3c3a320a1974 100644 (file)
@@ -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
 
This page took 0.109314 seconds and 4 git commands to generate.