logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: e223d034ce6acd52cfa0f5081f0a504ec955cab4
parent 509799a367ada3af6f78f74ba95ccb37eaaca421
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 19 Jun 2021 02:57:13 +0200

dev-go/godef: New package

Diffstat:

Adev-go/godef/Manifest17+++++++++++++++++
Adev-go/godef/godef-1.1.2.ebuild43+++++++++++++++++++++++++++++++++++++++++++
Adev-go/godef/metadata.xml8++++++++
3 files changed, 68 insertions(+), 0 deletions(-)

diff --git a/dev-go/godef/Manifest b/dev-go/godef/Manifest @@ -0,0 +1,17 @@ +DIST 9fans.net%2Fgo%2F@v%2Fv0.0.0-20181112161441-237454027057.mod 20 BLAKE2B 86099982022ffb649ca7220e9476ac3a31adff6e10b7f2a6b0a58a01205acbc84d64b7aab37e95e72c899566b011eb1c40e864283ceb83af27af309c01e7d31b SHA512 60f4d3c1529eb034ef884b0ee00dd1ecb9803d138c4b83789e56f137c5def8b572d1381f46b369cc65b3da595c2f9d9a4af08f0ed20a859ecdfafa1f9aad38f6 +DIST 9fans.net%2Fgo%2F@v%2Fv0.0.0-20181112161441-237454027057.zip 158820 BLAKE2B 166d3f114646f12aba6436cc24a4b246f57b6d4cb3279be790214756f98e94131650bb79b58690b0ea880823281877f1ef127c9fac6bb536bc6ee4e38f7f927f SHA512 1ec39f18d4aab10d118ba666ce2e1c8c3d2d959b6c1b2dc60c54e003644c8c1917f9cf68d6adf6af4dbe70ee80ab44307088acc20418e4d5088e4abf9c2d8edd +DIST godef-1.1.2.tar.gz 318946 BLAKE2B 48fa9164bee83233836b8dbcbc365c0d8e72e9fe021b87ef54aa8905632321717e0d53518139f3b099e8e1e468b8dd80e33476f91a3b05757827c760b949a487 SHA512 dbdb9f3a3d60950c5c8ecd2fdc4870212228c09e850d4ab9b5155e76060ccc8d312da1807e959226ea7a82af93bffb06add76d4b0999d7211712c4d34e56874a +DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e +DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842 +DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.1.1-0.20191105210325-c90efee705ee.mod 159 BLAKE2B 7124b4e21f0b1ff142fe4cd5c57a22de7bc5b1c578e16e8661085d475d67573279c1ce3165e05a28c77a41eac43fe29b1d98854abdcc7b0b66167f82db652dd8 SHA512 5e225da646ef87b8bf435b745313187cecd1bd3e88660f8a90cd2a6fdcadbe8fc51f53edae4b3aa2357ad273a8e58034920bb61a1cd5898b95d3fe39f30ec648 +DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.1.1-0.20191105210325-c90efee705ee.zip 134147 BLAKE2B f7d43790feeb13035488c2749d41a33f21f66f3d79d89f465918301f8c9bf9045efcbc191aedc6894628b35d9e79c9fb67e5c5109e3644799be747c6c233f322 SHA512 13d1a28e9df57073c8f25a8d86e17525ae17cb461bcb6affd82cc447394c8068d13653e32ecf1282af6c4811680f4883e3d856384480f7d9ad47b320fa76a1d6 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236 +DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab +DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d +DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20200226224502-204d844ad48d.mod 267 BLAKE2B d21181b3e1491ef78b09fc3546ed8ffbfeb7a4578039aaa24e2f5cc2352885c1a4d7dbfaf2853c421daa2a06691ac47513b5f186d31893fb1ef476cf9d4bb9bc SHA512 91b0380c7073eac4442bfd1924d311fc7b50b098ec4c72ea72fcc831273012326a44245add9b05a90895be46d11052ddcc942ea6bb909bda51d782f95acddff8 +DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20200226224502-204d844ad48d.zip 3009995 BLAKE2B 91c2134d0635522aaa9145f263278af561cbc0d73ff018b69d802d68ae6051abba2b71a13bdfce6f8300c6bd9742f5b8828fadbc48f9fc1d0ad4f6a58e3e2cf7 SHA512 d3047f0a7010fea669af882737c307b5b64c757612efa2a335b9b4388b0a25fc05b8e6b890f4d06fbe1ce63f0e291d1dafee894307001e7b62c4e9f5b70b58e9 +DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05 +DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.zip 19898 BLAKE2B a1233d14bcda685e77649385f4cb03d5c0c0e2491dd01db12a81d3e255e0cc2636950142ea3f647f8177390401ad6236fc05af3537e9561e2e021a4c60ab612b SHA512 464d0f5e1ce45f303f0cf3b6c109629384cb23a8d1e23c5cbf16fbaffb19ae1641da4457b1baabd0e8d2f9784fda64774adfb4c1baaae837877275396d0f22fa diff --git a/dev-go/godef/godef-1.1.2.ebuild b/dev-go/godef/godef-1.1.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="detect licenses used in Go binaries" +HOMEPAGE="https://github.com/mitchellh/golicense" + +EGO_SUM=( + "9fans.net/go v0.0.0-20181112161441-237454027057" + "9fans.net/go v0.0.0-20181112161441-237454027057/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod" + "golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee" + "golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" + "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/tools v0.0.0-20200226224502-204d844ad48d" + "golang.org/x/tools v0.0.0-20200226224502-204d844ad48d/go.mod" + "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898" + "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod" +) +go-module_set_globals +SRC_URI="https://github.com/rogpeppe/godef/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +src_compile() { + go build || die +} + +src_install() { + default + dobin ${PN} +} diff --git a/dev-go/godef/metadata.xml b/dev-go/godef/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata>