Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fish/
Date: Fri, 28 Dec 2018 18:39:22
Message-Id: 1546022318.636995d7cb5939c91938f9c56c38084b9ba0eb24.gyakovlev@gentoo
1 commit: 636995d7cb5939c91938f9c56c38084b9ba0eb24
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 28 18:35:01 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 28 18:38:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636995d7
7
8 app-shells/fish: drop old
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 app-shells/fish/Manifest | 2 -
14 app-shells/fish/fish-2.6.0.ebuild | 70 ----------------------------------
15 app-shells/fish/fish-3.0_beta1.ebuild | 72 -----------------------------------
16 3 files changed, 144 deletions(-)
17
18 diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest
19 index 247bec50bdc..f6ea60fabfe 100644
20 --- a/app-shells/fish/Manifest
21 +++ b/app-shells/fish/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST fish-2.6.0.tar.gz 3575346 BLAKE2B 8697dc6e50836d93d0ed22663e86016fec8e567cd4e129ea92008f52da6dd629bf11b70719beabe5c08bd3d7ba43d8017441f103d49a82c0faec3bc749e83764 SHA512 d4ded5ce24600e85673a7bb016e9dc36bce999b27f40e6b1ce0b9ca49a421be2d444d9d2b6f178f6eee963e59daa4a65df4c3de2a8086a610486f758fcfb0ed1
24 DIST fish-2.7.1.tar.gz 5760550 BLAKE2B 71568a3a17f4222b05a314464a61fceb241409a7d42c46249486ca742ef0cf990c46d693bcc22521c18f58a558e6aab35759d0da6eb62ee6611a2a7946fe714d SHA512 45ee3453404c5d6c56d307b4cd19197de862f9f42d7fa06461acec56dea7146db5675cf6419dd5f72e939b3e4b1955d3761098df1de89a8cebe47645eb6f7a4b
25 DIST fish-3.0.0.tar.gz 6472393 BLAKE2B 9a8226ca4dce40a7bbc62ad5791c5238d1257cebea296cd97a195438d771d7394acb012be6af118bf355a9b6e391ddee1061d83298356f664e0d5dbe3d859012 SHA512 e4159821d4263e5afb67adee82e30cfed0ad30f3772dd95beb0df71423ff52c21354970f64967f2de9fd1d31caa702208cfd9f2ce281bbf33114f3aa7cd539a2
26 -DIST fish-3.0b1.tar.gz 6471932 BLAKE2B d65ed7e7f4de1f967f5f2090b01be86b778a46f8e5c112daf99234bc584e01992c466976d6547814f84730d1092e39bc3f2bfa55592e71bf1a93a42fb8846b34 SHA512 f13c4ca9e62ecdd6afc4961cb4f6ec5d4b7f51b9c3b3ba97f280b7a9ed2cdeb9be193ff58b9f556b01af0815b78ab540f25c473a253651c96db03f8cb1652dde
27
28 diff --git a/app-shells/fish/fish-2.6.0.ebuild b/app-shells/fish/fish-2.6.0.ebuild
29 deleted file mode 100644
30 index 2d5bbce6f54..00000000000
31 --- a/app-shells/fish/fish-2.6.0.ebuild
32 +++ /dev/null
33 @@ -1,70 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -DESCRIPTION="Friendly Interactive SHell"
40 -HOMEPAGE="http://fishshell.com/"
41 -SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${PV}/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
46 -IUSE="nls"
47 -
48 -RDEPEND="
49 - >=dev-libs/libpcre2-10.21[pcre32]
50 - sys-libs/ncurses:0=
51 -"
52 -DEPEND="
53 - ${RDEPEND}
54 - sys-devel/bc
55 - nls? ( sys-devel/gettext )
56 -"
57 -
58 -src_configure() {
59 - # Set things up for fish to be a default shell.
60 - # It has to be in /bin in case /usr is unavailable.
61 - # Also, all of its utilities have to be in /bin.
62 - econf \
63 - docdir="${EPREFIX}"/usr/share/doc/${PF} \
64 - --bindir="${EPREFIX}"/bin \
65 - --without-included-pcre2 \
66 - $(use_with nls gettext)
67 -}
68 -
69 -src_test() {
70 - if has_version ~${CATEGORY}/${P} ; then
71 - emake test
72 - else
73 - ewarn "The test suite only works when the package is already installed"
74 - fi
75 -}
76 -
77 -pkg_postinst() {
78 - elog "fish is now installed on your system."
79 - elog "To run fish, type 'fish' in your terminal."
80 - elog
81 - elog "It is advised not to set fish as a default login shell."
82 - elog "see bug #545830 for more details."
83 - elog "Executing fish using ~/.bashrc is an alternative"
84 - elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details"
85 - elog
86 - elog "To set your colors, run 'fish_config'"
87 - elog "To scan your man pages for completions, run 'fish_update_completions'"
88 - elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
89 - elog
90 - elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the"
91 - elog "browser of your choice to get acces to ${PN}'s help system:"
92 - elog " BROWSER=\"/usr/bin/firefox\""
93 - elog
94 - elog "In order to get lzma and xz support for man-page completion please"
95 - elog "emerge one of the following packages:"
96 - elog " dev-python/backports-lzma"
97 - elog " >=dev-lang/python-3.3"
98 - elog
99 - elog "If you have issues with cut'n'paste in X-terminals, install the"
100 - elog "x11-misc/xsel package."
101 - elog
102 - elog "Have fun!"
103 -}
104
105 diff --git a/app-shells/fish/fish-3.0_beta1.ebuild b/app-shells/fish/fish-3.0_beta1.ebuild
106 deleted file mode 100644
107 index cc6e0bba617..00000000000
108 --- a/app-shells/fish/fish-3.0_beta1.ebuild
109 +++ /dev/null
110 @@ -1,72 +0,0 @@
111 -# Copyright 1999-2018 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -inherit cmake-utils readme.gentoo-r1
117 -
118 -DESCRIPTION="Friendly Interactive SHell"
119 -HOMEPAGE="http://fishshell.com/"
120 -
121 -MY_PV="${PV/_beta/b}"
122 -MY_P="${PN}-${MY_PV}"
123 -
124 -if [[ ${PV} == "9999" ]]; then
125 - inherit git-r3
126 - EGIT_REPO_URI="https://github.com/${PN}-shell/${PN}-shell.git"
127 -else
128 - SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.gz"
129 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
130 -fi
131 -
132 -LICENSE="GPL-2"
133 -SLOT="0"
134 -
135 -IUSE="doc nls test"
136 -
137 -RDEPEND="
138 - >=dev-libs/libpcre2-10.21[pcre32]
139 - sys-devel/bc
140 - sys-libs/ncurses:0=
141 -"
142 -
143 -DEPEND="${RDEPEND}
144 - doc? ( app-doc/doxygen )
145 - nls? ( sys-devel/gettext )
146 - test? ( dev-tcltk/expect )
147 -"
148 -
149 -S="${WORKDIR}/${MY_P}"
150 -
151 -src_prepare() {
152 - # workaround for https://github.com/fish-shell/fish-shell/issues/4883
153 - sed -i 's#${TEST_INSTALL_DIR}/${CMAKE_INSTALL_PREFIX}#${TEST_INSTALL_DIR}#' \
154 - cmake/Tests.cmake || die
155 - cmake-utils_src_prepare
156 -}
157 -
158 -src_configure() {
159 - local mycmakeargs=(
160 - -DCMAKE_INSTALL_BINDIR="${EPREFIX}/bin"
161 - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
162 - -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
163 - -DINTERNAL_WCWIDTH=OFF
164 - -DBUILD_DOCS="$(usex doc)"
165 - -DWITH_GETTEXT="$(usex nls)"
166 - )
167 - cmake-utils_src_configure
168 -}
169 -
170 -src_install() {
171 - cmake-utils_src_install
172 - keepdir /usr/share/fish/vendor_{completions,conf,functions}.d
173 - readme.gentoo_create_doc
174 -}
175 -
176 -src_test() {
177 - cmake-utils_src_make -j1 test
178 -}
179 -
180 -pkg_postinst() {
181 - readme.gentoo_print_elog
182 -}