Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzy/
Date: Tue, 20 Feb 2018 21:06:52
Message-Id: 1519160802.b0bc8f3423f46fc5f189a91fd778bfd794b07d15.monsieurp@gentoo
1 commit: b0bc8f3423f46fc5f189a91fd778bfd794b07d15
2 Author: Georgy Yakovlev <ya <AT> sysdump <DOT> net>
3 AuthorDate: Sun Feb 11 21:30:55 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 20 21:06:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0bc8f34
7
8 app-shells/fzy: new package.
9
10 fzy is a fuzzy text selector (interactive grep) for console.
11
12 fzy can be used to filter any list: files, command history, processes,
13 hostnames, bookmarks, git commits, etc. It's designed to be used both as an
14 editor plugin and on the command line. Rather than clearing the screen, fzy
15 displays its interface directly below the current cursor position, scrolling
16 the screen if necessary.
17
18 Closes: https://bugs.gentoo.org/647346
19 Closes: https://github.com/gentoo/gentoo/pull/7159
20 Package-Manager: Portage-2.3.19, Repoman-2.3.6
21
22 app-shells/fzy/Manifest | 1 +
23 app-shells/fzy/fzy-0.9.ebuild | 33 +++++++++++++++++++++++++++++++++
24 app-shells/fzy/metadata.xml | 27 +++++++++++++++++++++++++++
25 3 files changed, 61 insertions(+)
26
27 diff --git a/app-shells/fzy/Manifest b/app-shells/fzy/Manifest
28 new file mode 100644
29 index 00000000000..2c36f43eab6
30 --- /dev/null
31 +++ b/app-shells/fzy/Manifest
32 @@ -0,0 +1 @@
33 +DIST fzy-0.9.tar.gz 42992 BLAKE2B ebc7e73e0387101da65896a4108705048bb72b01261ea86a0abeaee22fe4517ac54351d508bb79419b05a15aa9c93c5d815c34d15353d01c02381e5d342e75b7 SHA512 71a44bc3bbef3a2d82476a69b5c9e28753e760bbb8d453a9e44b57f34a79dd8ebcd510a869dfeae95f522ba6ccb4b8f10f79c081ce6bc6cfae9a41f4071fefc0
34
35 diff --git a/app-shells/fzy/fzy-0.9.ebuild b/app-shells/fzy/fzy-0.9.ebuild
36 new file mode 100644
37 index 00000000000..28bbf0fbf06
38 --- /dev/null
39 +++ b/app-shells/fzy/fzy-0.9.ebuild
40 @@ -0,0 +1,33 @@
41 +# Copyright 1999-2018 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=6
45 +
46 +inherit savedconfig
47 +
48 +DESCRIPTION="Fuzzy text selector (interactive grep) for console"
49 +HOMEPAGE="https://github.com/jhawthorn/fzy"
50 +SRC_URI="https://github.com/jhawthorn/fzy/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +IUSE="test"
55 +
56 +KEYWORDS="~amd64 ~x86"
57 +
58 +src_prepare() {
59 + eapply_user
60 + sed -i -e '/^CFLAGS/s/ -O3//' Makefile || die "sed failed"
61 + restore_config config.h
62 +}
63 +
64 +src_install() {
65 + local DOCS=( ALGORITHM.md CHANGELOG.md README.md )
66 +
67 + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
68 + exeinto /usr/share/fzy
69 + doexe contrib/fzy-tmux
70 + doexe contrib/fzy-dvtm
71 + einstalldocs
72 + save_config config.h
73 +}
74
75 diff --git a/app-shells/fzy/metadata.xml b/app-shells/fzy/metadata.xml
76 new file mode 100644
77 index 00000000000..e97ca2a7fe0
78 --- /dev/null
79 +++ b/app-shells/fzy/metadata.xml
80 @@ -0,0 +1,27 @@
81 +<?xml version="1.0" encoding="UTF-8"?>
82 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
83 +<pkgmetadata>
84 + <maintainer type="person">
85 + <email>ya@×××××××.net</email>
86 + <name>Georgy Yakovlev</name>
87 + </maintainer>
88 + <maintainer type="project">
89 + <email>proxy-maint@g.o</email>
90 + <name>Proxy Maintainers</name>
91 + </maintainer>
92 + <maintainer type="project">
93 + <email>shell-tools@g.o</email>
94 + <name>Gentoo Shell Tools Project</name>
95 + </maintainer>
96 + <longdescription lang="en">
97 + Fuzzy text selector (interactive grep) for console.
98 + It can be used to filter any list:
99 + files, command history, processes, hostnames, bookmarks, git commits, etc.
100 + It's designed to be used both as an editor plugin and on the command line.
101 + Rather than clearing the screen, fzy displays its interface directly below
102 + the current cursor position, scrolling the screen if necessary.
103 + </longdescription>
104 + <upstream>
105 + <remote-id type="github">jhawthorn/fzy</remote-id>
106 + </upstream>
107 +</pkgmetadata>