mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-go/gotestsum: new package, add 1.13.0
This package is needed for running net-vpn/headscale's tests. Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
This commit is contained in:
2
dev-go/gotestsum/Manifest
Normal file
2
dev-go/gotestsum/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST gotestsum-1.13.0-deps.tar.xz 21691816 BLAKE2B 541d9d25df196cea884183f336656b5e737e56cdcb9fb98d6f34c997380962bc98b90ea8103ea4f7fd037633109a992abb7c340e9e8d82356cf59c02cad710a4 SHA512 e6bcac91dee8aac9728c0f819323fab58813b1242575ada507367953ba52eef3f3074eff8e36a3cc7eafcc9b6f5400fa08b25e6191e29ef5644ae36a3291cf87
|
||||
DIST gotestsum-1.13.0.tar.gz 120691 BLAKE2B b3631e80425774788a1fc6d2e0e42b19696058187abf284aba219f309800c17d9586061c6310a2de00dfc747de83b24f805e21f8b2ac7f0e3e26132600fc8625 SHA512 d25e9618edf9f126f2f105d3ba7625e64a173a5bac3e738963b50b333e4c127020edd72ae2ccbd81be4cd92333c3419b285427f10dee6367ae1cffec8a9a6819
|
||||
32
dev-go/gotestsum/gotestsum-1.13.0.ebuild
Normal file
32
dev-go/gotestsum/gotestsum-1.13.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 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/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~xen0n/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent licenses
|
||||
LICENSE+=" Apache-2.0 BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# the program's E2E test does not want verbose output from Go
|
||||
GOFLAGS="${GOFLAGS//-x}" ego test ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gotestsum
|
||||
local DOCS=( README.md )
|
||||
einstalldocs
|
||||
}
|
||||
11
dev-go/gotestsum/metadata.xml
Normal file
11
dev-go/gotestsum/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xen0n@gentoo.org</email>
|
||||
<name>WANG Xuerui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gotestyourself/gotestsum</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user