commit:     76c19eb63eeb77b5f50f3d9fc003a8b7e693e877
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 23:03:12 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 12 23:03:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c19eb6

dev-util/stripe-mock: Switch to go-module.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/stripe-mock/stripe-mock-0.118.0-r1.ebuild | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dev-util/stripe-mock/stripe-mock-0.118.0-r1.ebuild 
b/dev-util/stripe-mock/stripe-mock-0.118.0-r1.ebuild
new file mode 100644
index 000000000000..586567a061dc
--- /dev/null
+++ b/dev-util/stripe-mock/stripe-mock-0.118.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+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"
+
+LICENSE="MIT ISC BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+       emake build
+}
+
+src_test() {
+       emake test
+}
+
+src_install() {
+       dobin stripe-mock
+       einstalldocs
+}

Reply via email to