summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Xuerui <xen0n@gentoo.org>2023-09-25 19:20:39 +0800
committerWANG Xuerui <xen0n@gentoo.org>2023-09-26 14:32:33 +0800
commit67e030e5a1a470ea41d6a164ce682528982f0a0f (patch)
tree84cc4fd991c9fba285e72015d4dc51fc8b44b492 /dev-util/gyp/gyp-99999999999999.ebuild
parentdev-util/gyp: keyword 20200512145953 for ~loong (diff)
downloadgentoo-67e030e5a1a470ea41d6a164ce682528982f0a0f.tar.gz
gentoo-67e030e5a1a470ea41d6a164ce682528982f0a0f.tar.bz2
gentoo-67e030e5a1a470ea41d6a164ce682528982f0a0f.zip
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>
Diffstat (limited to 'dev-util/gyp/gyp-99999999999999.ebuild')
-rw-r--r--dev-util/gyp/gyp-99999999999999.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/dev-util/gyp/gyp-99999999999999.ebuild b/dev-util/gyp/gyp-99999999999999.ebuild
index 8861e63de779..a45a96d28f83 100644
--- a/dev-util/gyp/gyp-99999999999999.ebuild
+++ b/dev-util/gyp/gyp-99999999999999.ebuild
@@ -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=""