mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/layman: fix live ebuild
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user