python310Packages.pastescript: disable on unsupported Python releases
This commit is contained in:
parent
fad243ffd2
commit
6448ff1db2
|
@ -7,16 +7,20 @@
|
||||||
, six
|
, six
|
||||||
, paste
|
, paste
|
||||||
, pastedeploy
|
, pastedeploy
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pastescript";
|
pname = "pastescript";
|
||||||
version = "3.3.0";
|
version = "3.3.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "PasteScript";
|
pname = "PasteScript";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-3eyAGhOsZn4JTt3ij5AhLN6nvcmhjUNxsI9abvfS66I=";
|
hash = "sha256-3eyAGhOsZn4JTt3ij5AhLN6nvcmhjUNxsI9abvfS66I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -27,9 +31,15 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# test suite seems to unset PYTHONPATH
|
# test suite seems to unset PYTHONPATH
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkInputs = [ nose pytestCheckHook ];
|
|
||||||
|
|
||||||
pythonNamespaces = [ "paste" ];
|
checkInputs = [
|
||||||
|
nose
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonNamespaces = [
|
||||||
|
"paste"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
"appsetup/testfiles"
|
"appsetup/testfiles"
|
||||||
|
|
Loading…
Reference in a new issue