1 |
commit: 4e027d13b034d6cbf9e1b5fd38cb72279229ec35 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 7 12:47:32 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 7 12:50:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e027d13 |
7 |
|
8 |
app-shells/fish: Bump to version 2.7_beta1 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
app-shells/fish/Manifest | 1 + |
13 |
app-shells/fish/fish-2.7_beta1.ebuild | 84 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 85 insertions(+) |
15 |
|
16 |
diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest |
17 |
index 7db0b4d98b1..4ecff87b779 100644 |
18 |
--- a/app-shells/fish/Manifest |
19 |
+++ b/app-shells/fish/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST fish-2.4.0.tar.gz 3455874 SHA256 06bbb2323360439c4044da762d114ec1aa1aba265cec71c0543e6a0095c9efc5 SHA512 b27a2291c284fda7a12b3cd5dcba8dfcbf2738f50de40d9aac1500afa3bd98be04b4f67d7e6d3bb2f808c11a8c2dd6b1b5cc2dfe3e8e0e7d1bc88f8d8994d57b WHIRLPOOL abb9c31237a33553b25920fe3284f4ca90941aed2b8f1ec4b69fdb4231f7b2585f0292bc647ffe3acf88f6b01ac61931f615fa9a56ede35a8182e3a69aa11861 |
22 |
DIST fish-2.5.0.tar.gz 3496831 SHA256 f8c0edadca2de379ccf305aeace660a9255fa2180c72e85e97705a24c256b2a5 SHA512 6d94bb70a5f1cefaada4d10ac845992f87c9bfc8c253f38bdfcc3a573a35503d825c9487d2ce8ef3819713594ab7b54ebf6c89fe3362c7010c63dbefc99b424d WHIRLPOOL a16d5f75e95573f2b766527fb124d99083a7ab84522a4826cd5b3aaf3a73ae6728f30defbd0598698b496f279f686eddcb4e81779767e89888037abe0b908849 |
23 |
DIST fish-2.6.0.tar.gz 3575346 SHA256 7ee5bbd671c73e5323778982109241685d58a836e52013e18ee5d9f2e638fdfb SHA512 d4ded5ce24600e85673a7bb016e9dc36bce999b27f40e6b1ce0b9ca49a421be2d444d9d2b6f178f6eee963e59daa4a65df4c3de2a8086a610486f758fcfb0ed1 WHIRLPOOL 3316c1bd8778a1eba5b7b65edf28495ec89ec01ba3d0bc26cbc64ce69bfcd73a538c9a5463c9385f55689e3e680241d37e36bfec309f87c6ee98934f74fd7aa4 |
24 |
+DIST fish-2.7b1.tar.gz 5760393 SHA256 326dbea5d0f20eba54fa0b0c5525e58b4a39ebd8c52c14cfffc5f4d6cdf55385 SHA512 75e9351eb8179d9a21915d6cbc8d042f595e9fd3120f2ab7ad503fde5d59c9d965cc01ec599c89d7e6c9b3ef3e175b91e6c750427e146a0649434ee121a7c17c WHIRLPOOL 3ec2707d4bd2d8726c969e7aadd665d29adc89d1e6e78918a509c275ec289c1cfbdab4e6271b15ad2bd47a292dff00c312ed0735e1ef34ae66dcbf5c8c6bcae1 |
25 |
|
26 |
diff --git a/app-shells/fish/fish-2.7_beta1.ebuild b/app-shells/fish/fish-2.7_beta1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..317865b783f |
29 |
--- /dev/null |
30 |
+++ b/app-shells/fish/fish-2.7_beta1.ebuild |
31 |
@@ -0,0 +1,84 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+MY_PV="${PV/_beta/b}" |
38 |
+MY_P="${PN}-${MY_PV}" |
39 |
+ |
40 |
+DESCRIPTION="fish is the Friendly Interactive SHell" |
41 |
+HOMEPAGE="http://fishshell.com/" |
42 |
+SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+[[ "${PV}" = *_* ]] || \ |
47 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
48 |
+IUSE="nls" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-libs/libpcre2-10.21[pcre32] |
52 |
+ sys-libs/ncurses:0= |
53 |
+" |
54 |
+DEPEND=" |
55 |
+ ${RDEPEND} |
56 |
+ sys-devel/bc |
57 |
+ nls? ( sys-devel/gettext ) |
58 |
+" |
59 |
+ |
60 |
+S="${WORKDIR}/${MY_P}" |
61 |
+ |
62 |
+src_configure() { |
63 |
+ # Set things up for fish to be a default shell. |
64 |
+ # It has to be in /bin in case /usr is unavailable. |
65 |
+ # Also, all of its utilities have to be in /bin. |
66 |
+ econf \ |
67 |
+ docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
68 |
+ --bindir="${EPREFIX}"/bin \ |
69 |
+ --without-included-pcre2 \ |
70 |
+ $(use_with nls gettext) |
71 |
+} |
72 |
+ |
73 |
+src_compile() { |
74 |
+ emake V=1 |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ emake DESTDIR="${D}" V=1 install |
79 |
+} |
80 |
+ |
81 |
+src_test() { |
82 |
+ if has_version ~${CATEGORY}/${P} ; then |
83 |
+ emake test |
84 |
+ else |
85 |
+ ewarn "The test suite only works when the package is already installed" |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ elog "fish is now installed on your system." |
91 |
+ elog "To run fish, type 'fish' in your terminal." |
92 |
+ elog |
93 |
+ elog "It is advised not to set fish as a default login shell." |
94 |
+ elog "see bug #545830 for more details." |
95 |
+ elog "Executing fish using ~/.bashrc is an alternative" |
96 |
+ elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details" |
97 |
+ elog |
98 |
+ elog "To set your colors, run 'fish_config'" |
99 |
+ elog "To scan your man pages for completions, run 'fish_update_completions'" |
100 |
+ elog "To autocomplete command suggestions press Ctrl + F or right arrow key." |
101 |
+ elog |
102 |
+ elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the" |
103 |
+ elog "browser of your choice to get acces to ${PN}'s help system:" |
104 |
+ elog " BROWSER=\"/usr/bin/firefox\"" |
105 |
+ elog |
106 |
+ elog "In order to get lzma and xz support for man-page completion please" |
107 |
+ elog "emerge one of the following packages:" |
108 |
+ elog " dev-python/backports-lzma" |
109 |
+ elog " >=dev-lang/python-3.3" |
110 |
+ elog |
111 |
+ elog "If you have issues with cut'n'paste in X-terminals, install the" |
112 |
+ elog "x11-misc/xsel package." |
113 |
+ elog |
114 |
+ elog "Have fun!" |
115 |
+} |