app-portage/layman: Fix missing man page for 9999 version bug 732546

Man page generation was only required for teh live ebuild.
During the EAPI-7 update, making adding version dependant code.
The python_compile_all() was removed instead of man page generation being
made version dependant.

closes: https://bugs.gentoo.org/732546
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
This commit is contained in:
Brian Dolbec
2020-07-19 12:39:17 -07:00
parent 906e24a221
commit aa1fd6bff3

View File

@@ -68,6 +68,15 @@ python_test() {
unset suite
}
python_compile_all() {
default_python_compile_all
# Generate man page. only required for 9999
if [[ ${PV} == *9999 ]] ; then
# override MAKEOPTS to prevent build failure
emake -j1 -C doc
fi
}
python_install_all() {
distutils-r1_python_install_all