python311Packages.python-openstackclient: use sphinxHook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user