Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: William Hubbs <willi...@gentoo.org>
---
 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


Reply via email to