Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fish/
Date: Wed, 06 Jul 2016 12:30:18
Message-Id: 1467808208.fc5a1d99a0bec19f4d5cee0658fa05859dfef842.polynomial-c@gentoo
1 commit: fc5a1d99a0bec19f4d5cee0658fa05859dfef842
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 6 12:29:24 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 6 12:30:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5a1d99
7
8 app-shells/fish: Bump to version 2.3.1
9
10 Package-Manager: portage-2.3.0
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-shells/fish/Manifest | 1 +
14 app-shells/fish/fish-2.3.1.ebuild | 74 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest
18 index 193a956..715ec66 100644
19 --- a/app-shells/fish/Manifest
20 +++ b/app-shells/fish/Manifest
21 @@ -2,3 +2,4 @@ DIST fish-2.1.1.tar.gz 1681744 SHA256 b7e4d3c3d55fc3859edcb20462fcf0d14ab26e920e
22 DIST fish-2.1.2.tar.gz 1730198 SHA256 c6c20d5ca3a2a0168461de8abfe85f9e6b255132698ea0109998d4ab68f9f6dd SHA512 4f8f0133094d4d2295546a5b96e044646de2266364610368210b0db529b2d865c1b389f01f311b9b6d6d6dcd2a29040b7a9499d491605ae52a765a76d83db2a5 WHIRLPOOL 2a02dd0f91731cfc79de64245c34fc4361f42406d0c0a60afbafa08c2b9265d11c4adadc96ca5eb49b9053db1eb949c297eee23a7cbc63a30f56ce577b650779
23 DIST fish-2.2.0.tar.gz 2213037 SHA256 a76339fd14ce2ec229283c53e805faac48c3e99d9e3ede9d82c0554acfc7b77a SHA512 210047f56b105a3d372f03d3a2de41661ed18001e3c8fa053ae4aa43089118d4467837ea022bc44f9877ecc3d0563b365f97920c002faccebaa663c4f079e9e0 WHIRLPOOL 8b25e437e0c942255b5f39686008fb37ec45cea52e04b2d61facf1fdcd59510138dace506eadb17eb0074d175d3c1226d6e52d437e325ed5a90e22e696918d9d
24 DIST fish-2.3.0.tar.gz 4537458 SHA256 912bac47552b1aa0d483a39ade330356632586a8f726c0e805b46d45cfad54e5 SHA512 acfeb8daad34250c626172428573d5baf86c43d37379fb29da296973931cb5e0b8d7cb5d2ed64eb6e3b984a3a65fc800dd8f78dce7d5e4719bc5dc143be27e8a WHIRLPOOL 1a9023540307fba2bf594ff785ae2f825e62addba920f312aeae6afaaf394cbb4a90f7fc205496ed49d7efb0cb460acd737e61af262bcbee3013d148e70ca9ed
25 +DIST fish-2.3.1.tar.gz 4305132 SHA256 459ab0cec5b936a3db28b437c649c3606baa12362c399a86fa2e07df2920818d SHA512 ec229509a777b0c20669bbad3634265f2b8a9827ca207508e10889096262f0731b31514f1523f3228b38e9be082fc72fd8efe8d9a69fe68d655325027a176674 WHIRLPOOL 0da31da54942b689ce33b56bf1e45720ab1e68d28f3f8a1b2f4b95830ba0d5dca4c9d9588179c9af2d0359b60bd435eeb9cc843bca918f43a8bfbbecccb2c630
26
27 diff --git a/app-shells/fish/fish-2.3.1.ebuild b/app-shells/fish/fish-2.3.1.ebuild
28 new file mode 100644
29 index 0000000..52deb65b
30 --- /dev/null
31 +++ b/app-shells/fish/fish-2.3.1.ebuild
32 @@ -0,0 +1,74 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
40 +
41 +inherit autotools
42 +
43 +DESCRIPTION="fish is the Friendly Interactive SHell"
44 +HOMEPAGE="http://fishshell.com/"
45 +SRC_URI="https://github.com/fish-shell/fish-shell/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
50 +IUSE="X"
51 +
52 +DEPEND="sys-libs/ncurses:0=
53 + sys-devel/bc
54 + sys-devel/gettext
55 + X? ( x11-misc/xsel )"
56 +
57 +RDEPEND="${DEPEND}"
58 +
59 +S="${WORKDIR}/${PN}-shell-${PV}"
60 +
61 +src_prepare() {
62 + default
63 + eautoreconf
64 +}
65 +
66 +src_configure() {
67 + # Set things up for fish to be a default shell.
68 + # It has to be in /bin in case /usr is unavailable.
69 + # Also, all of its utilities have to be in /bin.
70 + econf \
71 + docdir="${EPREFIX}"/usr/share/doc/${PF} \
72 + --bindir="${EPREFIX}"/bin
73 +}
74 +
75 +src_test() {
76 + if has_version ~${CATEGORY}/${P} ; then
77 + emake test
78 + else
79 + ewarn "The test suite only works when the package is already installed"
80 + fi
81 +}
82 +
83 +pkg_postinst() {
84 + elog "fish is now installed on your system."
85 + elog "To run fish, type 'fish' in your terminal."
86 + elog
87 + elog "To use fish as your login shell:"
88 + elog "* add the line '${EPREFIX}/bin/${PN}'"
89 + elog "* to the file '${EPREFIX}/etc/shells'."
90 + elog "* use the command 'chsh -s ${EPREFIX}/bin/${PN}'."
91 + elog
92 + elog "To set your colors, run 'fish_config'"
93 + elog "To scan your man pages for completions, run 'fish_update_completions'"
94 + elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
95 + elog
96 + elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the"
97 + elog "browser of your choice to get acces to ${PN}'s help system:"
98 + elog " BROWSER=\"/usr/bin/firefox\""
99 + elog
100 + elog "In order to get lzma and xz support for man-page completion please"
101 + elog "emerge one of the following packages:"
102 + elog " dev-python/backports-lzma"
103 + elog " >=dev-lang/python-3.3"
104 + elog
105 + elog "Have fun!"
106 +}