summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-26 09:19:50 +0100
committerSam James <sam@gentoo.org>2022-07-26 09:40:54 +0100
commit8b7eaf47bcd19c514cae7702e061dd2d65e67147 (patch)
tree76020b53f8ab7ac459567edff7838bce0528277b /dev-go
parentnet-proxy/haproxy: Bump to 2.5.8 (diff)
downloadgentoo-8b7eaf47bcd19c514cae7702e061dd2d65e67147.tar.gz
gentoo-8b7eaf47bcd19c514cae7702e061dd2d65e67147.tar.bz2
gentoo-8b7eaf47bcd19c514cae7702e061dd2d65e67147.zip
dev-go/go-licenses: add 1.2.1
Bug: https://bugs.gentoo.org/844409 Closes: https://bugs.gentoo.org/833812 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-licenses/Manifest2
-rw-r--r--dev-go/go-licenses/go-licenses-1.2.1.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-go/go-licenses/Manifest b/dev-go/go-licenses/Manifest
index 2413774161af..d838b753fefc 100644
--- a/dev-go/go-licenses/Manifest
+++ b/dev-go/go-licenses/Manifest
@@ -85,6 +85,8 @@ DIST github.com%2Fxanzy%2Fssh-agent%2F@v%2Fv0.2.1.mod 168 BLAKE2B 61409485b5a15b
DIST github.com%2Fxanzy%2Fssh-agent%2F@v%2Fv0.2.1.zip 10353 BLAKE2B 386f5fcd209b8a2f2428e8460dae57d3f5a41649f8a42ba7c5c0f2037fa3b858e949ad3b526d99d71a4f5b094d5b409788dd398a8daacf8e28166be7f290c936 SHA512 8feb5dc97b7c8acbcb7989f7ee6d87b1b3b1074163482438c609418b0dd02135238f80edd968ef7a730aced473d18ea08f5c23ab8b0f7a5e63e76d39d7d8cc96
DIST github.com%2Fxordataexchange%2Fcrypt%2F@v%2Fv0.0.3-0.20170626215501-b2862e3d0a77.mod 40 BLAKE2B 844d63d9c10c55eb74504d88d5e6e85641f2c4bdbbc9b4f6728cd6b1e750d1eb333e91b6eadac635a80abf328c9423fa106b18337e89dc592876cd3f04a803e2 SHA512 daffe8f4148becee3a32c90ad21454cd48255409f3edff8681ea2074623c8aa02cbb4620b7ba52aabe4ac3c24a5f256b56fd71de1da45dcd7e4e8376699a422a
DIST go-licenses-0_pre20200511.tar.gz 29202 BLAKE2B d5e999c83789ae09c4c41373498bd33af8c361b0f229093eeeb4bdfa56679f9b8e47d125b65b1cc79cd2e5c53b4de72fb12cf01126d8a3921e19d6ea3aa72a0c SHA512 747c81a9db9a0c4d703c40d38418f3985a79439d65eac7446f294c2cf075aef5fbc359be1b69d8e1a96d25b752760b4cf41954422a8d18b0cddef876e431459b
+DIST go-licenses-1.2.1-deps.tar.xz 189083960 BLAKE2B 1cc2389ff0387ac0a27f186ee23d5b07b70caf532cb0ca1146200208ccd2d939c82a2067580580838922fd4e7c98f44b2eb073265668f4058d7517e3f2b003fc SHA512 139d79942e6a51afc0733bec916bae8119847652c2bdbae10e8680d1d06d3e031a1c9ad0480d3300b62c077579b60d0006739c40957ba8471fd58833f635f59d
+DIST go-licenses-1.2.1.tar.gz 163397 BLAKE2B bd254635e58a9734112cc8939b58d2cc7f5c085ef1bc12200e706c8bf0708b6c512ce0d883254b074b7956c3a317e7010e8ae76a08cc5fea878c3fc43fbdb8cc SHA512 af0040002bbb0e84c78f7454b49795e472d64aba9501baa5f9ad7b9e00e39003c8b7617ba81a660ef734acfed2244516fc20d2165ea340d8782c440f256401fe
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20181203042331-505ab145d0a9.mod 27 BLAKE2B f91145aab2cee00c3567772e97f6162b9681d6cbcbe67a1b5b2f59b8f912572f705a0d1280fdced086d92efd10c50ecede26d1cfa3d5419217e5eef95097b4b1 SHA512 a88da5b983ff482a4e8b512761eeee466a8b0664b42da54ec9772c2eb3cb1bc5b7545045e283bac82552336802d8bc8efe137ba16f3530228b529366744a33e6
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190219172222-a4c6cb3142f2.mod 27 BLAKE2B f91145aab2cee00c3567772e97f6162b9681d6cbcbe67a1b5b2f59b8f912572f705a0d1280fdced086d92efd10c50ecede26d1cfa3d5419217e5eef95097b4b1 SHA512 a88da5b983ff482a4e8b512761eeee466a8b0664b42da54ec9772c2eb3cb1bc5b7545045e283bac82552336802d8bc8efe137ba16f3530228b529366744a33e6
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
diff --git a/dev-go/go-licenses/go-licenses-1.2.1.ebuild b/dev-go/go-licenses/go-licenses-1.2.1.ebuild
new file mode 100644
index 000000000000..9b5be6d86f93
--- /dev/null
+++ b/dev-go/go-licenses/go-licenses-1.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 edo go-module
+
+DESCRIPTION="Reports on the licenses used by a Go package and its dependencies"
+HOMEPAGE="https://github.com/google/go-licenses"
+SRC_URI="https://github.com/google/go-licenses/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD-2 BSD MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Wants network access
+RESTRICT="test"
+
+src_compile() {
+ ego build
+
+ local shell
+ for shell in bash fish zsh ; do
+ edo ./go-licenses completion ${shell} > go-licenses.${shell}
+ done
+}
+
+src_install() {
+ einstalldocs
+
+ dobin go-licenses
+
+ newbashcomp ${PN}.bash ${PN}
+
+ insinto /usr/share/fish/vendor_completions.d
+ doins go-licenses.fish
+
+ insinto /usr/share/zsh/site-functions
+ newins go-licenses.zsh _go-licenses
+}