From a199018a2ff310f08a8092eea5a4c3e321a67ab2 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Wed, 19 Mar 2025 13:41:32 +0000 Subject: dev-go/gotestsum: add 1.12.1, drop 1.12.0 --- dev-go/gotestsum/Manifest | 4 ++-- dev-go/gotestsum/gotestsum-1.12.0.ebuild | 30 ------------------------------ dev-go/gotestsum/gotestsum-1.12.1.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 dev-go/gotestsum/gotestsum-1.12.0.ebuild create mode 100644 dev-go/gotestsum/gotestsum-1.12.1.ebuild diff --git a/dev-go/gotestsum/Manifest b/dev-go/gotestsum/Manifest index c20637b..d3ab9d4 100644 --- a/dev-go/gotestsum/Manifest +++ b/dev-go/gotestsum/Manifest @@ -1,2 +1,2 @@ -DIST gotestsum-1.12.0-deps.tar.xz 28729684 BLAKE2B 0cfd1b53baf1c4300ec9def66779bc2bbe05aa16be1934bed051e0608ac8b6d91c1133b8a631427cf3079bb87df3890ea6811c7266d5a6099ae5690bb36212aa SHA512 e46f274da98451768c9c835138fbdf615178e92e5e3cf6391e4b64546f6ff3a29f698b3e1c93382ddd498061a1cdd2727ccf48a72221bcfd8ccf21234dcf3b65 -DIST gotestsum-1.12.0.tar.gz 120301 BLAKE2B 443ad41ee5f17f2be035feafea68317d33064faf6ed0d4d52787bb77e6d361922d6db794820e1d7ee9ed990232a8eef60772a166cb0f0afa7d2980d9afbade99 SHA512 8532b6182e3ae2d73efdd50f2e69bd77869a39876bf50288ce236633bdb09f99c98cf4a6428e955c643b48584a4a7bfd53839ff9630d6ca86c436ffd00c6198d +DIST gotestsum-1.12.1-vendor.tar.xz 1033200 BLAKE2B 4b9d4536f6748277f2cce44fccb7609fae1291d6f6e93d19a03551a4a8563244a7156b335e1ab74dd8f83d628d972854dcaa65bd0a52bf2f54e538c2f1b21457 SHA512 36df690436f2e184d65f6557c1a0c3cd8e08ca8e46aba89e2dce9bad7a1d9af090110730c66f3bdf76b007dd2143849b052121f4aea0332ed1472241d9330033 +DIST gotestsum-1.12.1.tar.gz 117936 BLAKE2B 8b83feea0bb9542244e1396606d960d3c168aadbd2ad24ede204e6b488d3e2bc7a845577f62b62500eaa8cd7e42a57aee456537253e2b452ec79c665836eedd1 SHA512 85c529f0663a77cf6875b3c6bdb9f640dd4cdee32000fb8f636f3ddc8010213b64b84a8c7f7289331f50f92e613a94b87b8b459cdd69be1ef9224c307c2b9c40 diff --git a/dev-go/gotestsum/gotestsum-1.12.0.ebuild b/dev-go/gotestsum/gotestsum-1.12.0.ebuild deleted file mode 100644 index fa9f75b..0000000 --- a/dev-go/gotestsum/gotestsum-1.12.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module - -DESCRIPTION="'go test' runner with output optimized for humans" -HOMEPAGE="https://github.com/gotestyourself/gotestsum" -SRC_URI="https://github.com/gotestyourself/gotestsum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://share.terinstock.com/${P}-deps.tar.xz " - -LICENSE="Apache-2.0" -BDEPEND=">=dev-lang/go-1.13" - -SLOT="0" -KEYWORDS="~amd64" -# TODO: fix test failure with deps tarball -RESTRICT+=" test" - -src_compile() { - ego build -trimpath . -} - -src_test() { - go test -work "./..." || die -} - -src_install() { - dobin gotestsum -} diff --git a/dev-go/gotestsum/gotestsum-1.12.1.ebuild b/dev-go/gotestsum/gotestsum-1.12.1.ebuild new file mode 100644 index 0000000..cf9397c --- /dev/null +++ b/dev-go/gotestsum/gotestsum-1.12.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="'go test' runner with output optimized for humans" +HOMEPAGE="https://github.com/gotestyourself/gotestsum" +SRC_URI="https://github.com/gotestyourself/gotestsum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz " + +LICENSE="Apache-2.0" +BDEPEND=">=dev-lang/go-1.13" + +SLOT="0" +KEYWORDS="~amd64" +# TODO: fix test failure with deps tarball +RESTRICT+=" test" + +src_compile() { + ego build -trimpath --ldflags "-X gotest.tools/gotestsum/cmd.version=${PV}" . +} + +src_test() { + go test -work "./..." || die +} + +src_install() { + dobin gotestsum +} -- cgit v1.2.3