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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66AF515808B for ; Sat, 12 Feb 2022 23:03:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BADAE0831; Sat, 12 Feb 2022 23:03:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D84BE0831 for ; Sat, 12 Feb 2022 23:03:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26880343352 for ; Sat, 12 Feb 2022 23:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70BDF2D1 for ; Sat, 12 Feb 2022 23:03:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1644707017.76c19eb63eeb77b5f50f3d9fc003a8b7e693e877.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/stripe-mock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/stripe-mock/stripe-mock-0.118.0-r1.ebuild X-VCS-Directories: dev-util/stripe-mock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 76c19eb63eeb77b5f50f3d9fc003a8b7e693e877 X-VCS-Branch: master Date: Sat, 12 Feb 2022 23:03:40 +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: 570d2cf5-60fa-4665-b48d-6bd52963f177 X-Archives-Hash: fd5b1d3a07dda1dbe6058bb72a89ac5f commit: 76c19eb63eeb77b5f50f3d9fc003a8b7e693e877 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 12 23:03:12 2022 +0000 Commit: Michał Górny gentoo 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 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 +}