python312Packages.python-neutronclient init at 11.3.1

This commit is contained in:
Valentin Chassignol 2024-07-10 17:51:33 +02:00 committed by Vinetos
parent 735db61d4b
commit 03b19fdb87
No known key found for this signature in database
GPG Key ID: 7F9A3DD5F8A18F8B
2 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1,98 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
# Build and Runtime
pbr,
cliff,
debtcollector,
iso8601,
netaddr,
openstacksdk,
osc-lib,
oslo-i18n,
oslo-log,
oslo-serialization,
oslo-utils,
os-client-config,
keystoneauth1,
python-keystoneclient,
requests,
hacking,
# Tests
fixtures,
oslotest,
osprofiler,
python-openstackclient,
subunit,
requests-mock,
stestr,
testtools,
testscenarios,
tempest,
}:
buildPythonPackage rec {
pname = "python-neutronclient";
version = "11.3.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-U82ZI/Q6OwdypA41YfdGVa3IA4+QJhqz3gW2IR0S7cs=";
};
build-system = [
setuptools
pbr
];
dependencies = [
cliff
debtcollector
iso8601
netaddr
openstacksdk
osc-lib
oslo-i18n
oslo-log
oslo-serialization
oslo-utils
os-client-config
keystoneauth1
python-keystoneclient
requests
];
nativeCheckInputs = [
hacking
fixtures
oslotest
osprofiler
python-openstackclient
subunit
requests-mock
stestr
testtools
testscenarios
tempest
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "neutronclient" ];
meta = with lib; {
description = "Python bindings for the OpenStack Networking API";
homepage = "https://opendev.org/openstack/python-neutronclient/";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}

View File

@ -13019,6 +13019,8 @@ self: super: with self; {
python-mystrom = callPackage ../development/python-modules/python-mystrom { };
python-neutronclient = callPackage ../development/python-modules/python-neutronclient { };
python-nest = callPackage ../development/python-modules/python-nest { };
pythonnet = callPackage ../development/python-modules/pythonnet { };