diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2017-07-07 11:31:38 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-07-30 16:55:09 +0200 |
commit | 4f14138ee08d83565b03ff2862c9afd60d9bbbf6 (patch) | |
tree | 2a0064164955341fca41e277b9b451f19856a7d0 /app-shells/peco | |
parent | x11-misc/libinput-gestures: version bump for dependency compatibility (diff) | |
download | gentoo-4f14138ee08d83565b03ff2862c9afd60d9bbbf6.tar.gz gentoo-4f14138ee08d83565b03ff2862c9afd60d9bbbf6.tar.bz2 gentoo-4f14138ee08d83565b03ff2862c9afd60d9bbbf6.zip |
app-shells/peco: new ebuild
peco (pronounced peh-koh) is a tool to filter stuff like logs, process stats,
find files, because unlike grep, you can type as you think and
look through the current results.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5060
Diffstat (limited to 'app-shells/peco')
-rw-r--r-- | app-shells/peco/Manifest | 8 | ||||
-rw-r--r-- | app-shells/peco/metadata.xml | 20 | ||||
-rw-r--r-- | app-shells/peco/peco-0.5.1.ebuild | 54 |
3 files changed, 82 insertions, 0 deletions
diff --git a/app-shells/peco/Manifest b/app-shells/peco/Manifest new file mode 100644 index 000000000000..72f81cf7a5c4 --- /dev/null +++ b/app-shells/peco/Manifest @@ -0,0 +1,8 @@ +DIST github.com-google-btree-0c3044bc8bada22db67b93f5760fe3f05d6a5c25.tar.gz 14149 SHA256 c8424767f800795f0adf709cc70fb7531e4d269fa09c358577e23bbc9aa8b7fb SHA512 47885509723b39d9b1be6552e4c3ae49088e52daff2c0d0babfd2ca27c5b40f9665cba0f4b45f6a673d04d7ea906da3416cc3de4ea33cdcbf4d8ccf6e350a46b WHIRLPOOL 7bed12ccf6cbded3f2ae01b2134eb9e632deab573c4c8526549dbffe05eecc35dfd7ce992a8a89fba0040e5c575f9b1d5dcb33115b3715aa0b7e1479cae6097c +DIST github.com-jessevdk-go-flags-8bc97d602c3bfeb5fc6fc9b5a9c898f245495637.tar.gz 54382 SHA256 df0474e62c55ab700bfed0fc932154aa69b4f737abacb3461a5aa5d866c198bd SHA512 65bd90bb6c3d9070ff415f514f2dd113bf886c0a2bcfcf3dbec6fe789df9f27683a4df83d71426f63d00a208b3b581cf791755d71f8dc0c7f7a684a38b7c8401 WHIRLPOOL 3fa57311090b2a1e8b76fafe74e12855e95acfc48c57cc853c7b8fc7208bbe926a7d35a07e9dced99001516e54c15ce04bb27701f0ff020f4277b65bf5149ef8 +DIST github.com-lestrrat-go-pdebug-2e6eaaa5717f81bda41d27070d3c966f40a1e75f.tar.gz 5178 SHA256 e87a2516d087e26e65dc978e6aa41c7191c4bdefd42e226f9c3045e8b5a840ef SHA512 b974046135b8fe7f4272eb0f335f30bea93fb25ec9813a733dd34a2342cd6174a2a67ecd595db51e37eee03ffb5155a67cb86afb74b8b99a151d7cbc9aa52ac7 WHIRLPOOL 41940d7d3cb2226e0ce652e514c278f044ff7dc303d82c3c6d7ede41cb1ae2e9a7a24c81cf3c147cfe980f5798ab3994fa8f0a97f8e402fb624a39add0aff21a +DIST github.com-mattn-go-runewidth-737072b4e32b7a5018b4a7125da8d12de90e8045.tar.gz 6862 SHA256 a565b12ab20b9dab3519e58c711c1b5ad4122c2693cd6e01259d4799708b6044 SHA512 ff8389d189ed1480929954d2567026984d93910a6fa7cdc3c6a925e8dc876a3df10298b08bd7bbf6f7d90914d64212928b2b1b3032ee4bd89974a2938a77f853 WHIRLPOOL 5df110a17cb2ae23a2eab33d418d01889f4264e3f0a04a90afb1027886476544f1d4e61d8110e01ac5ca553642609593e12aed726a9024deec3e96b3843d0478 +DIST github.com-nsf-termbox-go-abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8.tar.gz 30257 SHA256 4d4c5b54cdb3598451947939f6cf1455e1e4db24f2187ffafd88c65dd3c218e3 SHA512 0d4f18366c471aacf0d6fc92c716287d66b1f97ad922af23f4edd030697141d34c8013e62848c10827bf35f7cfb6b6153e29609b41fe36886139a074b1517a65 WHIRLPOOL 6a4cf79600b8b2d0973b69ce827a650a7ea01d9fffe7d77ad30e4639c58474e67f1d4e8e1d877b7107e43169a64a517f04980da828c54d5f2d3df489cc7c0332 +DIST github.com-pkg-errors-248dadf4e9068a0b3e79f02ed0a610d935de5302.tar.gz 11334 SHA256 9f42447a1e90c491f91c2e79f2b962c2f49376bdc3771adcf8c7c9eee4513e0c SHA512 ee488416799f9359958e1cf68cd17a13019a11687dccee7db2633fcd361c7a48da0f6afec6275977f09a38f8475625b66d9f51a4003d2337d07aadf091f5e1d9 WHIRLPOOL d92bb120b4a0a69358957de5f409ab5af98f74cb7e96383e10a457a48c172877e77226df4f0d991780ba061e70170d1e75bc702001b6f9518c4dda5648ea71d0 +DIST github.com-stretchr-testify-18a02ba4a312f95da08ff4cfc0055750ce50ae9e.tar.gz 83549 SHA256 b7de5d7c5d6b50aeeacb8611af330f0f7c68a36864c3a3896ccc3d9f47279bd7 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37 WHIRLPOOL b95d2b632042793487d4436cc4a6c0739f868f818fc764517cf5ff0d9ac7c23392714cd139cb992ff92bbbf7c13aecf9546cfacc53e2f95c656b6f3ffb8df90b +DIST peco-0.5.1.tar.gz 76247 SHA256 1acbf8f7f077208a8d4406a37be88783432455d6ff905e0a19168c7c2a34f1c8 SHA512 ed940949917ea00556d6484e427c6a98bff8506cbeae95fedbdab8579fe5ec0bb800a901a32a268752ec3502fa4cae8033ad38422ca341b1375370e1b25cad0c WHIRLPOOL 06fb9c035fddc21e98e4ecb08c4dbba1efe7072a821c8bd7789458a5b3a37f6cf6cace35dd9062ab4df82c2415da105d3018c0f4a68e866d80451c21638b5ce3 diff --git a/app-shells/peco/metadata.xml b/app-shells/peco/metadata.xml new file mode 100644 index 000000000000..e54c22ca1bc9 --- /dev/null +++ b/app-shells/peco/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>spiderx@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + peco can be a great tool to filter stuff like logs, process stats, + find files, because unlike grep, you can type as you think and + look through the current results. + </longdescription> + <upstream> + <remote-id type="github">peco/peco</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-shells/peco/peco-0.5.1.ebuild b/app-shells/peco/peco-0.5.1.ebuild new file mode 100644 index 000000000000..3d8169733f2d --- /dev/null +++ b/app-shells/peco/peco-0.5.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 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 abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8" + "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} + ${EGO_VENDOR_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-go/glide + dev-go/go-spew" + +src_prepare() { + default + + # Don't install dependencies + sed -i '/peco\$(SUFFIX):/s/ installdeps//' \ + src/${EGO_PN}/Makefile || die "sed failed" +} + +src_compile() { + GOPATH="${S}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build +} + +src_install() { + dobin src/${EGO_PN}/releases/peco_linux_amd64/peco + + local DOCS=( src/${EGO_PN}/Changes src/${EGO_PN}/README.md ) + einstalldocs +} |