app-portage/layman: fix live ebuild

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-10-01 01:58:52 +01:00
parent f5374dba40
commit 0dbd3d973f
2 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -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