mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-util/gyp: simplify code wrt live ebuild logic
And sync with the live ebuild while at it. Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
This commit is contained in:
@@ -7,23 +7,19 @@ DISTUTILS_SINGLE_IMPL="1"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GYP (Generate Your Projects) meta-build system"
|
||||
HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp"
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND=""
|
||||
|
||||
@@ -7,23 +7,19 @@ DISTUTILS_SINGLE_IMPL="1"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GYP (Generate Your Projects) meta-build system"
|
||||
HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp"
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
BDEPEND=""
|
||||
|
||||
Reference in New Issue
Block a user