commit:     15ac2c46f2395c59eb197b5e0dff8a3d5d108de1
Author:     Andrew Udvare <audvare <AT> gmail <DOT> com>
AuthorDate: Mon Dec 22 03:10:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 12:10:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15ac2c46

app-shells/mcfly: add 0.9.3

Signed-off-by: Andrew Udvare <audvare <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45120
Closes: https://github.com/gentoo/gentoo/pull/45120
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/mcfly/Manifest           |  2 ++
 app-shells/mcfly/mcfly-0.9.3.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-shells/mcfly/Manifest b/app-shells/mcfly/Manifest
index 17a4d76569bf..4ae9eafd1035 100644
--- a/app-shells/mcfly/Manifest
+++ b/app-shells/mcfly/Manifest
@@ -33,6 +33,8 @@ DIST lru-cache-0.1.2.crate 9307 BLAKE2B 
606072bc5390a13cf24b4c64c77ba7f84c4c2b1a
 DIST mcfly-0.5.13.tar.gz 208538 BLAKE2B 
93a63a7e2f78d914e6c1a098eb7139c2c23a30afeed7779991abd0f492e8401703e117556d5378150403fd4baf0ff700cbff438396dff07808223f7ef67286df
 SHA512 
cd95457fd0063e828eb6882b61d2368159412e33c584d3c48cb4b58898f1c930d0d5fa77d19edeedb4489b4d5641dcbfe9994afc95927d9d774d0a71be82682b
 DIST mcfly-0.9.0-crates.tar.xz 17684480 BLAKE2B 
1ee72b8611c3ccf7e6938734c271d1e37d0d2b1ef65d5f5682204ff870a3fdf242b197745b8e733828508b3bf48021cebe87e4fa601adc943e45cc0493b286bf
 SHA512 
f11f64b1f7fa559368277ea4903606e4c61aa14377feff3f66d70b9ae86e29c87445c0fc8e8e93f1a00aa1984fbe07531a8f5ca6bfb4b208b26b409e9b2ce7e1
 DIST mcfly-0.9.0.tar.gz 227470 BLAKE2B 
a2a62aebd77b1908a1cd8bb49bfc06d4c5a854f96d66b2d1db122dc9b7138d90c303e4363f33bd69f319d0db70f05d1c6ad71956d020e10c5fe82e632a9ecd67
 SHA512 
29014e8251a11aff75cd385fcc62f1f2dc7f91f91410317758f2ebf863d417c30247f2915b9df44146bf232b581de4745f948f188d7c31065ce3036d5588dc44
+DIST mcfly-0.9.3-crates.tar.xz 18182168 BLAKE2B 
175439ab7fb5e544af23287dacfec356ca1ded331e504e422a511a2aa67938d27eaa08e85818eeace803ed72ff475889275990f92a6946309b7ad95913ac6aac
 SHA512 
8710659d0b371d01ececadc9a84e357e4500da103d1e05124d4b63bce45cb9bde16e2cf11b956c8b4abc2cc501408d5c7a8e07ded7f0727bc0c5f2028459bb38
+DIST mcfly-0.9.3.tar.gz 229171 BLAKE2B 
300c2e6b8e559510165f85645127143fc734f3f76c92759daaf5920a97ca988e6082edc41e00fadf85c9bbb0ae3b7e7c8835ba4a37fd98866e2dfeb7606ace05
 SHA512 
18ad0b53ca1a306041dbaa9af6118d9e1398dc9c63bb4febe24ec2aa935e3d5390c3533b75784433b54a3d8c289ba40972537bcdcc0ca4f5af47356148cf207e
 DIST memchr-2.3.3.crate 22566 BLAKE2B 
f952070b98ef30f0d2780a6efbeb36d295710734f678517d913a8002cafebbd3cfc38975fc4546d306efc11bc815764d14320af3b7a2360bd46fc2ab3db9efa5
 SHA512 
922e05da920d0d94226857788878ee5e31518cd80d95ae57e1d7ecd233942c37d01565525db2f1dfdfd5b3b1f81b2c73eee058cbfd745cb4e1519518318df248
 DIST num-integer-0.1.44.crate 22216 BLAKE2B 
e1c08427e006cde6f2084adadb6086e87e6d6f8bb8dfa757a8228aa671e862a366e4bd8ca5e0500008c18bab128aead9bd5b1e53568a4f40afadcaf3882ee98f
 SHA512 
d07e27ede02a1d007373935fd91e57a26e0e84ae14bbe24be66763baae6850788bd64ad2598d2bde4f4fad6c8a4675c40bfe0927164b16b9b69de5e9a83d9771
 DIST num-traits-0.2.14.crate 45476 BLAKE2B 
ae310d9d5640acc3e45e1e5d1d2f519539795922c0058ee940c94c94b6654b39358b7c18dd23a276f2c1b16a30dd4de4cbc8575bcda6a5c11e70665d670e6439
 SHA512 
c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e

diff --git a/app-shells/mcfly/mcfly-0.9.3.ebuild 
b/app-shells/mcfly/mcfly-0.9.3.ebuild
new file mode 100644
index 000000000000..5099c793b015
--- /dev/null
+++ b/app-shells/mcfly/mcfly-0.9.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2017-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+RUST_MIN_VER="1.75.0"
+
+inherit cargo readme.gentoo-r1
+
+DESCRIPTION="Context-aware bash history search replacement (ctrl-r)"
+HOMEPAGE="https://github.com/cantino/mcfly";
+SRC_URI="https://github.com/cantino/mcfly/archive/v${PV}.tar.gz -> ${P}.tar.gz
+       ${CARGO_CRATE_URIS}"
+SRC_URI+="https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz";
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB
+       || ( Apache-2.0 Boost-1.0 )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+QA_FLAGS_IGNORED="usr/bin/mcfly"
+
+src_install() {
+       cargo_src_install
+
+       insinto /usr/share/${PN}
+       doins ${PN}.{bash,fish,zsh}
+
+       # create README.gentoo
+       local DISABLE_AUTOFORMATTING="yes"
+       local DOC_CONTENTS=\
+"To start using ${PN}, add the following to your shell:
+
+~/.bashrc
+eval \"\$(mcfly init bash)\"
+
+~/.config/fish/config.fish
+mcfly init fish | source
+
+~/.zsh
+eval \"\$(mcfly init zsh)\""
+       readme.gentoo_create_doc
+
+       einstalldocs
+}
+
+pkg_postinst() {
+       readme.gentoo_print_elog
+}

Reply via email to