From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9384313835C for ; Sun, 28 Feb 2021 09:03:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57B3BE0885; Sun, 28 Feb 2021 09:03:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40B73E0886 for ; Sun, 28 Feb 2021 09:03:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63B0D340E56 for ; Sun, 28 Feb 2021 09:03:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D875573 for ; Sun, 28 Feb 2021 09:03:20 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1614502987.f1b6efce1f2a088f877f3e06d98c6f72abce3a9b.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/mcfly/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/mcfly/mcfly-0.5.3-r1.ebuild X-VCS-Directories: app-shells/mcfly/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f1b6efce1f2a088f877f3e06d98c6f72abce3a9b X-VCS-Branch: master Date: Sun, 28 Feb 2021 09:03:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a7ac7109-dc6e-4c97-b106-eeec51c2cadf X-Archives-Hash: f3a78605379f664921c3a882deb46875 commit: f1b6efce1f2a088f877f3e06d98c6f72abce3a9b Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Feb 20 09:35:43 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Feb 28 09:03:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b6efce app-shells/mcfly: install fish/zsh integration Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/770088 Signed-off-by: Joonas Niilola gentoo.org> app-shells/mcfly/mcfly-0.5.3-r1.ebuild | 114 +++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/app-shells/mcfly/mcfly-0.5.3-r1.ebuild b/app-shells/mcfly/mcfly-0.5.3-r1.ebuild new file mode 100644 index 00000000000..f5542eb9926 --- /dev/null +++ b/app-shells/mcfly/mcfly-0.5.3-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2017-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.7.10 +ansi_term-0.11.0 +arrayref-0.3.6 +arrayvec-0.5.1 +atty-0.2.14 +autocfg-1.0.0 +base64-0.11.0 +bitflags-1.2.1 +blake2b_simd-0.5.10 +bstr-0.2.12 +byteorder-1.3.4 +cc-1.0.52 +cfg-if-0.1.10 +clap-2.33.0 +constant_time_eq-0.1.5 +crossbeam-utils-0.7.2 +csv-1.1.3 +csv-core-0.1.10 +dirs-2.0.2 +dirs-sys-0.3.4 +either-1.6.1 +getrandom-0.1.14 +hermit-abi-0.1.12 +itertools-0.9.0 +itoa-0.4.5 +lazy_static-1.4.0 +libc-0.2.69 +libsqlite3-sys-0.10.0 +linked-hash-map-0.5.3 +lru-cache-0.1.2 +memchr-2.3.3 +numtoa-0.1.0 +pkg-config-0.3.17 +ppv-lite86-0.2.6 +rand-0.7.3 +rand_chacha-0.2.2 +rand_core-0.5.1 +rand_hc-0.2.0 +redox_syscall-0.1.56 +redox_termios-0.1.1 +redox_users-0.3.4 +regex-1.3.7 +regex-automata-0.1.9 +regex-syntax-0.6.17 +relative-path-1.0.0 +rusqlite-0.15.0 +rust-argon2-0.7.0 +ryu-1.0.4 +serde-1.0.106 +shellexpand-2.0.0 +strsim-0.8.0 +termion-1.5.5 +textwrap-0.11.0 +thread_local-1.0.1 +time-0.1.43 +unicode-segmentation-1.6.0 +unicode-width-0.1.7 +vcpkg-0.2.8 +vec_map-0.8.2 +wasi-0.9.0+wasi-snapshot-preview1 +winapi-0.3.8 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo + +DESCRIPTION="Context-aware bash history search replacement (ctrl-r)" +HOMEPAGE="https://github.com/cantino/mcfly" +SRC_URI="https://github.com/cantino/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-db/sqlite:3" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED="/usr/bin/mcfly" + +src_install() { + cargo_src_install + + insinto "/usr/share/${PN}" + doins "${PN}".{bash,fish,zsh} + + einstalldocs +} + +pkg_postinst() { + + elog "To start using ${PN}, add the following to your shell:" + elog + elog "~/.bashrc" + local p="${EPREFIX}/usr/share/${PN}/${PN}.bash" + elog "[[ -f ${p} ]] && source ${p}" + elog + elog "~/.config/fish/config.fish" + local p="${EPREFIX}/usr/share/${PN}/${PN}.fish" + elog "if test -r ${p}" + elog " source ${p}" + elog " mcfly_key_bindings" + elog + elog "~/.zsh" + local p="${EPREFIX}/usr/share/${PN}/${PN}.zsh" + elog "[[ -f ${p} ]] && source ${p}" +}