python3Packages.pytest-astropy: modernize (#462005)
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
attrs,
|
|
||||||
hypothesis,
|
hypothesis,
|
||||||
pytest,
|
pytest,
|
||||||
pytest-arraydiff,
|
pytest-arraydiff,
|
||||||
@@ -14,7 +13,6 @@
|
|||||||
pytest-remotedata,
|
pytest-remotedata,
|
||||||
setuptools,
|
setuptools,
|
||||||
setuptools-scm,
|
setuptools-scm,
|
||||||
pythonOlder,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -22,22 +20,19 @@ buildPythonPackage rec {
|
|||||||
version = "0.11.0";
|
version = "0.11.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-Tq6qme2RFj7Y+arBMscKgfJbxMEvPNVNujKfwmxnObU=";
|
hash = "sha256-Tq6qme2RFj7Y+arBMscKgfJbxMEvPNVNujKfwmxnObU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
attrs
|
|
||||||
hypothesis
|
hypothesis
|
||||||
pytest-arraydiff
|
pytest-arraydiff
|
||||||
pytest-astropy-header
|
pytest-astropy-header
|
||||||
@@ -51,10 +46,11 @@ buildPythonPackage rec {
|
|||||||
# pytest-astropy is a meta package that only propagates requirements
|
# pytest-astropy is a meta package that only propagates requirements
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
|
changelog = "https://github.com/astropy/pytest-astropy/releases/tag/v${version}";
|
||||||
description = "Meta-package containing dependencies for testing";
|
description = "Meta-package containing dependencies for testing";
|
||||||
homepage = "https://astropy.org";
|
homepage = "https://github.com/astropy/pytest-astropy";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user