summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-shells/mcfly/Manifest2
-rw-r--r--app-shells/mcfly/mcfly-0.5.6.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/app-shells/mcfly/Manifest b/app-shells/mcfly/Manifest
index 9acea12cf74c..344f731258e1 100644
--- a/app-shells/mcfly/Manifest
+++ b/app-shells/mcfly/Manifest
@@ -20,6 +20,7 @@ DIST dirs-2.0.2.crate 11779 BLAKE2B d1a6152d05a98eacff15c6c7f1f550d475b5a1cf62e5
DIST dirs-sys-0.3.4.crate 10477 BLAKE2B 062083f8469ab0d9f1c62c9213b66837e96e4e74ad2d167d5e7a1e3568c7f5432d6f254a248869117ceebdf3f2282231365173f7c6d5941dce42220ac51668b0 SHA512 af36976d97eca3dae3e0a53ea7e4cbefe4e3a4f5277fae5974d7e958e6a880f75b72128b1854320314e3f4da9b625bee7b55bc5331e561ecb3502462f82163f1
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
DIST getrandom-0.1.14.crate 24698 BLAKE2B 8139227951eb65cc2bb7bba29291c0e8ff0b8d9a8e2d7eabb01682d1683c989c44b6195952ec7d087c338538c1d6858c45514822625266e0996829e8c50f3d17 SHA512 b5cb78ae81f31fffd7d720f9ea2b5917b4eac103711faf656a3a3fdd24ae5a2e671016d39309cdd11f902de919187311401dd8fe9e6ed68c29b83987de77c957
+DIST getrandom_package-0.1.20.crate 883 BLAKE2B b72ca1dac1e8745b3a8b49423c73340b0876eb507ecefb619bdc47c48b1320c2f2653bea9f370c0988b3103ff543ac6c22f915b7c48ab108af15126f8187047d SHA512 6152ce07fabbbb3176484e38493dc1099ebe4a56b573361a92fb624f8bb784ecd8f16f8ecdef988699156aace636548c8300b205371a90fbf14379cb257b41ae
DIST hermit-abi-0.1.12.crate 9217 BLAKE2B aecc8c743241596ef4dceaa61b4ac36ee0a2501e97eac976c733638cbc8a3c4926b9e231404a67a3687aae03049ad8ebb10fdba2d8c72002c0c08a2f8f76e3ec SHA512 7c2c7950f2b70dc64ef7c111b7790d7128b49c91aba9c063e11a3e09070b28171de6b77d1f31b4ca0c1642e61bf4b9d50e41d72b9c9228bdd1749347eb753df2
DIST itertools-0.9.0.crate 96429 BLAKE2B 36d3b1dec7ece85639337f1a40a00330a5216ea8c460d13e52f0f9fea71bed5b3914cc4a7e05b407ed41e0dbc2292ae5873b3481297edcd92ec547866d044b8c SHA512 1c6650060750f3073140c4a77fc4d1acffa7d18320012807df0e20ab06ddb39afa7f086d89626e3909f89dc1f0408c9ccee4dd9454ca1f7a6a145bb213e7c5ce
DIST itoa-0.4.5.crate 11194 BLAKE2B d8f0e2aaf62152c187e0987ab4b0cf842ac13255262a9ccbf8484d730ea5397572791c023d2363d0562c18c8efd2418680583e99a1f5d14450b3f0184dce69ca SHA512 79ff8774524130a4729d5e708a4a4a837b3e5052384a12c22db4ae3e208dc4391ee185365f685137a8ba55ea7dc3499f8cddddb2fd98b84177ab292c264034d3
@@ -29,6 +30,7 @@ DIST libsqlite3-sys-0.10.0.crate 2175426 BLAKE2B dc7cbbcb632e2de1e8fcd6372cb0a82
DIST linked-hash-map-0.5.3.crate 16130 BLAKE2B 20ca73044271533d2da6bb6ca863a192b61231760fddb82ac373a34fe63d92efe5b841fa401b9aa509cc1e05b86cf672eae3f26ab5c07c7b0c25e764e128344e SHA512 90ec22fcd830ccfdefd1f7c480c5cebd5e95c822e0c28fff9ccf00bfbdda080c17a722697fdc991ee04a4a32e974309440a91284bc13c9ee70284e4e247d33b1
DIST lru-cache-0.1.2.crate 9307 BLAKE2B 606072bc5390a13cf24b4c64c77ba7f84c4c2b1a73c4abe8ead4e1d19067b063888d5cbe478dc9108d193f0a66aa5fb2ddc073f3edfac466de34f85a52a15ef2 SHA512 ecc67b4b2ed8d3596816c47e9c6aa242c7bdd1ee8087646e90c27a60d59175f661ec3ef82058c196bef2abdd302d429b7ea4279169689254a9f322dfd5697bf1
DIST mcfly-0.5.3.tar.gz 201851 BLAKE2B e9be0b18ca8bfc423fd01634544f8795da3334f69c3a7fb1782322f96daa41d954ac69af88ea76294b4379fc5acd3aa677e92cb2ecc72df0941347b735f259ef SHA512 058a2cd95eb6f2bc0ff7af4f56b109e18624e86c8924da96d79ec032aeed11c5a710f38216ee9958d8affedbeee429241bae4a6fa5570d7812becfb2f4176632
+DIST mcfly-0.5.6.tar.gz 202647 BLAKE2B 9acd3eb94c3c36991a2f990d9cab8b327e064e639651c1664e2306ed3e2716609c0c9e8aeed8e4bf26c0e5daab078b61f982342ab06964bede644dda039ae341 SHA512 0e715a292df56170056aef3de9310671e6e6763741b5b918c14f55d74f24f8310a284e22e7697b994d304044a7fafdbc42049694b688f05c5598582ea743da1b
DIST memchr-2.3.3.crate 22566 BLAKE2B f952070b98ef30f0d2780a6efbeb36d295710734f678517d913a8002cafebbd3cfc38975fc4546d306efc11bc815764d14320af3b7a2360bd46fc2ab3db9efa5 SHA512 922e05da920d0d94226857788878ee5e31518cd80d95ae57e1d7ecd233942c37d01565525db2f1dfdfd5b3b1f81b2c73eee058cbfd745cb4e1519518318df248
DIST numtoa-0.1.0.crate 8999 BLAKE2B 6a8cbf17458227fa87bdd6a35404e09afc092a1ea45d68c6c035e08a9d344fdb356b1bc7b52239dd6354ed9094e9338ccac599542bd7f0caf167ab8d17ad5fa7 SHA512 41b5c774048592c5867fba217c85d4ece4540e0f3ab0eea7dd1a6af340ba46dae42bbca62ea7fe3afdb258660f39a3d3082264c99dea67d3d1ae178d00a01354
DIST pkg-config-0.3.17.crate 14533 BLAKE2B 729b15209bbbee8a6d3854e30a89b3e6041ca3cf7b1460ff6008e37866e326d9ec8b4ac582c125676e31eefa048b143beda33432b95f00a8f51cc7fa33ee4986 SHA512 42be78556adc07dffa8933ab1436d5d6a776018898377d58dfdc9f961981f9f21397301b41536c55d8a3772bf74a38069899d1a5cddce5c24a032017137044bc
diff --git a/app-shells/mcfly/mcfly-0.5.6.ebuild b/app-shells/mcfly/mcfly-0.5.6.ebuild
new file mode 100644
index 000000000000..8873fee30d3b
--- /dev/null
+++ b/app-shells/mcfly/mcfly-0.5.6.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
+getrandom_package-0.1.20
+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}"
+}