2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
debtcollector,
|
|
|
|
fetchFromGitea,
|
|
|
|
jsonschema,
|
|
|
|
keystoneauth1,
|
2024-07-31 10:19:44 +00:00
|
|
|
openstackdocstheme,
|
2024-07-27 06:49:29 +00:00
|
|
|
osc-lib,
|
|
|
|
oslo-serialization,
|
|
|
|
oslo-utils,
|
|
|
|
oslotest,
|
|
|
|
pbr,
|
|
|
|
pythonOlder,
|
|
|
|
requests-mock,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
2024-07-31 10:19:44 +00:00
|
|
|
sphinxHook,
|
|
|
|
sphinxcontrib-apidoc,
|
2024-07-27 06:49:29 +00:00
|
|
|
stestr,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-designateclient";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "6.1.0";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "opendev.org";
|
|
|
|
owner = "openstack";
|
|
|
|
repo = "python-designateclient";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-MwcpRQXH8EjWv41iHxorbFL9EpYu8qOLkDeUx6inEAU=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
env.PBR_VERSION = version;
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
nativeBuildInputs = [
|
2024-07-31 10:19:44 +00:00
|
|
|
openstackdocstheme
|
|
|
|
sphinxHook
|
|
|
|
sphinxcontrib-apidoc
|
2024-07-27 06:49:29 +00:00
|
|
|
];
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
sphinxBuilders = [ "man" ];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [
|
|
|
|
pbr
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [
|
|
|
|
debtcollector
|
|
|
|
jsonschema
|
|
|
|
keystoneauth1
|
|
|
|
osc-lib
|
|
|
|
oslo-serialization
|
|
|
|
oslo-utils
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|