python311Packages.python-manilaclient: use sphinxHook

This commit is contained in:
Anthony ROUSSEL
2024-07-27 20:57:18 +02:00
parent e0f2264c14
commit 91f804f53f
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
installShellFiles,
pbr,
openstackdocstheme,
oslo-config,
@@ -12,7 +11,7 @@
prettytable,
requests,
simplejson,
sphinx,
sphinxHook,
sphinxcontrib-programoutput,
babel,
osc-lib,
@@ -32,12 +31,13 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
installShellFiles
openstackdocstheme
sphinx
sphinxHook
sphinxcontrib-programoutput
];
sphinxBuilders = [ "man" ];
propagatedBuildInputs = [
pbr
oslo-config
@@ -53,12 +53,6 @@ buildPythonPackage rec {
debtcollector
];
postInstall = ''
export PATH=$out/bin:$PATH
sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man
installManPage doc/build/man/python-manilaclient.1
'';
# Checks moved to 'passthru.tests' to workaround infinite recursion
doCheck = false;