diff options
author | Konstantin Podshumok <kpp.live+signed@gmail.com> | 2020-05-15 14:27:44 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-05-17 14:28:41 +0300 |
commit | e44050a4100ba4132e9ba67b622ebbbf890652ae (patch) | |
tree | c1a0c7abf8a6a2035722c4246a8223746faa7862 /dev-go | |
parent | dev-go/go-licenses: bump 0_pre20200511 (diff) | |
download | gentoo-e44050a4100ba4132e9ba67b622ebbbf890652ae.tar.gz gentoo-e44050a4100ba4132e9ba67b622ebbbf890652ae.tar.bz2 gentoo-e44050a4100ba4132e9ba67b622ebbbf890652ae.zip |
dev-go/go-licenses: remove old
Closes: https://github.com/gentoo/gentoo/pull/15804
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-licenses/Manifest | 5 | ||||
-rw-r--r-- | dev-go/go-licenses/go-licenses-0_pre20200227.ebuild | 196 |
2 files changed, 0 insertions, 201 deletions
diff --git a/dev-go/go-licenses/Manifest b/dev-go/go-licenses/Manifest index f539327ec6b7..2413774161af 100644 --- a/dev-go/go-licenses/Manifest +++ b/dev-go/go-licenses/Manifest @@ -47,16 +47,12 @@ DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.0.mod 40 BLAKE2B b8e71ef21 DIST github.com%2Fmitchellh%2Fgo-homedir%2F@v%2Fv1.1.0.mod 39 BLAKE2B e28ca0cdd6db21c4b97e47151a6c11487314f26d5a259f9d7f5581f3d92648a57d931e1d6b004597f76cf10916fbe14728c99192e24b6da674de2cdc9cc4e78e SHA512 a2b7ed5a25e6dcab620357d5c216546bdb554edbc6fd927a0703e788d7e7a10a743471d10f5c7cc56ad829ab35c7272c61d210e55947363447832e924844e9ee DIST github.com%2Fmitchellh%2Fgo-homedir%2F@v%2Fv1.1.0.zip 4163 BLAKE2B 7e00360086a04fb62a46ba20a10ac3460b364aa6ee09bf46f9769980c086db04aad45c4cbaa809a218f207c086876678d708a74d0a7679a48cf62b0b5edd48b7 SHA512 06bd620730c303df004e1d6a06a1aab8d83551d594c28e42f8d43613153ac28e6a5dcffaede69c84b2b49027b62581851a332f1397a2d6df9a46078510f7d1e2 DIST github.com%2Fmitchellh%2Fmapstructure%2F@v%2Fv1.1.2.mod 41 BLAKE2B 291f73049327af60c94a2b2113b8e370f90d2a3fc7074c58ac523ce2a613ebada88ce048a73cf882c68ff552dd6df0be42f796f4ed11a549c0b7ca6c67f61c38 SHA512 7816e3703475601df65f20ad4e5d1f6bbedc4a7c87c594518358c1a9c24421aa5ccb6e8389ad983a514a823674c6f0f771f1f367b10d99691dbd8db7105ec44e -DIST github.com%2Fotiai10%2Fcopy%2F@v%2Fv1.0.2.mod 80 BLAKE2B 5a419c2474d8e694c8831b1df3a678629e9d7f796124fa2fb098371a0c56b78ce0acd0b585cb6bb4a838c70e697abb3c39b3b0df6fdca0af002dd9258b343bfe SHA512 b5471c0a96c49c3f690cd606b41422e2b555d2b088f17d0d12e0ae11b4d400e5ffd958b09e6bdc8d1fcb97d68cf4b08b00343d92414aaceec86f444e41ed9070 -DIST github.com%2Fotiai10%2Fcopy%2F@v%2Fv1.0.2.zip 6363 BLAKE2B 857b896ef8d28a249199ea75ab1bdce2dc75af065d3a83c0193b1fc93ad6e6724dbe54cd221d3deabe7f4a00f9a64776dc48703f047ac7228bc50b0d28ab7cf9 SHA512 289bc424f9cfab11aca847b66719411e280369bd64a5d09a7e5c28df74404581304fa748df543e0e95b5d86e37be23ecf5cda80e165d28d7c65d927695f55b95 DIST github.com%2Fotiai10%2Fcopy%2F@v%2Fv1.1.1.mod 80 BLAKE2B 04718a62a0874dff2d0a305cd3cc4160048fc38b45316e9453279d2437e817884bdd666fd1af6031f7e3b9e782a00248e6e98d0f0eb28c7b5c436ca6bdd1134b SHA512 9528e3b28299cc17b8e93c9314f457c1f0350313db0919ea57ed3124e80ddc5f1348eede9e8f199758d2cc256905d43e38a476d4d4f7fb7a03fbd85282abf57c DIST github.com%2Fotiai10%2Fcopy%2F@v%2Fv1.1.1.zip 8431 BLAKE2B 78eefce8f753ce63df23b0c8ced71b316b018961fa55ae6461530815e308791ca35f2b4142fa178e57e625cdd1e65ba19c5df4af7eb62ab4ba9f09d39f228f47 SHA512 0a724628c0dae585f305a5222e3b9cc21a7f5ca7f41a066ba3bfd3a50b6600b36d02c4ca527ac5cea8d088638d4a9bcc2374f92169f35ab484e265392f0ea51b DIST github.com%2Fotiai10%2Fcurr%2F@v%2Fv0.0.0-20150429015615-9b4961190c95.mod 31 BLAKE2B 2672a50a0d2433b86cac9329ec96a520f2d426b5e04356056bd1173a3e297696c4bb6d2ba30efe34b557afa6c7c973af7267ea8d1a9d939860fb8c438863b6a7 SHA512 851f7cc28e17fbb5889fb46b71283312b4e66755e6bb6093b2170348352a68ed0c7855fdeb576160ed659563f79bf9d5af843a8c47c07c8239d4edb75e07f498 -DIST github.com%2Fotiai10%2Fcurr%2F@v%2Fv0.0.0-20150429015615-9b4961190c95.zip 1626 BLAKE2B ca05b4d972d8d06a6e105f5acafd914c5a01ce99f4b0f9fdbbb3c96d0f88d2c9a32106e87eb1aabce00a71a70f3e51b511494d7616c48541a8f1ef8602fc89bf SHA512 1984a63109549737b730daf40ed08fe42066c6edc572ab27709a6b20a3ed203d16315f2bacc45e83860e9601d89fe6dca086af021c33bd2e796f43db3bd2b76b DIST github.com%2Fotiai10%2Fcurr%2F@v%2Fv1.0.0.mod 80 BLAKE2B fb379c2984a53bfcc4c14a0a86655a7ea6a12d148aa2ce239c8c3497f6098b2f05af27cd1f8fdd8d5a04283b3b8a4234415c1472ae48ab6e65b5277fba9adcb2 SHA512 a8fb3d74f219262401918603b1944ce1d64a51f7e9cf89f4ea4aa58f9a2758637fe007741a1ca057ceecd59ebf2ad147082d00596fa35c8e4bb65f52906c0101 DIST github.com%2Fotiai10%2Fcurr%2F@v%2Fv1.0.0.zip 3702 BLAKE2B 27380c5d62b0eae66290ef73076c73c1561c27950e48923a6156fa29119a7c2c28edd695ce1cef10de8dfaeb64f4409b3655fd7b5e404885f09d3abe9b228bda SHA512 09b0df5e622e14a79b579da7e9b1dafe05e02002b6021dfda8f6b928ebb03addd7755443ef2b2cdf42cf207d819d56e6aabed551a17e48f245b6a0f2d70a422f DIST github.com%2Fotiai10%2Fmint%2F@v%2Fv1.3.0.mod 108 BLAKE2B 474e77997e73380c030b4809c8f282b643cb0da9bcd1e0b0a231aac20e8f3ec463df76824372300b199a1453ee90995e3d682ae1ac12bad05f1dbba4fc2ef517 SHA512 13789a725161311e33af6ced4e07d7b548ddaa069e34791d8c6b4f1bf29ca1653ea723f5da79953f2e2314a3d81239985882dfeb1700c3bab4a3579cf972eb4e -DIST github.com%2Fotiai10%2Fmint%2F@v%2Fv1.3.0.zip 9765 BLAKE2B 0282cc6aa3c30bb7268d464271bf866cda78fe373aea7671207f1ad26b30ec3360f7e64f3432b32c6376980700c612dc121bd415226f3f5a4457f905b9275d36 SHA512 43122b457bba1c630432585202650c41393041f16b0703dd4e46a4ac3ee1d4eac71f406de8d33fed50f72ea171bfdeb23a328c45459868d464c4c94a002acef6 DIST github.com%2Fotiai10%2Fmint%2F@v%2Fv1.3.1.mod 80 BLAKE2B 7dde564f562e2e049893762d2ddc6653434fb32cee6c9aeb6f298e90d534bde43b79814d95a9a38070c6291184e590c144433b39f4c1f27a11e3211e3e7b81a6 SHA512 0291055b9568f02df1eaa6c5d3a4cf31447e864a89a25e741471a9c2aa34cc686535bc1987e3e827934f412f2892997f9336159f13bb8c3c915b940fee8c2e6c DIST github.com%2Fotiai10%2Fmint%2F@v%2Fv1.3.1.zip 9837 BLAKE2B 8a6545a58eea36974c18a22430b408a81b52b038b950ab15eafd1dbea3ab6c1a96c809e551e0992177b0196b9a022f87aa3398b07d93abad8a527aef8008cb13 SHA512 ed11e504b8ed5b55396a1b05384d471f713fe5a845bc0d74d8690d6bebe94996014043802d0a78976f4e9e0bb5c0cdc6d9582dd168d5fb233c95b55fe5724aac DIST github.com%2Fpelletier%2Fgo-buffruneio%2F@v%2Fv0.2.0.mod 42 BLAKE2B 26e88451ad5d521cc8f48a08c91f2fd3fe6dc2e2ea084cb0012f25d8399f0e43329de5e96fd741255d910cf5a2146d3568718249980876c816a67f79e8b3290e SHA512 9f82f0d4d467420830ab8fb80ff97215e5fb47653b48d88304a6effdecabfc735f55dba9959319014ba943b2cbd27394ce86ebfba8a6d068c9c3d368f6b0cdfe @@ -88,7 +84,6 @@ DIST github.com%2Fugorji%2Fgo%2Fcodec%2F@v%2Fv0.0.0-20181204163529-d75b2dcb6bc8. DIST github.com%2Fxanzy%2Fssh-agent%2F@v%2Fv0.2.1.mod 168 BLAKE2B 61409485b5a15b6972b31745d6d4153561aba9608993faefed322829f885949f7f09f4455d786ad2b088cc8b40f30bc6746388e86625964fe9adee36adc33035 SHA512 8685959ca2e8ca2ae8e0d802e8fa954c91c9cffd318b476669fc1a2bf969a0463ebe3fc0ec2588a5f151e2da394b0d37fabafb83c8d25337d9b65a307d79b51b 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_pre20200227.tar.gz 29035 BLAKE2B d19a7750ff78c68da7f9d9bd1f0a463ff40129688622bcd85829b6b2034fad9ad03f569eaf61b6e6b39196b1a2bdd22bfdc9ca580523e5039d244f069db7b62a SHA512 d278f1156bac707ea6b744049a6a9e558abde8d96335f97bc2c041b96cd05e17885c2a816035e964652039861947df793ae2a5fb32d12fecd0bb978a2a4f2593 DIST go-licenses-0_pre20200511.tar.gz 29202 BLAKE2B d5e999c83789ae09c4c41373498bd33af8c361b0f229093eeeb4bdfa56679f9b8e47d125b65b1cc79cd2e5c53b4de72fb12cf01126d8a3921e19d6ea3aa72a0c SHA512 747c81a9db9a0c4d703c40d38418f3985a79439d65eac7446f294c2cf075aef5fbc359be1b69d8e1a96d25b752760b4cf41954422a8d18b0cddef876e431459b 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 diff --git a/dev-go/go-licenses/go-licenses-0_pre20200227.ebuild b/dev-go/go-licenses/go-licenses-0_pre20200227.ebuild deleted file mode 100644 index 1b54c5dc18f1..000000000000 --- a/dev-go/go-licenses/go-licenses-0_pre20200227.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Reports on the licenses used by a Go package and its dependencies" -HOMEPAGE="https://github.com/google/go-licenses" -LICENSE="Apache-2.0 MIT BSD BSD-2" -SLOT="0" - -EGO_PN=github.com/google/${PN} -EGIT_REPO_URI="https://${EGO_PN}.git" - -inherit go-module - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - - src_unpack() { - git-r3_src_unpack - go-module_live_vendor - } -else - KEYWORDS="~amd64" - EGIT_COMMIT="0fa8c766a59182ce9fd94169ddb52abe568b7f4e" - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - - EGO_SUM=( - "github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7" - "github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239" - "github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5" - "github.com/davecgh/go-spew v1.1.1" - "github.com/emirpasic/gods v1.12.0" - "github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568" - "github.com/gliderlabs/ssh v0.2.2" - "github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b" - "github.com/google/go-cmp v0.3.1" - "github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702" - "github.com/inconshreveable/mousetrap v1.0.0" - "github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99" - "github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd" - "github.com/kr/pretty v0.1.0" - "github.com/kr/text v0.1.0" - "github.com/mitchellh/go-homedir v1.1.0" - "github.com/otiai10/copy v1.0.2" - "github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95" - "github.com/otiai10/mint v1.3.0" - "github.com/pkg/errors v0.8.1" - "github.com/pmezard/go-difflib v1.0.0" - "github.com/sergi/go-diff v1.0.0" - "github.com/spf13/cobra v0.0.5" - "github.com/spf13/pflag v1.0.5" - "github.com/src-d/gcfg v1.4.0" - "github.com/stretchr/testify v1.3.0" - "github.com/xanzy/ssh-agent v0.2.1" - "golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4" - "golang.org/x/crypto v0.0.0-20191117063200-497ca9f6d64f" - "golang.org/x/net v0.0.0-20190724013045-ca1201d0de80" - "golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914" - "golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e" - "golang.org/x/sys v0.0.0-20191119060738-e882bf8e40c2" - "golang.org/x/text v0.3.2" - "golang.org/x/tools v0.0.0-20191118222007-07fc4c7f2b98" - "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127" - "gopkg.in/src-d/go-billy.v4 v4.3.2" - "gopkg.in/src-d/go-git-fixtures.v3 v3.5.0" - "gopkg.in/src-d/go-git.v4 v4.13.1" - "gopkg.in/warnings.v0 v0.1.2" - - "github.com/BurntSushi/toml v0.3.1/go.mod" - "github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod" - "github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod" - "github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod" - "github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod" - "github.com/coreos/etcd v3.3.10+incompatible/go.mod" - "github.com/coreos/go-etcd v2.0.0+incompatible/go.mod" - "github.com/coreos/go-semver v0.2.0/go.mod" - "github.com/cpuguy83/go-md2man v1.0.10/go.mod" - "github.com/creack/pty v1.1.7/go.mod" - "github.com/davecgh/go-spew v1.1.0/go.mod" - "github.com/davecgh/go-spew v1.1.1/go.mod" - "github.com/emirpasic/gods v1.12.0/go.mod" - "github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod" - "github.com/fsnotify/fsnotify v1.4.7/go.mod" - "github.com/gliderlabs/ssh v0.2.2/go.mod" - "github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod" - "github.com/google/go-cmp v0.2.0/go.mod" - "github.com/google/go-cmp v0.3.0/go.mod" - "github.com/google/go-cmp v0.3.1/go.mod" - "github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702/go.mod" - "github.com/hashicorp/hcl v1.0.0/go.mod" - "github.com/inconshreveable/mousetrap v1.0.0/go.mod" - "github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod" - "github.com/jessevdk/go-flags v1.4.0/go.mod" - "github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod" - "github.com/kr/pretty v0.1.0/go.mod" - "github.com/kr/pty v1.1.1/go.mod" - "github.com/kr/pty v1.1.8/go.mod" - "github.com/kr/text v0.1.0/go.mod" - "github.com/magiconair/properties v1.8.0/go.mod" - "github.com/mitchellh/go-homedir v1.1.0/go.mod" - "github.com/mitchellh/mapstructure v1.1.2/go.mod" - "github.com/otiai10/copy v1.0.2/go.mod" - "github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod" - "github.com/otiai10/mint v1.3.0/go.mod" - "github.com/pelletier/go-buffruneio v0.2.0/go.mod" - "github.com/pelletier/go-toml v1.2.0/go.mod" - "github.com/pkg/errors v0.8.1/go.mod" - "github.com/pmezard/go-difflib v1.0.0/go.mod" - "github.com/russross/blackfriday v1.5.2/go.mod" - "github.com/sergi/go-diff v1.0.0/go.mod" - "github.com/spf13/afero v1.1.2/go.mod" - "github.com/spf13/cast v1.3.0/go.mod" - "github.com/spf13/cobra v0.0.5/go.mod" - "github.com/spf13/jwalterweatherman v1.0.0/go.mod" - "github.com/spf13/pflag v1.0.3/go.mod" - "github.com/spf13/pflag v1.0.5/go.mod" - "github.com/spf13/viper v1.3.2/go.mod" - "github.com/src-d/gcfg v1.4.0/go.mod" - "github.com/stretchr/objx v0.1.0/go.mod" - "github.com/stretchr/objx v0.2.0/go.mod" - "github.com/stretchr/testify v1.2.2/go.mod" - "github.com/stretchr/testify v1.3.0/go.mod" - "github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod" - "github.com/xanzy/ssh-agent v0.2.1/go.mod" - "github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod" - "golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod" - "golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod" - "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" - "golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod" - "golang.org/x/crypto v0.0.0-20191117063200-497ca9f6d64f/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/net v0.0.0-20190724013045-ca1201d0de80/go.mod" - "golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914/go.mod" - "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" - "golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod" - "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" - "golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod" - "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" - "golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod" - "golang.org/x/sys v0.0.0-20191119060738-e882bf8e40c2/go.mod" - "golang.org/x/text v0.3.0/go.mod" - "golang.org/x/text v0.3.2/go.mod" - "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" - "golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod" - "golang.org/x/tools v0.0.0-20191118222007-07fc4c7f2b98/go.mod" - "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" - "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" - "gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod" - "gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod" - "gopkg.in/src-d/go-git.v4 v4.13.1/go.mod" - "gopkg.in/warnings.v0 v0.1.2/go.mod" - "gopkg.in/yaml.v2 v2.2.2/go.mod" - ) - - S="${WORKDIR}/${PN}-${EGIT_COMMIT}" -fi - -go-module_set_globals -SRC_URI+=" ${EGO_SUM_SRC_URI}" - -DEPEND="dev-go/licenseclassifier" -RDEPEND="${DEPEND}" - -# tries to go online -RESTRICT="test" - -src_prepare() { - eapply_user - - local share="${EROOT}/usr/share/licenseclassifier" - - local vendored_const_path="vendor/github.com/google/licenseclassifier" - if [[ ${PV} != *9999* ]]; then - go mod vendor || die - fi - - sed -i "s@= lcRoot()@= \"${share}\", error(nil)@" \ - "${vendored_const_path}"*/file_system_resources.go || die -} - -src_compile() { - mkdir build || die - go build -o build ./... || die -} - -src_test() { - go test ./... || die -} - -src_install() { - dobin "build/${PN}" - einstalldocs -} |