diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
commit | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch) | |
tree | ade7cb031f363fad64c77139dea7aa3d81908537 /app-shells/fish | |
parent | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff) |
gentoo resync : 16.02.1018
Diffstat (limited to 'app-shells/fish')
-rw-r--r-- | app-shells/fish/Manifest | 2 | ||||
-rw-r--r-- | app-shells/fish/fish-3.0.1.ebuild | 75 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest index 8072ee09883a..24ca3df369cd 100644 --- a/app-shells/fish/Manifest +++ b/app-shells/fish/Manifest @@ -3,7 +3,9 @@ AUX fish-2.7.1-fix-printf-o-handling-on-ppc.patch 408 BLAKE2B 61ca4723e06eb2c969 AUX fix-histfile-test-on-ppc.patch 1068 BLAKE2B fa407d7f5d02f061a3ca9d79bdf09ae6b6f53e28be5832285e91092f4fbb7e5efc31bb1ab7ca2fbf9bec1b91e2f7d57817f5ddee38f2b3f120589fcbea1668f5 SHA512 07fb970b7eec223c3427b6058134101a5c032006d8ec16f2873352e9c701c38fe254506e9ff4e05f2ad684bd192c764452ec957af44a04f1beccf7f47bf58bb0 DIST fish-2.7.1.tar.gz 5760550 BLAKE2B 71568a3a17f4222b05a314464a61fceb241409a7d42c46249486ca742ef0cf990c46d693bcc22521c18f58a558e6aab35759d0da6eb62ee6611a2a7946fe714d SHA512 45ee3453404c5d6c56d307b4cd19197de862f9f42d7fa06461acec56dea7146db5675cf6419dd5f72e939b3e4b1955d3761098df1de89a8cebe47645eb6f7a4b DIST fish-3.0.0.tar.gz 6472393 BLAKE2B 9a8226ca4dce40a7bbc62ad5791c5238d1257cebea296cd97a195438d771d7394acb012be6af118bf355a9b6e391ddee1061d83298356f664e0d5dbe3d859012 SHA512 e4159821d4263e5afb67adee82e30cfed0ad30f3772dd95beb0df71423ff52c21354970f64967f2de9fd1d31caa702208cfd9f2ce281bbf33114f3aa7cd539a2 +DIST fish-3.0.1.tar.gz 6477550 BLAKE2B 31862bee18cc6db9b624850c87816ecc7d2a50671522ecafa887973ff2b9cb890d4880a567570025957064f0c68c4846810373efc03a4c6d616840b553ece625 SHA512 0bbf02d6be658f81e8dbb3a23066878087e1dc9f3abae43ff1c493e1b9d4394944e8fe7d176a3384f290ebd1e0c5325fd78eb7a654bab6b4f21687b24df40ca7 EBUILD fish-2.7.1.ebuild 2420 BLAKE2B 79966656a80d6cc9a62595a9f25cfcb94f9d8e0533858406cd30176a7a2f361fca57d3ca6c5db1af9c26d2336a059564e5746bd4e60dd7e85faf60713b72a44a SHA512 5f16328f26090b2621c12fa2287548b575e634dddb8eece585064d64bb344e2e31065746e8f7060da71172a8f406e73c18cf167cf6c8a18bc527026f0781752a EBUILD fish-3.0.0-r1.ebuild 1691 BLAKE2B 16609403cc4902946841384b4c94fc54aaffbd5c30020aa6b9d16d141b4884c41a0e8fe743e7616031fd09db1096bc08a1458ce8ac6bfdf823a9b2fe7bd4ba8c SHA512 7d5b14ff707b72a5e5eb287b3a867e78cde669711a63b7f60f19a9e18f29983ad4da5eac621ef8f3192f47c8cce88974b5d4f84a95dd23e6d3073bfb7846b697 +EBUILD fish-3.0.1.ebuild 1691 BLAKE2B 16609403cc4902946841384b4c94fc54aaffbd5c30020aa6b9d16d141b4884c41a0e8fe743e7616031fd09db1096bc08a1458ce8ac6bfdf823a9b2fe7bd4ba8c SHA512 7d5b14ff707b72a5e5eb287b3a867e78cde669711a63b7f60f19a9e18f29983ad4da5eac621ef8f3192f47c8cce88974b5d4f84a95dd23e6d3073bfb7846b697 EBUILD fish-9999.ebuild 1619 BLAKE2B 0153dd8b58b2215d878421411226a7b32d7bca3ba69622456506b0c75bfde528a0ba2ad10000c046f87f4b4d77d828a1fa102c56be0f9972707d7017f7ce4e57 SHA512 f695e364fd3cd033775787fab19135bb8c10bdcb9f90d2943d7c62fe12dd8c0f8e4c58ad78577239a7019828b461da3fd820300cc5f0e314b215f72a7a3c9400 MISC metadata.xml 739 BLAKE2B 4ab30ae3cb92888979e23f8e6d59e6d09596e945bd683d58d34017f87e080c486eeebda42bd7a346522e4db072b55ad2db5a68d13738cb4ac2aeddeae84c777a SHA512 1c9a1ed56437553376f32f030a2bd50259a3bebc27eb05b288c68769ebda80cbafc54b75d1d1345a4675c9a79bf4a0ed02d94f2e32bfcdc2aa7d171a42570d97 diff --git a/app-shells/fish/fish-3.0.1.ebuild b/app-shells/fish/fish-3.0.1.ebuild new file mode 100644 index 000000000000..8cc9571025c2 --- /dev/null +++ b/app-shells/fish/fish-3.0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils readme.gentoo-r1 + +DESCRIPTION="Friendly Interactive SHell" +HOMEPAGE="http://fishshell.com/" + +MY_PV="${PV/_beta/b}" +MY_P="${PN}-${MY_PV}" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}-shell/${PN}-shell.git" +else + SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="doc nls test" + +RDEPEND=" + >=dev-libs/libpcre2-10.21[pcre32] + sys-devel/bc + sys-libs/ncurses:0=[unicode] +" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext ) + test? ( dev-tcltk/expect ) +" + +PATCHES=( "${FILESDIR}/fix-histfile-test-on-ppc.patch" ) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # workaround for https://github.com/fish-shell/fish-shell/issues/4883 + sed -i 's#${TEST_INSTALL_DIR}/${CMAKE_INSTALL_PREFIX}#${TEST_INSTALL_DIR}#' \ + cmake/Tests.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_BINDIR="${EPREFIX}/bin" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + -DCURSES_NEED_NCURSES=ON + -DINTERNAL_WCWIDTH=OFF + -DBUILD_DOCS="$(usex doc)" + -DWITH_GETTEXT="$(usex nls)" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + keepdir /usr/share/fish/vendor_{completions,conf,functions}.d + readme.gentoo_create_doc +} + +src_test() { + cmake-utils_src_make -j1 test +} + +pkg_postinst() { + readme.gentoo_print_elog +} |