python311Packages.python-openstackclient: use sphinxHook

This commit is contained in:
Anthony ROUSSEL
2024-07-27 21:16:01 +02:00
parent 91f804f53f
commit 65d7a89e60
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchPypi,
ddt,
installShellFiles,
openstackdocstheme,
osc-lib,
pbr,
@@ -11,7 +10,7 @@
python-keystoneclient,
python-novaclient,
requests-mock,
sphinx,
sphinxHook,
sphinxcontrib-apidoc,
stestr,
}:
@@ -27,12 +26,13 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
installShellFiles
openstackdocstheme
sphinx
sphinxHook
sphinxcontrib-apidoc
];
sphinxBuilders = [ "man" ];
propagatedBuildInputs = [
osc-lib
pbr
@@ -41,11 +41,6 @@ buildPythonPackage rec {
python-novaclient
];
postInstall = ''
sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man
installManPage doc/build/man/openstack.1
'';
nativeCheckInputs = [
ddt
stestr