Merge pull request #330858 from lavafroth/python3Packages.paver/nose

python3Packages.paver/nose: remove nose and modernize
This commit is contained in:
Florian 2024-08-06 08:31:43 +02:00 committed by GitHub
commit aeb0b00904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
cogapp,
fetchPypi,
mock,
nose,
setuptools,
pytestCheckHook,
pythonOlder,
six,
@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "paver";
version = "1.3.4";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,12 +24,13 @@ buildPythonPackage rec {
hash = "sha256-0+ZJiIFIWrdQ7+QMUniYKpNDvGJ+E3sRrc7WJ3GTCMc=";
};
propagatedBuildInputs = [ six ];
build-system = [ setuptools ];
dependencies = [ six ];
checkInputs = [
cogapp
mock
nose
pytestCheckHook
virtualenv
];
@ -37,15 +38,17 @@ buildPythonPackage rec {
pythonImportsCheck = [ "paver" ];
disabledTestPaths = [
# Test depends on distutils
# Tests depend on distutils
"paver/tests/test_setuputils.py"
"paver/tests/test_doctools.py"
"paver/tests/test_tasks.py"
];
meta = with lib; {
meta = {
description = "Python-based build/distribution/deployment scripting tool";
mainProgram = "paver";
homepage = "https://github.com/paver/paver";
license = licenses.bsd3;
maintainers = with maintainers; [ lovek323 ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ lovek323 ];
};
}