From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-shells/fish/Manifest | 5 +++ app-shells/fish/fish-2.6.0.ebuild | 70 ++++++++++++++++++++++++++++++++++ app-shells/fish/fish-2.7.1.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ app-shells/fish/metadata.xml | 20 ++++++++++ 4 files changed, 175 insertions(+) create mode 100644 app-shells/fish/Manifest create mode 100644 app-shells/fish/fish-2.6.0.ebuild create mode 100644 app-shells/fish/fish-2.7.1.ebuild create mode 100644 app-shells/fish/metadata.xml (limited to 'app-shells/fish') diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest new file mode 100644 index 000000000000..c4609b03f353 --- /dev/null +++ b/app-shells/fish/Manifest @@ -0,0 +1,5 @@ +DIST fish-2.6.0.tar.gz 3575346 BLAKE2B 8697dc6e50836d93d0ed22663e86016fec8e567cd4e129ea92008f52da6dd629bf11b70719beabe5c08bd3d7ba43d8017441f103d49a82c0faec3bc749e83764 SHA512 d4ded5ce24600e85673a7bb016e9dc36bce999b27f40e6b1ce0b9ca49a421be2d444d9d2b6f178f6eee963e59daa4a65df4c3de2a8086a610486f758fcfb0ed1 +DIST fish-2.7.1.tar.gz 5760550 BLAKE2B 71568a3a17f4222b05a314464a61fceb241409a7d42c46249486ca742ef0cf990c46d693bcc22521c18f58a558e6aab35759d0da6eb62ee6611a2a7946fe714d SHA512 45ee3453404c5d6c56d307b4cd19197de862f9f42d7fa06461acec56dea7146db5675cf6419dd5f72e939b3e4b1955d3761098df1de89a8cebe47645eb6f7a4b +EBUILD fish-2.6.0.ebuild 2089 BLAKE2B 93e47993b0fbf6efad4f3a3e8bd961e9975285c7fe4b46d54d9d65646f92a3f3079cb220150b930675863a334bcb0c096c5a860d45d7de7e1d0a4ef95a9f31f8 SHA512 f4aa8a54f89a8d5bb0a41dba319f75a713ce52681ca1631b06d96e39f4b52f5f5c441ea7420a3e3ea4049e82aef7dc562bfe45955d51644b8abc6c668633fd88 +EBUILD fish-2.7.1.ebuild 2163 BLAKE2B 4dd296054fa3fd0830a94906d881fd57ae735951b089b340b25b4347cf5ac8e2c8989e10bd3bb7dd0ab1a838319d53beeab85fd46a5a7b2aca54635b2be09e5f SHA512 2f646f6a7ed16b33a474c99227d55dd7035fe97a9cb944570af2eca8d1a4041d2b64fbbaa633609d91a6c92f4cecf5e31edb8ee23785228eb1eacda86ab1a4c1 +MISC metadata.xml 739 BLAKE2B 4ab30ae3cb92888979e23f8e6d59e6d09596e945bd683d58d34017f87e080c486eeebda42bd7a346522e4db072b55ad2db5a68d13738cb4ac2aeddeae84c777a SHA512 1c9a1ed56437553376f32f030a2bd50259a3bebc27eb05b288c68769ebda80cbafc54b75d1d1345a4675c9a79bf4a0ed02d94f2e32bfcdc2aa7d171a42570d97 diff --git a/app-shells/fish/fish-2.6.0.ebuild b/app-shells/fish/fish-2.6.0.ebuild new file mode 100644 index 000000000000..2d5bbce6f54d --- /dev/null +++ b/app-shells/fish/fish-2.6.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Friendly Interactive SHell" +HOMEPAGE="http://fishshell.com/" +SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="nls" + +RDEPEND=" + >=dev-libs/libpcre2-10.21[pcre32] + sys-libs/ncurses:0= +" +DEPEND=" + ${RDEPEND} + sys-devel/bc + nls? ( sys-devel/gettext ) +" + +src_configure() { + # Set things up for fish to be a default shell. + # It has to be in /bin in case /usr is unavailable. + # Also, all of its utilities have to be in /bin. + econf \ + docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --bindir="${EPREFIX}"/bin \ + --without-included-pcre2 \ + $(use_with nls gettext) +} + +src_test() { + if has_version ~${CATEGORY}/${P} ; then + emake test + else + ewarn "The test suite only works when the package is already installed" + fi +} + +pkg_postinst() { + elog "fish is now installed on your system." + elog "To run fish, type 'fish' in your terminal." + elog + elog "It is advised not to set fish as a default login shell." + elog "see bug #545830 for more details." + elog "Executing fish using ~/.bashrc is an alternative" + elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details" + elog + elog "To set your colors, run 'fish_config'" + elog "To scan your man pages for completions, run 'fish_update_completions'" + elog "To autocomplete command suggestions press Ctrl + F or right arrow key." + elog + elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the" + elog "browser of your choice to get acces to ${PN}'s help system:" + elog " BROWSER=\"/usr/bin/firefox\"" + elog + elog "In order to get lzma and xz support for man-page completion please" + elog "emerge one of the following packages:" + elog " dev-python/backports-lzma" + elog " >=dev-lang/python-3.3" + elog + elog "If you have issues with cut'n'paste in X-terminals, install the" + elog "x11-misc/xsel package." + elog + elog "Have fun!" +} diff --git a/app-shells/fish/fish-2.7.1.ebuild b/app-shells/fish/fish-2.7.1.ebuild new file mode 100644 index 000000000000..657ee7b3e84c --- /dev/null +++ b/app-shells/fish/fish-2.7.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PV="${PV/_beta/b}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Friendly Interactive SHell" +HOMEPAGE="http://fishshell.com/" +SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ "${PV}" = *_* ]] || \ +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="nls test" + +RDEPEND=" + >=dev-libs/libpcre2-10.21[pcre32] + sys-libs/ncurses:0= +" +DEPEND=" + ${RDEPEND} + sys-devel/bc + nls? ( sys-devel/gettext ) + test? ( dev-tcltk/expect ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + # Set things up for fish to be a default shell. + # It has to be in /bin in case /usr is unavailable. + # Also, all of its utilities have to be in /bin. + econf \ + --bindir="${EPREFIX}"/bin \ + --without-included-pcre2 \ + $(use_with nls gettext) +} + +src_compile() { + emake V=1 +} + +src_install() { + emake DESTDIR="${D}" V=1 install +} + +src_test() { + emake V=1 test +} + +pkg_postinst() { + elog "fish is now installed on your system." + elog "To run fish, type 'fish' in your terminal." + elog + elog "It is advised not to set fish as a default login shell." + elog "see bug #545830 for more details." + elog "Executing fish using ~/.bashrc is an alternative" + elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details" + elog + elog "To set your colors, run 'fish_config'" + elog "To scan your man pages for completions, run 'fish_update_completions'" + elog "To autocomplete command suggestions press Ctrl + F or right arrow key." + elog + elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the" + elog "browser of your choice to get acces to ${PN}'s help system:" + elog " BROWSER=\"/usr/bin/firefox\"" + elog + elog "In order to get lzma and xz support for man-page completion please" + elog "emerge one of the following packages:" + elog " dev-python/backports-lzma" + elog " >=dev-lang/python-3.3" + elog + elog "If you have issues with cut'n'paste in X-terminals, install the" + elog "x11-misc/xsel package." + elog + elog "Have fun!" +} diff --git a/app-shells/fish/metadata.xml b/app-shells/fish/metadata.xml new file mode 100644 index 000000000000..7222485da60e --- /dev/null +++ b/app-shells/fish/metadata.xml @@ -0,0 +1,20 @@ + + + + + gyakovlev@gentoo.org + Georgy Yakovlev + + + polynomial-c@gentoo.org + Lars Wendler + + + Smart and user-friendly command line shell for macOS, Linux, and the rest of the family. + It includes features like syntax highlighting, autosuggest-as-you-type, + and fancy tab completions that just work, with no configuration required. + + + fish-shell/fish-shell + + -- cgit v1.2.3