forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-shells/peco: version bump to 0.5.7 and other improvements
1. Switch to go-module 2. Remade EGO_VENDOR with get-ego-vendor 3. Brind tests back Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Vladimir Pavljuchenkov <[email protected]> Closes: gentoo#14380 Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
DIST github.com-davecgh-go-spew-v1.1.0.tar.gz 42337 BLAKE2B 691ee430beca602ea686aa065b23af5e00356e866cbca2b014bf0c8f4cc965a2318e6a39232772098e250d61d5bd6707afb769fdf4223c81a8249cad267d1971 SHA512 20c9f0550a2d5030265dde8ad3ed009ce5c6490d010f184ad3f656b8fe5eb6e5c6abc9594408240aa731c0977afd9739d293490e6164cc0ce156652611b05b39 | ||
DIST github.com-google-btree-0c3044bc8bad.tar.gz 14149 BLAKE2B 0042260a128569f42bd5cb03280d129893f15f3eec3e063a5892fa08d43c42f50c0fcfcab9a0dfd58dab1b198fb730fa45d61a474957e89157bc96804cd8097e SHA512 47885509723b39d9b1be6552e4c3ae49088e52daff2c0d0babfd2ca27c5b40f9665cba0f4b45f6a673d04d7ea906da3416cc3de4ea33cdcbf4d8ccf6e350a46b | ||
DIST github.com-google-btree-0c3044bc8bada22db67b93f5760fe3f05d6a5c25.tar.gz 14149 BLAKE2B 0042260a128569f42bd5cb03280d129893f15f3eec3e063a5892fa08d43c42f50c0fcfcab9a0dfd58dab1b198fb730fa45d61a474957e89157bc96804cd8097e SHA512 47885509723b39d9b1be6552e4c3ae49088e52daff2c0d0babfd2ca27c5b40f9665cba0f4b45f6a673d04d7ea906da3416cc3de4ea33cdcbf4d8ccf6e350a46b | ||
DIST github.com-jessevdk-go-flags-8bc97d602c3bfeb5fc6fc9b5a9c898f245495637.tar.gz 54382 BLAKE2B 5bb4a8609bb8d430e1e0adfca5f09bf8c8884832e0b248e93fd2b9e9f83d5fb816dff9afc46fdbfb65a97efa65e346b54898c14d26a302cdba6a4406a7e3a41a SHA512 65bd90bb6c3d9070ff415f514f2dd113bf886c0a2bcfcf3dbec6fe789df9f27683a4df83d71426f63d00a208b3b581cf791755d71f8dc0c7f7a684a38b7c8401 | ||
DIST github.com-jessevdk-go-flags-v1.1.0.tar.gz 54372 BLAKE2B e8b86c553a759b99e9a774328c0be122ed40abb189f2be9cc27ab4bc2b05b3d634a5af2bf50a55118c2927742a80ffc5df459b8fa3795629a37f6a45cb896c71 SHA512 7e2472883ac227c263f82fb420ce4257796c229b3a9a34ef249c45020b612fa18b765e3d68d90af5727a6802c1070b0ef86583128b1e8cc33ae1eece005255bb | ||
DIST github.com-lestrrat-go-pdebug-2e6eaaa5717f81bda41d27070d3c966f40a1e75f.tar.gz 5178 BLAKE2B f90e9d643bc6e2829bea16c5ccd65db5235b5bbca7c5a6da0bab8ee99c6b6e517b94a896dbadbdd3f92208c33aa9342c77c79e83e648a9721183fba192135b13 SHA512 b974046135b8fe7f4272eb0f335f30bea93fb25ec9813a733dd34a2342cd6174a2a67ecd595db51e37eee03ffb5155a67cb86afb74b8b99a151d7cbc9aa52ac7 | ||
DIST github.com-lestrrat-go-pdebug-39f9a71bcabe.tar.gz 5184 BLAKE2B 9917f86ec739bd28463ae3b97e0afe43cbd784ede6ecfb65b88de579c4eec69a2837affbd20fff8a298a78af0c8ed8a2b4eb73ecb193ede8b07bb21d12a1a1b5 SHA512 ec614b9fc419a36a49221faabfc815ba2074dedd7a071ba0b99b747d6d82fd88d7246d82de73c18a6072c2f610a0f48f4244d6d6209f302e674d92c5410ee017 | ||
DIST github.com-mattn-go-runewidth-737072b4e32b.tar.gz 6862 BLAKE2B c74b5450128e0093d5ae7b37871024fbe9c8e6bf166520dfc32482e2636ba3c0981e3224d843cbde880fa218872c65b37a1046ef4823d7cc3c786ec5fa0bd969 SHA512 ff8389d189ed1480929954d2567026984d93910a6fa7cdc3c6a925e8dc876a3df10298b08bd7bbf6f7d90914d64212928b2b1b3032ee4bd89974a2938a77f853 | ||
DIST github.com-mattn-go-runewidth-737072b4e32b7a5018b4a7125da8d12de90e8045.tar.gz 6862 BLAKE2B c74b5450128e0093d5ae7b37871024fbe9c8e6bf166520dfc32482e2636ba3c0981e3224d843cbde880fa218872c65b37a1046ef4823d7cc3c786ec5fa0bd969 SHA512 ff8389d189ed1480929954d2567026984d93910a6fa7cdc3c6a925e8dc876a3df10298b08bd7bbf6f7d90914d64212928b2b1b3032ee4bd89974a2938a77f853 | ||
DIST github.com-nsf-termbox-go-93860e161317.tar.gz 32766 BLAKE2B dc03c1356c5c29ab5820904574f8e6bf7bba570e8cc78b64a1edf7937a3c7c3027e4ba0b84706927480c1a8992152caa64621d2881c505bef887056102bd1477 SHA512 15401bfeea3efdb545bdcd9445aec02c8e225b861d10041859093ab07113a9e5e33d3c94b083453183a50043541c830b1faa4c81eec8c8c1982c7a22876cee35 | ||
DIST github.com-nsf-termbox-go-e2050e41c8847748ec5288741c0b19a8cb26d084.tar.gz 31443 BLAKE2B 821aa359d41a5aada4e184ad38159db5a6d1d581940fad86e175745757eb9451ccdf82de17217d8ddcbee87e5ae3390bba0e64ae656981a91623b952b214bdfa SHA512 81c1f9ce6c507404ee79238c655d7c043c895358ef38256c2e9b95498d88149e8aa6ba37659ec2ce42b46e200d87b043c6922e0d784538e7b9dfe9771ff73ea0 | ||
DIST github.com-pkg-errors-248dadf4e906.tar.gz 11334 BLAKE2B 7d703863f2420dab1975063ab8fe27d4b1b203bfda9f279d288cf50b2ff97e94417fc6cd5dbbe1575b4ba8de3e64efbb1e2903965a3735b9bd6308126fb299c9 SHA512 ee488416799f9359958e1cf68cd17a13019a11687dccee7db2633fcd361c7a48da0f6afec6275977f09a38f8475625b66d9f51a4003d2337d07aadf091f5e1d9 | ||
DIST github.com-pkg-errors-248dadf4e9068a0b3e79f02ed0a610d935de5302.tar.gz 11334 BLAKE2B 7d703863f2420dab1975063ab8fe27d4b1b203bfda9f279d288cf50b2ff97e94417fc6cd5dbbe1575b4ba8de3e64efbb1e2903965a3735b9bd6308126fb299c9 SHA512 ee488416799f9359958e1cf68cd17a13019a11687dccee7db2633fcd361c7a48da0f6afec6275977f09a38f8475625b66d9f51a4003d2337d07aadf091f5e1d9 | ||
DIST github.com-pmezard-go-difflib-v1.0.0.tar.gz 11398 BLAKE2B 8f317c172d615e07c92337dd814c07c772347de3fe81b952bbc4fd1a643d495cfb6ec5b694a531f2745e1601eca2d4977ea2c1202ac7fb1e3cdba31e90c4ea34 SHA512 283927de73a3d0405bbca8b5b0c24137dde2f1063539c6ce4437331ed99e732175b2a384e5a70cb9a87cc74da94f5347e2a9785fbf3e46ec2431dc5071c3f045 | ||
DIST github.com-stretchr-testify-18a02ba4a312.tar.gz 83549 BLAKE2B 7bdaac806a8ea401ad991f995e1f94fa2983debe6ed8ec4f54462a6f7641084c2ffe14814ad265aa825aa2132fc357d023fce43540e7ea3a433a16064cd3e833 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37 | ||
DIST github.com-stretchr-testify-18a02ba4a312f95da08ff4cfc0055750ce50ae9e.tar.gz 83549 BLAKE2B 7bdaac806a8ea401ad991f995e1f94fa2983debe6ed8ec4f54462a6f7641084c2ffe14814ad265aa825aa2132fc357d023fce43540e7ea3a433a16064cd3e833 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37 | ||
DIST peco-0.5.3.tar.gz 77415 BLAKE2B 9f060e191550d39eed8dbf4b4379e424886476589e40af2c8bd2758c90636c6e9ab8e7551a32726f1f2d3338c7e59d47432d58f6493f03bbd3b8670095e27382 SHA512 c1b5678b369caa35e3bd2679eee857762c73bcc8a815d83e136fa1c30e48728a60f22be5d92132c8a733d591728f9293a973fc387502db79f5676ae1f45c6774 | ||
DIST peco-0.5.7.tar.gz 79584 BLAKE2B 2e3119dd7ce344ce1534bf5fc17668eaa6e8fa9b0ff82a3f8f6d0b382280b15eeca4948439f906d2625a6259b575bb50066e77b678b148b2ceb50963e325841e SHA512 f657327a34e2565b2fdb8cce68485c6fab66640124dc7e1d5010ddd229072d6c54cfc37c1fe8d8ee4f1e03f8e41e6ac878b013949bed901dcafa30969160c843 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
EGO_VENDOR=( "github.com/davecgh/go-spew v1.1.0" | ||
"github.com/google/btree 0c3044bc8bad" | ||
"github.com/jessevdk/go-flags v1.1.0" | ||
"github.com/lestrrat-go/pdebug 39f9a71bcabe" | ||
"github.com/mattn/go-runewidth 737072b4e32b" | ||
"github.com/nsf/termbox-go 93860e161317" | ||
"github.com/pkg/errors 248dadf4e906" | ||
"github.com/pmezard/go-difflib v1.0.0" | ||
"github.com/stretchr/testify 18a02ba4a312" ) | ||
|
||
EGO_PN="github.com/peco/${PN}" | ||
|
||
inherit go-module | ||
|
||
DESCRIPTION="Simplistic interactive filtering tool" | ||
HOMEPAGE="https://github.com/peco/peco" | ||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz | ||
$(go-module_vendor_uris)" | ||
|
||
LICENSE="Apache-2.0 BSD BSD-2 MIT" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DOCS=( {Changes,README.md} ) | ||
|
||
src_compile() { | ||
export -n GOCACHE XDG_CACHE_HOME | ||
go build ./cmd/... || die "build failed" | ||
} | ||
|
||
src_test() { | ||
go test -work ./... || die "test failed" | ||
} | ||
|
||
src_install() { | ||
einstalldocs | ||
dobin peco | ||
} |