public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "WANG Xuerui" <xen0n@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gyp/
Date: Tue, 26 Sep 2023 06:33:25 +0000 (UTC)	[thread overview]
Message-ID: <1695709953.67e030e5a1a470ea41d6a164ce682528982f0a0f.xen0n@gentoo> (raw)

commit:     67e030e5a1a470ea41d6a164ce682528982f0a0f
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 11:20:39 2023 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 06:32:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e030e5

dev-util/gyp: simplify code wrt live ebuild logic

And sync with the live ebuild while at it.

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 12 ++++--------
 dev-util/gyp/gyp-99999999999999.ebuild | 12 ++++--------
 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=""


             reply	other threads:[~2023-09-26  6:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26  6:33 WANG Xuerui [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-26  6:33 [gentoo-commits] repo/gentoo:master commit in: dev-util/gyp/ WANG Xuerui
2023-05-01  8:34 Sam James
2023-01-25  6:10 Sam James
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2020-10-20 20:35 Mike Gilbert
2020-09-21 16:05 Mike Gilbert
2020-09-21 16:05 Mike Gilbert
2020-09-21 16:05 Mike Gilbert
2020-09-21 16:05 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-01-01 22:10 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2018-03-15 19:23 Sergei Trofimovich
2018-03-08 19:33 Mike Gilbert
2017-09-28 17:18 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1695709953.67e030e5a1a470ea41d6a164ce682528982f0a0f.xen0n@gentoo \
    --to=xen0n@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox