commit:     aa1fd6bff3b702e7774d2e18aa66dc430087b062
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 19 19:39:17 2020 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 19 19:40:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1fd6bf

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 <AT> gentoo.org>

 app-portage/layman/layman-9999.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/app-portage/layman/layman-9999.ebuild 
b/app-portage/layman/layman-9999.ebuild
index e8ba2aeb516..b9c60ed0d3d 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
 

Reply via email to