python3Packages.leather: fix build
Broken in 2f4ea0c6df
.
Upstream changed from nose to pytest. Previously, the
setuptoolsCheckHook would run and execute the `./test.py` file, but that
is not part of upstream’s build process and doesn’t work. Including
pytestCheckHook means that does not run—just pytest.
This commit is contained in:
parent
e1ad98971a
commit
956cf5f612
|
@ -4,7 +4,7 @@
|
||||||
, six
|
, six
|
||||||
, cssselect
|
, cssselect
|
||||||
, lxml
|
, lxml
|
||||||
, nose
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -22,15 +22,9 @@ buildPythonPackage rec {
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
cssselect
|
cssselect
|
||||||
lxml
|
lxml
|
||||||
nose
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
runHook preCheck
|
|
||||||
nosetests
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://leather.rtfd.io";
|
homepage = "http://leather.rtfd.io";
|
||||||
description = "Python charting library";
|
description = "Python charting library";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user