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