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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A24CD138334 for ; Wed, 11 Sep 2019 17:27:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EFBBE0A62; Wed, 11 Sep 2019 17:26:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DB9EE0A5C for ; Wed, 11 Sep 2019 17:26:49 +0000 (UTC) Received: from whubbs1.gaikai.biz (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 503B534B0AF; Wed, 11 Sep 2019 17:26:48 +0000 (UTC) Received: (nullmailer pid 18939 invoked by uid 1000); Wed, 11 Sep 2019 17:22:34 -0000 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: William Hubbs Subject: [gentoo-dev] [PATCH 2/3] app-misc/spire: migrate to go-module.eclass Date: Wed, 11 Sep 2019 12:21:27 -0500 Message-Id: <20190911172128.18885-3-williamh@gentoo.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190911172128.18885-1-williamh@gentoo.org> References: <20190911172128.18885-1-williamh@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 611a33ae-5c62-4f62-a5ad-4f70a9c0b65f X-Archives-Hash: 733464537ea4597dc7f60b71c5e83c40 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: William Hubbs --- app-misc/spire/spire-0.8.1.ebuild | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/app-misc/spire/spire-0.8.1.ebuild b/app-misc/spire/spire-0.8.1.ebuild index 552104b1bd8..5a72e6e1528 100644 --- a/app-misc/spire/spire-0.8.1.ebuild +++ b/app-misc/spire/spire-0.8.1.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz" +inherit go-module DESCRIPTION="the spiffe runtime environment" HOMEPAGE="https://github.com/spiffe/spire" SRC_URI="https://github.com/spiffe/spire/archive/${PV}.tar.gz -> ${P}.tar.gz - ${VENDOR_URI}" + https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz" LICENSE="Apache-2.0" SLOT="0" @@ -16,17 +16,9 @@ IUSE="" COMMON_DEPEND="acct-group/spire acct-user/spire" -DEPEND="${COMMON_DEPEND} - dev-lang/go" +DEPEND="${COMMON_DEPEND}" RDEPEND="${COMMON_DEPEND}" -RESTRICT="strip" - -src_prepare() { - default - mv ../vendor . || die "Unable to move ../vendor directory" -} - do_cmd() { if [[ -z "$@" ]]; then die "No arguments passed to do_cmd" -- 2.21.0