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
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>
-rw-r--r--dev-util/gyp/gyp-20200512145953.ebuild12
-rw-r--r--dev-util/gyp/gyp-99999999999999.ebuild12
2 files changed, 8 insertions, 16 deletions
diff --git a/dev-util/gyp/gyp-20200512145953.ebuild b/dev-util/gyp/gyp-20200512145953.ebuild
index 43b5a4a623a0..c075371e9081 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.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="amd64 ~arm64 ~loong ~ppc64 x86"
IUSE=""
BDEPEND=""
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=""