Merge pull request #34811 from dotlambda/testtools
pythonPackages.testtools: clean up dependencies
This commit is contained in:
commit
03a35ac9c0
@ -4,33 +4,26 @@
|
|||||||
, pbr
|
, pbr
|
||||||
, python_mimeparse
|
, python_mimeparse
|
||||||
, extras
|
, extras
|
||||||
, lxml
|
|
||||||
, unittest2
|
, unittest2
|
||||||
, traceback2
|
, traceback2
|
||||||
, isPy3k
|
, testscenarios
|
||||||
, fixtures
|
|
||||||
, pyrsistent
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "testtools";
|
pname = "testtools";
|
||||||
version = "2.3.0";
|
version = "2.3.0";
|
||||||
|
|
||||||
# Python 2 only judging from SyntaxError
|
|
||||||
# disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559";
|
sha256 = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 pyrsistent ];
|
propagatedBuildInputs = [ pbr python_mimeparse extras unittest2 ];
|
||||||
buildInputs = [ traceback2 ];
|
buildInputs = [ traceback2 ];
|
||||||
|
|
||||||
# No tests in archive
|
# testscenarios has a circular dependency on testtools
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
checkInputs = [ testscenarios ];
|
||||||
|
|
||||||
# testtools 2.0.0 and up has a circular run-time dependency on futures
|
# testtools 2.0.0 and up has a circular run-time dependency on futures
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -42,4 +35,4 @@ buildPythonPackage rec {
|
|||||||
homepage = https://pypi.python.org/pypi/testtools;
|
homepage = https://pypi.python.org/pypi/testtools;
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user