python3Packages.pytest-doctestplus: unbreak
This commit is contained in:
parent
39a51c9923
commit
928d3fc2fb
@ -4,7 +4,9 @@
|
|||||||
, isPy27
|
, isPy27
|
||||||
, six
|
, six
|
||||||
, pytest
|
, pytest
|
||||||
|
, pytestCheckHook
|
||||||
, numpy
|
, numpy
|
||||||
|
, setuptools_scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,7 +19,12 @@ buildPythonPackage rec {
|
|||||||
sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a";
|
sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
nativeBuildInputs = [
|
||||||
|
setuptools_scm
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
six
|
six
|
||||||
@ -25,14 +32,9 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# check_distribution incorrectly pulls pytest version
|
|
||||||
checkPhase = ''
|
|
||||||
pytest -k 'not check_distribution'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Pytest plugin with advanced doctest features";
|
description = "Pytest plugin with advanced doctest features";
|
||||||
homepage = "https://astropy.org";
|
homepage = "https://astropy.org";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user