python311Packages.python-zaqarclient: init at 2.7.0
https://opendev.org/openstack/python-zaqarclient https://docs.openstack.org/python-zaqarclient/latest/
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
python-mistralclient,
|
||||
python-neutronclient,
|
||||
python-openstackclient,
|
||||
python-zaqarclient,
|
||||
requests-mock,
|
||||
requests,
|
||||
setuptools,
|
||||
@@ -79,6 +80,7 @@ buildPythonPackage rec {
|
||||
python-manilaclient
|
||||
python-mistralclient
|
||||
python-neutronclient
|
||||
python-zaqarclient
|
||||
];
|
||||
};
|
||||
tests.version = testers.testVersion {
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
ddt,
|
||||
fetchFromGitHub,
|
||||
jsonschema,
|
||||
keystoneauth1,
|
||||
openstackdocstheme,
|
||||
osc-lib,
|
||||
oslo-i18n,
|
||||
oslo-log,
|
||||
oslo-utils,
|
||||
pbr,
|
||||
pythonOlder,
|
||||
requests-mock,
|
||||
requests,
|
||||
setuptools,
|
||||
sphinxHook,
|
||||
stestr,
|
||||
stevedore,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-zaqarclient";
|
||||
version = "2.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstack";
|
||||
repo = "python-zaqarclient";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-WphTlqhrwxg5g88NH1W4b3uLAxLImnS34hDrlJjWeEU=";
|
||||
};
|
||||
|
||||
env.PBR_VERSION = version;
|
||||
|
||||
build-system = [
|
||||
pbr
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
openstackdocstheme
|
||||
sphinxHook
|
||||
];
|
||||
|
||||
sphinxBuilders = [ "man" ];
|
||||
|
||||
dependencies = [
|
||||
jsonschema
|
||||
keystoneauth1
|
||||
osc-lib
|
||||
oslo-i18n
|
||||
oslo-log
|
||||
oslo-utils
|
||||
requests
|
||||
stevedore
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
ddt
|
||||
requests-mock
|
||||
stestr
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
stestr run
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "zaqarclient" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://opendev.org/openstack/python-zaqarclient";
|
||||
description = "Client library for OpenStack Zaqar API";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = lib.teams.openstack.members;
|
||||
};
|
||||
}
|
||||
@@ -12856,6 +12856,8 @@ self: super: with self; {
|
||||
|
||||
python-xz = callPackage ../development/python-modules/python-xz { };
|
||||
|
||||
python-zaqarclient = callPackage ../development/python-modules/python-zaqarclient { };
|
||||
|
||||
python-zbar = callPackage ../development/python-modules/python-zbar { };
|
||||
|
||||
pythran = callPackage ../development/python-modules/pythran {
|
||||
|
||||
Reference in New Issue
Block a user