From 6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Jan 2020 18:58:09 +0000 Subject: gentoo resync : 18.01.2020 --- dev-util/stripe-mock/stripe-mock-0.79.0.ebuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-util/stripe-mock/stripe-mock-0.79.0.ebuild (limited to 'dev-util/stripe-mock') diff --git a/dev-util/stripe-mock/stripe-mock-0.79.0.ebuild b/dev-util/stripe-mock/stripe-mock-0.79.0.ebuild new file mode 100644 index 000000000000..03b73892d5d0 --- /dev/null +++ b/dev-util/stripe-mock/stripe-mock-0.79.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_SRC="github.com/stripe/stripe-mock" +EGO_PN=${EGO_SRC}/... +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Mock HTTP server that responds like the real Stripe API" +HOMEPAGE="https://github.com/stripe/stripe-mock" +SRC_URI="https://github.com/stripe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT ISC BSD-2" +SLOT="0" + +src_install() { + golang-build_src_install + dobin bin/stripe-mock + rm -rf "${D%/}$(get_golibdir_gopath)" || die +} -- cgit v1.2.3