python311Packages.python-designateclient: init at 6.0.1 (#328506)
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
debtcollector,
|
||||
fetchFromGitea,
|
||||
jsonschema,
|
||||
keystoneauth1,
|
||||
osc-lib,
|
||||
oslo-serialization,
|
||||
oslo-utils,
|
||||
oslotest,
|
||||
pbr,
|
||||
pythonOlder,
|
||||
requests-mock,
|
||||
requests,
|
||||
setuptools,
|
||||
stestr,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-designateclient";
|
||||
version = "6.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "opendev.org";
|
||||
owner = "openstack";
|
||||
repo = "python-designateclient";
|
||||
rev = version;
|
||||
hash = "sha256-vuaouOA69REx+ZrzXjLGVz5Az1/d6x4WRT1h78xeebk=";
|
||||
};
|
||||
|
||||
env.PBR_VERSION = version;
|
||||
|
||||
build-system = [
|
||||
pbr
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
debtcollector
|
||||
jsonschema
|
||||
keystoneauth1
|
||||
osc-lib
|
||||
oslo-serialization
|
||||
oslo-utils
|
||||
requests
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
oslotest
|
||||
requests-mock
|
||||
stestr
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
stestr run
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "designateclient" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://opendev.org/openstack/python-designateclient";
|
||||
description = "Client library for OpenStack Designate API";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = lib.teams.openstack.members;
|
||||
};
|
||||
}
|
||||
@@ -12646,6 +12646,8 @@ self: super: with self; {
|
||||
|
||||
python-decouple = callPackage ../development/python-modules/python-decouple { };
|
||||
|
||||
python-designateclient = callPackage ../development/python-modules/python-designateclient { };
|
||||
|
||||
pythondialog = callPackage ../development/python-modules/pythondialog { };
|
||||
|
||||
python-didl-lite = callPackage ../development/python-modules/python-didl-lite { };
|
||||
|
||||
Reference in New Issue
Block a user