python312Packages.python-octaviaclient: 3.8.0 -> 3.9.0
This commit is contained in:
@@ -7,8 +7,10 @@
|
||||
fetchPypi,
|
||||
hacking,
|
||||
keystoneauth1,
|
||||
makePythonPath,
|
||||
openstackclient,
|
||||
openstackdocstheme,
|
||||
installer,
|
||||
osc-lib,
|
||||
oslotest,
|
||||
oslo-serialization,
|
||||
@@ -28,14 +30,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-octaviaclient";
|
||||
version = "3.8.0";
|
||||
version = "3.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wrYhCY3gqcklSK8lapsgFq25Yi3awEGgarW2a7W1kO4=";
|
||||
hash = "sha256-cXReOIfgC5Fx5gT0vF/pV7QwEuC2YfnW4OE+m7nqr20=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# somehow python-neutronclient cannot be found despite it being supplied
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-fail "python-neutronclient>=6.7.0" ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
pbr
|
||||
@@ -58,6 +66,11 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
# TODO: I have really no idea why installer is missing...
|
||||
export PYTHONPATH=$PYTHONPATH:${makePythonPath [ installer ]}
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
hacking
|
||||
requests-mock
|
||||
@@ -73,6 +86,9 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
# TODO: no idea why PYTHONPATH is broken here
|
||||
export PYTHONPATH=$PYTHONPATH:${makePythonPath nativeCheckInputs}
|
||||
|
||||
stestr run
|
||||
|
||||
runHook postCheck
|
||||
@@ -82,7 +98,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenStack Octavia Command-line Client";
|
||||
homepage = "https://opendev.org/openstack/python-octaviaclient/";
|
||||
homepage = "https://github.com/openstack/python-octaviaclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user