commit: 0dbd3d973fc4cece0b1f09281a428b1ddf41e643 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Oct 1 00:58:52 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Oct 1 00:58:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbd3d97
app-portage/layman: fix live ebuild Signed-off-by: Sam James <sam <AT> gentoo.org> app-portage/layman/layman-2.4.3.ebuild | 10 +++++++++- app-portage/layman/layman-9999.ebuild | 3 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app-portage/layman/layman-2.4.3.ebuild b/app-portage/layman/layman-2.4.3.ebuild index 298dc099aaf9..8b62b7cd4223 100644 --- a/app-portage/layman/layman-2.4.3.ebuild +++ b/app-portage/layman/layman-2.4.3.ebuild @@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 linux-info prefix if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/layman.git" inherit git-r3 else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -68,6 +68,14 @@ python_test() { unset suite } +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 diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild index 0f5addf3ecee..598324e7d35c 100644 --- a/app-portage/layman/layman-9999.ebuild +++ b/app-portage/layman/layman-9999.ebuild @@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 linux-info prefix if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/layman.git" inherit git-r3 else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -69,7 +69,6 @@ python_test() { } python_compile_all() { - default_python_compile_all # Generate man page. only required for 9999 if [[ ${PV} == *9999 ]] ; then # override MAKEOPTS to prevent build failure