python27Packages.parsel: fix dependencies
This commit is contained in:
parent
38cb787e6d
commit
6e8456ef71
@ -8,6 +8,7 @@
|
|||||||
, w3lib
|
, w3lib
|
||||||
, lxml
|
, lxml
|
||||||
, cssselect
|
, cssselect
|
||||||
|
, isPy27
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner ];
|
checkInputs = [ pytest pytestrunner ];
|
||||||
propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ];
|
propagatedBuildInputs = [ six w3lib lxml cssselect ] ++ lib.optionals isPy27 [ functools32 ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
|
Loading…
Reference in New Issue
Block a user