python313Packages.netutils: 1.13.0 -> 1.14.1 (#433580)

This commit is contained in:
Fabian Affolter 2025-08-14 20:46:19 +02:00 committed by GitHub
commit 05e2f87485
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 8 deletions

View File

@ -5,21 +5,24 @@
napalm,
netmiko,
pip,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
standard-telnetlib,
}:
buildPythonPackage rec {
pname = "napalm-hp-procurve";
version = "0.7.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "napalm-automation-community";
repo = "napalm-hp-procurve";
rev = "refs/tags/${version}";
tag = version;
hash = "sha256-cO4kxI90krj1knzixRKWxa77OAaxjO8dLTy02VpkV9M=";
};
@ -27,16 +30,25 @@ buildPythonPackage rec {
# Dependency installation in setup.py doesn't work
echo -n > requirements.txt
substituteInPlace setup.cfg \
--replace "--cov=napalm_procurve --cov-report term-missing -vs --pylama" ""
--replace " --pylama" ""
'';
nativeBuildInputs = [ pip ];
build-system = [
setuptools
pip
];
buildInputs = [ napalm ];
propagatedBuildInputs = [ netmiko ];
dependencies = [
netmiko
standard-telnetlib
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
disabledTests = [
# AssertionError: Some methods vary.
@ -53,6 +65,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "HP ProCurve Driver for NAPALM automation frontend";
homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve";
changelog = "https://github.com/napalm-automation-community/napalm-hp-procurve/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = [ ];
};

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "netutils";
version = "1.13.0";
version = "1.14.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "networktocode";
repo = "netutils";
tag = "v${version}";
hash = "sha256-lUtxTzL3nkdICvTKozdnyx1wtwE4xwY7mcUqv3Wgw3Y=";
hash = "sha256-w+31rv/0EgAT8gv/Oqlbq/djbHIgK3YF792sxBDXHEQ=";
};
build-system = [ poetry-core ];