mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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] 666b71ecbf
This commit is contained in:
parent
550cdb511e
commit
7df6853920
@ -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; {
|
||||
|
@ -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()
|
Loading…
Reference in New Issue
Block a user