python3Packages.pastescript: disable tests suite, doesn't respect PYTHONPATH

This commit is contained in:
Jonathan Ringer 2021-11-29 15:49:33 -08:00
parent 15159db026
commit 19142373db
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -2,6 +2,8 @@
, buildPythonPackage
, fetchPypi
, nose
, python
, pytestCheckHook
, six
, paste
, pastedeploy
@ -23,10 +25,22 @@ buildPythonPackage rec {
six
];
checkInputs = [ nose ];
# test suite seems to unset PYTHONPATH
doCheck = false;
checkInputs = [ nose pytestCheckHook ];
pythonNamespaces = [ "paste" ];
disabledTestPaths = [
"appsetup/testfiles"
];
pythonImportsCheck = [
"paste.script"
"paste.deploy"
"paste.util"
];
meta = with lib; {
description = "A pluggable command-line frontend, including commands to setup package file layouts";
homepage = "https://github.com/cdent/pastescript/";