Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-shells/peco: cleanup and 695228 #13088

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions app-shells/peco/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ DIST github.com-google-btree-0c3044bc8bada22db67b93f5760fe3f05d6a5c25.tar.gz 141
DIST github.com-jessevdk-go-flags-8bc97d602c3bfeb5fc6fc9b5a9c898f245495637.tar.gz 54382 BLAKE2B 5bb4a8609bb8d430e1e0adfca5f09bf8c8884832e0b248e93fd2b9e9f83d5fb816dff9afc46fdbfb65a97efa65e346b54898c14d26a302cdba6a4406a7e3a41a SHA512 65bd90bb6c3d9070ff415f514f2dd113bf886c0a2bcfcf3dbec6fe789df9f27683a4df83d71426f63d00a208b3b581cf791755d71f8dc0c7f7a684a38b7c8401
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
54 changes: 0 additions & 54 deletions app-shells/peco/peco-0.5.1.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,50 +1,54 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

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 abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8"
"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

ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

DESCRIPTION="Simplistic interactive filtering tool"
HOMEPAGE="https://github.com/peco/peco"
SRC_URI="${ARCHIVE_URI}
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"

LICENSE="MIT"
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
IUSE="test"

DEPEND="dev-go/glide
dev-go/go-spew"
DEPEND="test? ( dev-go/glide )"

DOCS=( src/${EGO_PN}/Changes src/${EGO_PN}/README.md )
DOCS=( src/"${EGO_PN}"/{Changes,README.md} )

src_prepare() {
default

# Don't install dependencies
sed -i '/peco\$(SUFFIX):/s/ installdeps//' \
src/${EGO_PN}/Makefile || die "sed failed"
# 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
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() {
dobin src/${EGO_PN}/releases/peco_linux_amd64/peco
einstalldocs
dobin src/"${EGO_PN}"/releases/peco_linux_amd64/peco
}
4 changes: 2 additions & 2 deletions app-shells/peco/peco-0.5.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/peco/peco"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"

LICENSE="MIT"
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
Expand Down