From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0250F158089 for ; Tue, 26 Sep 2023 06:33:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 466B72BC020; Tue, 26 Sep 2023 06:33:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B1BD2BC020 for ; Tue, 26 Sep 2023 06:33:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14558335CEE for ; Tue, 26 Sep 2023 06:33:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A21BE1261 for ; Tue, 26 Sep 2023 06:33:25 +0000 (UTC) From: "WANG Xuerui" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "WANG Xuerui" Message-ID: <1695709953.67e030e5a1a470ea41d6a164ce682528982f0a0f.xen0n@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gyp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/gyp/gyp-20200512145953.ebuild dev-util/gyp/gyp-99999999999999.ebuild X-VCS-Directories: dev-util/gyp/ X-VCS-Committer: xen0n X-VCS-Committer-Name: WANG Xuerui X-VCS-Revision: 67e030e5a1a470ea41d6a164ce682528982f0a0f X-VCS-Branch: master Date: Tue, 26 Sep 2023 06:33:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 971bfcb5-3972-4ed3-83f7-87f58ae504b1 X-Archives-Hash: ce9a20cb7aaacb039fc69bb38069d289 commit: 67e030e5a1a470ea41d6a164ce682528982f0a0f Author: WANG Xuerui gentoo org> AuthorDate: Mon Sep 25 11:20:39 2023 +0000 Commit: WANG Xuerui gentoo 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 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=""