1 |
commit: b2fd53f03c5ca0df1d8aeb67d4818556776fda22 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 28 18:33:10 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 28 18:38:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fd53f0 |
7 |
|
8 |
app-shells/fish: bump to 3.0.0 |
9 |
|
10 |
fish 3 is a major release, which introduces some breaking changes. |
11 |
Although most existing scripts will continue to work, |
12 |
they should be reviewed against the list contained below. |
13 |
|
14 |
Release notes: https://github.com/fish-shell/fish-shell/releases/tag/3.0.0 |
15 |
|
16 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
17 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
18 |
|
19 |
app-shells/fish/Manifest | 1 + |
20 |
app-shells/fish/fish-3.0.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 73 insertions(+) |
22 |
|
23 |
diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest |
24 |
index 85645e50d3b..247bec50bdc 100644 |
25 |
--- a/app-shells/fish/Manifest |
26 |
+++ b/app-shells/fish/Manifest |
27 |
@@ -1,3 +1,4 @@ |
28 |
DIST fish-2.6.0.tar.gz 3575346 BLAKE2B 8697dc6e50836d93d0ed22663e86016fec8e567cd4e129ea92008f52da6dd629bf11b70719beabe5c08bd3d7ba43d8017441f103d49a82c0faec3bc749e83764 SHA512 d4ded5ce24600e85673a7bb016e9dc36bce999b27f40e6b1ce0b9ca49a421be2d444d9d2b6f178f6eee963e59daa4a65df4c3de2a8086a610486f758fcfb0ed1 |
29 |
DIST fish-2.7.1.tar.gz 5760550 BLAKE2B 71568a3a17f4222b05a314464a61fceb241409a7d42c46249486ca742ef0cf990c46d693bcc22521c18f58a558e6aab35759d0da6eb62ee6611a2a7946fe714d SHA512 45ee3453404c5d6c56d307b4cd19197de862f9f42d7fa06461acec56dea7146db5675cf6419dd5f72e939b3e4b1955d3761098df1de89a8cebe47645eb6f7a4b |
30 |
+DIST fish-3.0.0.tar.gz 6472393 BLAKE2B 9a8226ca4dce40a7bbc62ad5791c5238d1257cebea296cd97a195438d771d7394acb012be6af118bf355a9b6e391ddee1061d83298356f664e0d5dbe3d859012 SHA512 e4159821d4263e5afb67adee82e30cfed0ad30f3772dd95beb0df71423ff52c21354970f64967f2de9fd1d31caa702208cfd9f2ce281bbf33114f3aa7cd539a2 |
31 |
DIST fish-3.0b1.tar.gz 6471932 BLAKE2B d65ed7e7f4de1f967f5f2090b01be86b778a46f8e5c112daf99234bc584e01992c466976d6547814f84730d1092e39bc3f2bfa55592e71bf1a93a42fb8846b34 SHA512 f13c4ca9e62ecdd6afc4961cb4f6ec5d4b7f51b9c3b3ba97f280b7a9ed2cdeb9be193ff58b9f556b01af0815b78ab540f25c473a253651c96db03f8cb1652dde |
32 |
|
33 |
diff --git a/app-shells/fish/fish-3.0.0.ebuild b/app-shells/fish/fish-3.0.0.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..cc6e0bba617 |
36 |
--- /dev/null |
37 |
+++ b/app-shells/fish/fish-3.0.0.ebuild |
38 |
@@ -0,0 +1,72 @@ |
39 |
+# Copyright 1999-2018 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+inherit cmake-utils readme.gentoo-r1 |
45 |
+ |
46 |
+DESCRIPTION="Friendly Interactive SHell" |
47 |
+HOMEPAGE="http://fishshell.com/" |
48 |
+ |
49 |
+MY_PV="${PV/_beta/b}" |
50 |
+MY_P="${PN}-${MY_PV}" |
51 |
+ |
52 |
+if [[ ${PV} == "9999" ]]; then |
53 |
+ inherit git-r3 |
54 |
+ EGIT_REPO_URI="https://github.com/${PN}-shell/${PN}-shell.git" |
55 |
+else |
56 |
+ SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.gz" |
57 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
58 |
+fi |
59 |
+ |
60 |
+LICENSE="GPL-2" |
61 |
+SLOT="0" |
62 |
+ |
63 |
+IUSE="doc nls test" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ >=dev-libs/libpcre2-10.21[pcre32] |
67 |
+ sys-devel/bc |
68 |
+ sys-libs/ncurses:0= |
69 |
+" |
70 |
+ |
71 |
+DEPEND="${RDEPEND} |
72 |
+ doc? ( app-doc/doxygen ) |
73 |
+ nls? ( sys-devel/gettext ) |
74 |
+ test? ( dev-tcltk/expect ) |
75 |
+" |
76 |
+ |
77 |
+S="${WORKDIR}/${MY_P}" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ # workaround for https://github.com/fish-shell/fish-shell/issues/4883 |
81 |
+ sed -i 's#${TEST_INSTALL_DIR}/${CMAKE_INSTALL_PREFIX}#${TEST_INSTALL_DIR}#' \ |
82 |
+ cmake/Tests.cmake || die |
83 |
+ cmake-utils_src_prepare |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local mycmakeargs=( |
88 |
+ -DCMAKE_INSTALL_BINDIR="${EPREFIX}/bin" |
89 |
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" |
90 |
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" |
91 |
+ -DINTERNAL_WCWIDTH=OFF |
92 |
+ -DBUILD_DOCS="$(usex doc)" |
93 |
+ -DWITH_GETTEXT="$(usex nls)" |
94 |
+ ) |
95 |
+ cmake-utils_src_configure |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ cmake-utils_src_install |
100 |
+ keepdir /usr/share/fish/vendor_{completions,conf,functions}.d |
101 |
+ readme.gentoo_create_doc |
102 |
+} |
103 |
+ |
104 |
+src_test() { |
105 |
+ cmake-utils_src_make -j1 test |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ readme.gentoo_print_elog |
110 |
+} |