python310Packages.pastescript: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-01-09 08:47:01 +01:00 committed by GitHub
parent fad243ffd2
commit 6448ff1db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,16 +7,20 @@
, six
, paste
, pastedeploy
, pythonOlder
}:
buildPythonPackage rec {
pname = "pastescript";
version = "3.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PasteScript";
inherit version;
sha256 = "sha256-3eyAGhOsZn4JTt3ij5AhLN6nvcmhjUNxsI9abvfS66I=";
hash = "sha256-3eyAGhOsZn4JTt3ij5AhLN6nvcmhjUNxsI9abvfS66I=";
};
propagatedBuildInputs = [
@ -27,9 +31,15 @@ buildPythonPackage rec {
# test suite seems to unset PYTHONPATH
doCheck = false;
checkInputs = [ nose pytestCheckHook ];
pythonNamespaces = [ "paste" ];
checkInputs = [
nose
pytestCheckHook
];
pythonNamespaces = [
"paste"
];
disabledTestPaths = [
"appsetup/testfiles"