git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.zope_testrunner: 4.7.0 -> 4.8.1

Upstream patch [1] does not apply because the file extension is different since [2]. [1] https://github.com/zopefoundation/zope.testrunner/pull/66 [2] https://github.com/zopefoundation/zope.testrunner/commit/666b71ecbf3f07ac2e90ecd804e3c7ad6d8ed828

commit7df685392078deac1c1ba67242b7b931bc2f00ae authorOrivej Desh <orivej@gmx.fr> dateTue 28 Nov 2017, 01:54 (9 years ago) parent550cdb5
2 files changed+10−5
pkgs/development/python-modules/zope_testrunner/default.nix+5−5 pkgs/development/python-modules/zope_testrunner/test-selection.patch+5
pkgs/development/python-modules/zope_testrunner/default.nix+5−5
@@ -1,7 +1,7 @@
11{ stdenv
22, buildPythonPackage
33, fetchPypi
4−, isPy3k
4+, fetchpatch
55, zope_interface
66, zope_exceptions
77, zope_testing
@@ -11,15 +11,15 @@
1111
1212buildPythonPackage rec {
1313 pname = "zope.testrunner";
14− version = "4.7.0";
15− name = "${pname}-${version}";
14+ version = "4.8.1";
1615
1716 src = fetchPypi {
1817 inherit pname version;
19− sha256 = "8ffcb4989829544a83d27e42b2eeb28f8fc134bd847d71ce8dca54f710526ef0";
20− extension = "zip";
18+ sha256 = "039z9q5i1r6fqzlm224nmaxn896k4a9sb1237dv406ncdldd7jaz";
2119 };
2220
21+ patches = [ ./test-selection.patch ];
22+
2323 propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
2424
2525 meta = with stdenv.lib; {
pkgs/development/python-modules/zope_testrunner/test-selection.patchnew file+5
@@ -0,0 +1,5 @@
1+--- a/src/zope/testrunner/tests/testrunner-test-selection.txt
2++++ b/src/zope/testrunner/tests/testrunner-test-selection.txt
3+@@ -235 +235 @@ and by test within the module using the --test (-t) option:
4+- >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -tx0 -ty0'.split()
5++ >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -t_x0 -t_y0'.split()