summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2020-07-19 12:39:17 -0700
committerBrian Dolbec <dolsen@gentoo.org>2020-07-19 12:40:04 -0700
commitaa1fd6bff3b702e7774d2e18aa66dc430087b062 (patch)
treef7e7d416453d1df62cff5332e840593b5413fcfa /app-portage
parentmedia-libs/pymemphis: Remove last-rited package (diff)
downloadgentoo-aa1fd6bff3b702e7774d2e18aa66dc430087b062.tar.gz
gentoo-aa1fd6bff3b702e7774d2e18aa66dc430087b062.tar.bz2
gentoo-aa1fd6bff3b702e7774d2e18aa66dc430087b062.zip
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>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/layman/layman-9999.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild
index e8ba2aeb5168..b9c60ed0d3d4 100644
--- a/app-portage/layman/layman-9999.ebuild
+++ b/app-portage/layman/layman-9999.ebuild
@@ -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