python3Packages.mock: remove funcsigs dependency
This commit is contained in:
parent
1d18c5a0fe
commit
19aa09fbda
@ -1,7 +1,7 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, unittest2
|
, isPy27
|
||||||
, funcsigs
|
, funcsigs
|
||||||
, six
|
, six
|
||||||
, pbr
|
, pbr
|
||||||
@ -17,8 +17,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3";
|
sha256 = "83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unittest2 ];
|
propagatedBuildInputs = [ six pbr ] ++ lib.optionals isPy27 [ funcsigs ];
|
||||||
propagatedBuildInputs = [ funcsigs six pbr ];
|
|
||||||
|
|
||||||
# On PyPy for Python 2.7 in particular, Mock's tests have a known failure.
|
# On PyPy for Python 2.7 in particular, Mock's tests have a known failure.
|
||||||
# Mock upstream has a decoration to disable the failing test and make
|
# Mock upstream has a decoration to disable the failing test and make
|
||||||
@ -30,10 +29,10 @@ buildPythonPackage rec {
|
|||||||
${python.interpreter} -m unittest discover
|
${python.interpreter} -m unittest discover
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Mock objects for Python";
|
description = "Mock objects for Python";
|
||||||
homepage = http://python-mock.sourceforge.net/;
|
homepage = http://python-mock.sourceforge.net/;
|
||||||
license = stdenv.lib.licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user