summary refs log tree commit diff
path: root/pkgs/development/python-modules/zope_testrunner
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-05 17:58:16 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-05 17:58:16 -0500
commit43d5c5d6db3ce33f3cf1d17ba43c7374257466ec (patch)
tree3d24a5c3adc8f42ee14084889f2d9a9acaef5ef1 /pkgs/development/python-modules/zope_testrunner
parent992bd2f6d34b2f560fc17df6fa3708fcade1abac (diff)
parent703a9f93c1254f7bdf0350ca0462de0d78033c62 (diff)
downloadnixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar.gz
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar.bz2
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar.lz
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar.xz
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.tar.zst
nixlib-43d5c5d6db3ce33f3cf1d17ba43c7374257466ec.zip
Merge commit '703a9f93c1254f7bdf0350ca0462de0d78033c62' into gcc-simplify-flags
Diffstat (limited to 'pkgs/development/python-modules/zope_testrunner')
-rw-r--r--pkgs/development/python-modules/zope_testrunner/default.nix10
-rw-r--r--pkgs/development/python-modules/zope_testrunner/test-selection.patch5
2 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/zope_testrunner/default.nix b/pkgs/development/python-modules/zope_testrunner/default.nix
index 8358c861cba3..e2bf3a569d04 100644
--- a/pkgs/development/python-modules/zope_testrunner/default.nix
+++ b/pkgs/development/python-modules/zope_testrunner/default.nix
@@ -1,7 +1,7 @@
 { stdenv
 , buildPythonPackage
 , fetchPypi
-, isPy3k
+, fetchpatch
 , zope_interface
 , zope_exceptions
 , zope_testing
@@ -11,15 +11,15 @@
 
 buildPythonPackage rec {
   pname = "zope.testrunner";
-  version = "4.7.0";
-  name = "${pname}-${version}";
+  version = "4.8.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "8ffcb4989829544a83d27e42b2eeb28f8fc134bd847d71ce8dca54f710526ef0";
-    extension = "zip";
+    sha256 = "039z9q5i1r6fqzlm224nmaxn896k4a9sb1237dv406ncdldd7jaz";
   };
 
+  patches = [ ./test-selection.patch ];
+
   propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
 
   meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/zope_testrunner/test-selection.patch b/pkgs/development/python-modules/zope_testrunner/test-selection.patch
new file mode 100644
index 000000000000..89dd7773885c
--- /dev/null
+++ b/pkgs/development/python-modules/zope_testrunner/test-selection.patch
@@ -0,0 +1,5 @@
+--- a/src/zope/testrunner/tests/testrunner-test-selection.txt
++++ b/src/zope/testrunner/tests/testrunner-test-selection.txt
+@@ -235 +235 @@ and by test within the module using the --test (-t) option:
+-    >>> sys.argv = 'test -u  -vv -ssample1 -m_one -mtest1 -tx0 -ty0'.split()
++    >>> sys.argv = 'test -u  -vv -ssample1 -m_one -mtest1 -t_x0 -t_y0'.split()