summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2018-06-17 22:11:33 +0300
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-06-19 00:30:41 -0700
commitd25bcdd75bd09029d69e55502bb32b72f7bdc0bb (patch)
tree77e2ac1a31ef4d16e527c4450aafc7389b779f82 /app-shells/peco
parentapp-benchmarks/stress-ng: drop old versions (diff)
downloadgentoo-d25bcdd75bd09029d69e55502bb32b72f7bdc0bb.tar.gz
gentoo-d25bcdd75bd09029d69e55502bb32b72f7bdc0bb.tar.bz2
gentoo-d25bcdd75bd09029d69e55502bb32b72f7bdc0bb.zip
app-shells/peco: version bump to 0.5.3 and ebuild improvement
1. Added support for test and verbose build. 2. Fixed DEPEND ( removed dev-go/go-spew ). Closes: https://github.com/gentoo/gentoo/pull/8880 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-shells/peco')
-rw-r--r--app-shells/peco/Manifest2
-rw-r--r--app-shells/peco/peco-0.5.3.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/app-shells/peco/Manifest b/app-shells/peco/Manifest
index 7312a7f2408c..11a00ce756a7 100644
--- a/app-shells/peco/Manifest
+++ b/app-shells/peco/Manifest
@@ -3,7 +3,9 @@ DIST github.com-jessevdk-go-flags-8bc97d602c3bfeb5fc6fc9b5a9c898f245495637.tar.g
DIST github.com-lestrrat-go-pdebug-2e6eaaa5717f81bda41d27070d3c966f40a1e75f.tar.gz 5178 BLAKE2B f90e9d643bc6e2829bea16c5ccd65db5235b5bbca7c5a6da0bab8ee99c6b6e517b94a896dbadbdd3f92208c33aa9342c77c79e83e648a9721183fba192135b13 SHA512 b974046135b8fe7f4272eb0f335f30bea93fb25ec9813a733dd34a2342cd6174a2a67ecd595db51e37eee03ffb5155a67cb86afb74b8b99a151d7cbc9aa52ac7
DIST github.com-mattn-go-runewidth-737072b4e32b7a5018b4a7125da8d12de90e8045.tar.gz 6862 BLAKE2B c74b5450128e0093d5ae7b37871024fbe9c8e6bf166520dfc32482e2636ba3c0981e3224d843cbde880fa218872c65b37a1046ef4823d7cc3c786ec5fa0bd969 SHA512 ff8389d189ed1480929954d2567026984d93910a6fa7cdc3c6a925e8dc876a3df10298b08bd7bbf6f7d90914d64212928b2b1b3032ee4bd89974a2938a77f853
DIST github.com-nsf-termbox-go-abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8.tar.gz 30257 BLAKE2B dd54f93c97a6c471b097d955b07eb126b3e5047c9afd594a49de7eac1d6863f78978e43843ab37226bc6f820cc646e7c6a67b3c70fb7fd20887f1952f4b49114 SHA512 0d4f18366c471aacf0d6fc92c716287d66b1f97ad922af23f4edd030697141d34c8013e62848c10827bf35f7cfb6b6153e29609b41fe36886139a074b1517a65
+DIST github.com-nsf-termbox-go-e2050e41c8847748ec5288741c0b19a8cb26d084.tar.gz 31443 BLAKE2B 821aa359d41a5aada4e184ad38159db5a6d1d581940fad86e175745757eb9451ccdf82de17217d8ddcbee87e5ae3390bba0e64ae656981a91623b952b214bdfa SHA512 81c1f9ce6c507404ee79238c655d7c043c895358ef38256c2e9b95498d88149e8aa6ba37659ec2ce42b46e200d87b043c6922e0d784538e7b9dfe9771ff73ea0
DIST github.com-pkg-errors-248dadf4e9068a0b3e79f02ed0a610d935de5302.tar.gz 11334 BLAKE2B 7d703863f2420dab1975063ab8fe27d4b1b203bfda9f279d288cf50b2ff97e94417fc6cd5dbbe1575b4ba8de3e64efbb1e2903965a3735b9bd6308126fb299c9 SHA512 ee488416799f9359958e1cf68cd17a13019a11687dccee7db2633fcd361c7a48da0f6afec6275977f09a38f8475625b66d9f51a4003d2337d07aadf091f5e1d9
DIST github.com-stretchr-testify-18a02ba4a312f95da08ff4cfc0055750ce50ae9e.tar.gz 83549 BLAKE2B 7bdaac806a8ea401ad991f995e1f94fa2983debe6ed8ec4f54462a6f7641084c2ffe14814ad265aa825aa2132fc357d023fce43540e7ea3a433a16064cd3e833 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37
DIST peco-0.5.1.tar.gz 76247 BLAKE2B 6ac3b8222a8b9847fcdf402532674a51c28be01ac94162b452437ef2862079146bdcf0b3cb3eceb871a96ddda6e8334b04511f90a43b4331e7852541be440009 SHA512 ed940949917ea00556d6484e427c6a98bff8506cbeae95fedbdab8579fe5ec0bb800a901a32a268752ec3502fa4cae8033ad38422ca341b1375370e1b25cad0c
DIST peco-0.5.2.tar.gz 76546 BLAKE2B 55a640195f8c025457c460b3bb30e28e742b82c85bb9cdde7ef075bde6ed42249d7346c3fd8aebad756e072c75fc9d6ed6b5e1fc873026ea069134c8dfe0e78b SHA512 13d1d72d932e335a60fa07442bdc03cef775ad038f4281f4cdf6eb114123995b824f25c3dcb89122678dee12dea6f041fe11d38fc4b663f9aca799010e6e14e0
+DIST peco-0.5.3.tar.gz 77415 BLAKE2B 9f060e191550d39eed8dbf4b4379e424886476589e40af2c8bd2758c90636c6e9ab8e7551a32726f1f2d3338c7e59d47432d58f6493f03bbd3b8670095e27382 SHA512 c1b5678b369caa35e3bd2679eee857762c73bcc8a815d83e136fa1c30e48728a60f22be5d92132c8a733d591728f9293a973fc387502db79f5676ae1f45c6774
diff --git a/app-shells/peco/peco-0.5.3.ebuild b/app-shells/peco/peco-0.5.3.ebuild
new file mode 100644
index 000000000000..958bad43d524
--- /dev/null
+++ b/app-shells/peco/peco-0.5.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=( "github.com/google/btree 0c3044bc8bada22db67b93f5760fe3f05d6a5c25"
+ "github.com/jessevdk/go-flags 8bc97d602c3bfeb5fc6fc9b5a9c898f245495637"
+ "github.com/lestrrat/go-pdebug 2e6eaaa5717f81bda41d27070d3c966f40a1e75f"
+ "github.com/mattn/go-runewidth 737072b4e32b7a5018b4a7125da8d12de90e8045"
+ "github.com/nsf/termbox-go e2050e41c8847748ec5288741c0b19a8cb26d084"
+ "github.com/pkg/errors 248dadf4e9068a0b3e79f02ed0a610d935de5302"
+ "github.com/stretchr/testify 18a02ba4a312f95da08ff4cfc0055750ce50ae9e" )
+
+EGO_PN="github.com/peco/${PN}"
+
+inherit golang-vcs-snapshot
+
+DESCRIPTION="Simplistic interactive filtering tool"
+HOMEPAGE="https://github.com/peco/peco"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="test? ( dev-go/glide )"
+
+DOCS=( src/"${EGO_PN}"/{Changes,README.md} )
+
+src_prepare() {
+ default
+
+ # Don't install dependencies, make build verbose
+ sed -i -e '/peco\$(SUFFIX):/s/ installdeps//' \
+ -e '/test:/s/ installdeps//' \
+ -e '/go build/s/-o/-v -x -o/' \
+ -e '/go test -v/s#$(INTERNAL_BIN_DIR)/$(THIS_GOOS)/$(THIS_GOARCH)/##' \
+ src/"${EGO_PN}"/Makefile || die "sed failed"
+}
+
+src_compile() {
+ GOPATH="${S}:$(get_golibdir_gopath)" emake -C src/"${EGO_PN}" build
+}
+
+src_test() {
+ GOPATH="${S}:$(get_golibdir_gopath)" emake -C src/"${EGO_PN}" test
+}
+
+src_install() {
+ einstalldocs
+ dobin src/"${EGO_PN}"/releases/peco_linux_amd64/peco
+}