python: testtools: 1.9.0 -> 2.3.0
This commit is contained in:
parent
085f545306
commit
b368eb2666
@ -12,19 +12,18 @@
|
|||||||
, pyrsistent
|
, pyrsistent
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# testtools 2.0.0 and up has a circular run-time dependency on futures
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "testtools";
|
pname = "testtools";
|
||||||
version = "1.9.0";
|
version = "2.3.0";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
# Python 2 only judging from SyntaxError
|
# Python 2 only judging from SyntaxError
|
||||||
# disabled = isPy3k;
|
# disabled = isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b46eec2ad3da6e83d53f2b0eca9a8debb687b4f71343a074f83a16bbdb3c0644";
|
sha256 = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 pyrsistent ];
|
propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 pyrsistent ];
|
||||||
@ -33,6 +32,11 @@ buildPythonPackage rec {
|
|||||||
# No tests in archive
|
# No tests in archive
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# testtools 2.0.0 and up has a circular run-time dependency on futures
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt --replace "fixtures>=1.3.0" ""
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A set of extensions to the Python standard library's unit testing framework";
|
description = "A set of extensions to the Python standard library's unit testing framework";
|
||||||
homepage = https://pypi.python.org/pypi/testtools;
|
homepage = https://pypi.python.org/pypi/testtools;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user