public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-shells/mcfly/, app-shells/mcfly/files/
@ 2018-12-30  0:01 Georgy Yakovlev
  0 siblings, 0 replies; 2+ messages in thread
From: Georgy Yakovlev @ 2018-12-30  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     eb02746e63ea7bd2f011ec3525ddfe4774f4ecb0
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 23:57:44 2018 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Dec 30 00:01:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb02746e

app-shells/mcfly: bump to 0.3.1

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-shells/mcfly/Manifest                          |   1 +
 .../mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch  |  22 +++++
 app-shells/mcfly/mcfly-0.3.1.ebuild                | 101 +++++++++++++++++++++
 3 files changed, 124 insertions(+)

diff --git a/app-shells/mcfly/Manifest b/app-shells/mcfly/Manifest
index 5d86fbea91a..79edc31bb58 100644
--- a/app-shells/mcfly/Manifest
+++ b/app-shells/mcfly/Manifest
@@ -25,6 +25,7 @@ DIST libsqlite3-sys-0.10.0.crate 2175426 BLAKE2B dc7cbbcb632e2de1e8fcd6372cb0a82
 DIST linked-hash-map-0.4.2.crate 15980 BLAKE2B f31e0dc6f6bb3af355981491e42ce70ac91cbcf059c3d7da8ad2160c40c379bf6d10aab1fdc8400df4497e30ae8dc8c37149ec23084b589fb9a17b8dcf7fbdb4 SHA512 e9ca0dcf09338b8bf2e669eae241b1d07a08c430b2c1fb8adde9a79218aac8f0ad3a13d515202fbf7d0d6f3607e64c4fb3b8b9fe9190655897ae7aeeeb91dbce
 DIST lru-cache-0.1.1.crate 8645 BLAKE2B 027f7051ce930701b97017638f2091efef0b3be330fe1cf534d31c7040c8eb55d73d8e397644584d642e370ed2c109f6df61a6da020f6df5f5756cfccbdf9216 SHA512 f397be62edf59bcb36767e338427684274c3ec900d96f92c75859c61ae52f78c42a551bb298e256b76f65bc7b5765c453a07baa61dcb01bfb93ca8a41612b521
 DIST mcfly-0.2.5.tar.gz 242543 BLAKE2B 6e98cf65dd4184b475d58470eb241aa7f793fd51dc638a77e3407a71bd4e937db75d6f2bbc99d7f34b04ffbf216bfe48339763ca2fb670ac5740b5637bd6d6a9 SHA512 a0b2728d017271e8d7fc62fca08a433dc59bc0d7cc4c0bf1ab3d000fbd6bdb8a0aa94de2fc6334dc9035b654d529a4cbdae239a769a14f0a43723716e7ba46fa
+DIST mcfly-0.3.1.tar.gz 242505 BLAKE2B 178dc23567708593b89daa653ebdb5dab823197c56d9655abf8b15996736cfbc92acdd8643931c669678aab31eb8a14a4771c98373dec816d61ce0fb0e097b4d SHA512 308aeba0243b59d04655ffb06ce8ad20a3b7077543a3232e783581ef453a64f20c9c6fb5869cff23eac818103cc634c466340e8225346fb135c1b7cbe01d72bf
 DIST memchr-2.0.1.crate 9858 BLAKE2B ccf5530245bdcf1b892b98858d1cfd8cdeec3765422f6d1503bfaf3e48744dabfbc1767212b310d1951f1594ec3d4ca09447ca72782ed272cc396113a7f9fef8 SHA512 50daeb73062c30b244c8fec965ff0c69c29571022a9228dafd1ed397164956e39fbe260b8adce33522b5cedcd7f9135500ac45d6bc0b5e72bf9e89ebea0954d1
 DIST nodrop-0.1.12.crate 3033 BLAKE2B 69792f5ac9722dc570749795b6e0e6c6373c44614bf5861846af08d426d18e5929ad3c5b957adf3480e8c77444cec9d33b3e8b272eea9c7200f0cedf0d78e7ac SHA512 8f2856a6467715565ea5b3be181fc957f6cbc885797c15582ef5be5a71089201292ea58f94877496737dfd427b19523228fa4bde49d9413a8399d2e7888b99aa
 DIST pkg-config-0.3.11.crate 13227 BLAKE2B f22a748d9330848379d9bcc32026c9ba4bcffc043495b864af95dde36ce3fe71344bf5b0534aa61574f677b9a3d1ec0e09f774dea0ee57c1810f1e6bd7edc1e4 SHA512 c5e53a9dd777bce55889fdf7028418443896890ff120beb2fda5e5fcc55624aaefc2ac058c2b4bc88519d48bacc477351b0ab1c4d4a65b4e4bf66a69a419aae6

diff --git a/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch b/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch
new file mode 100644
index 00000000000..86d016b9d07
--- /dev/null
+++ b/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch
@@ -0,0 +1,22 @@
+From 51cc1520ee19b241813ecdce82ff26bd84225eeb Mon Sep 17 00:00:00 2001
+From: Melkor333 <samuel@ton-kunst.ch>
+Date: Wed, 26 Dec 2018 20:21:13 +0100
+Subject: [PATCH] fix 'cat /dev/urandom' not closing
+
+---
+ mcfly.bash | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mcfly.bash b/mcfly.bash
+index f2b5be7..84261cd 100644
+--- a/mcfly.bash
++++ b/mcfly.bash
+@@ -5,7 +5,7 @@ if [[ "$__MCFLY_LOADED" == "loaded" ]]; then
+   return 0
+ fi
+ __MCFLY_LOADED="loaded"
+-export MCFLY_SESSION_ID=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 24 | head -n 1)
++export MCFLY_SESSION_ID=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | head -c 24)
+ export MCFLY_HISTORY=$(mktemp -t mcfly.XXXX)
+ export HISTFILE="${HISTFILE:-$HOME/.bash_history}"
+ 

diff --git a/app-shells/mcfly/mcfly-0.3.1.ebuild b/app-shells/mcfly/mcfly-0.3.1.ebuild
new file mode 100644
index 00000000000..db606e07b5f
--- /dev/null
+++ b/app-shells/mcfly/mcfly-0.3.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 2017-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CRATES="
+ansi_term-0.11.0
+argon2rs-0.2.5
+arrayvec-0.4.7
+atty-0.2.10
+backtrace-0.3.9
+backtrace-sys-0.1.24
+bitflags-1.0.3
+blake2-rfc-0.2.18
+cc-1.0.18
+cfg-if-0.1.5
+clap-2.32.0
+cloudabi-0.0.3
+constant_time_eq-0.1.3
+csv-1.0.1
+csv-core-0.1.4
+dirs-1.0.4
+failure-0.1.2
+failure_derive-0.1.2
+fuchsia-zircon-0.3.3
+fuchsia-zircon-sys-0.3.3
+libc-0.2.42
+libsqlite3-sys-0.10.0
+linked-hash-map-0.4.2
+lru-cache-0.1.1
+memchr-2.0.1
+nodrop-0.1.12
+pkg-config-0.3.11
+proc-macro2-0.4.20
+quote-0.6.8
+rand-0.4.3
+rand-0.5.5
+rand_core-0.2.1
+redox_syscall-0.1.40
+redox_termios-0.1.1
+redox_users-0.2.0
+relative-path-0.4.0
+rusqlite-0.15.0
+rustc-demangle-0.1.9
+scoped_threadpool-0.1.9
+serde-1.0.75
+shellexpand-1.0.0
+strsim-0.7.0
+syn-0.14.9
+synstructure-0.9.0
+termion-1.5.1
+textwrap-0.10.0
+time-0.1.40
+unicode-segmentation-1.2.1
+unicode-width-0.1.5
+unicode-xid-0.1.0
+vcpkg-0.2.4
+vec_map-0.8.1
+winapi-0.3.5
+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 (crtl-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="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${P}"-cat-dev-urandom.patch )
+
+src_install() {
+	cargo_src_install
+
+	insinto "/usr/share/${PN}"
+	doins "${PN}.bash"
+
+	einstalldocs
+}
+
+src_test(){
+	cargo test -j $(makeopts_jobs) $(usex debug "" --release) || die "tests failed"
+}
+
+pkg_postinst() {
+	local p="/usr/share/${PN}/${PN}.bash"
+
+	elog "To start using ${PN}"
+	elog "Add the following to your ~/.bashrc"
+	elog
+	elog "[[ -f ${p} ]] && source ${p}"
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-shells/mcfly/, app-shells/mcfly/files/
@ 2019-03-19  0:54 Georgy Yakovlev
  0 siblings, 0 replies; 2+ messages in thread
From: Georgy Yakovlev @ 2019-03-19  0:54 UTC (permalink / raw
  To: gentoo-commits

commit:     10dd4e5fe6c93a140a91bb3c5bf46ae6987d6448
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 19 00:51:42 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 00:51:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10dd4e5f

app-shells/mcfly: drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-shells/mcfly/Manifest                          |  1 -
 .../mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch  | 22 -----
 app-shells/mcfly/mcfly-0.3.1.ebuild                | 97 ----------------------
 3 files changed, 120 deletions(-)

diff --git a/app-shells/mcfly/Manifest b/app-shells/mcfly/Manifest
index 2a10f4492c3..1d09ec379a7 100644
--- a/app-shells/mcfly/Manifest
+++ b/app-shells/mcfly/Manifest
@@ -22,7 +22,6 @@ DIST libc-0.2.42.crate 336080 BLAKE2B 0de0726bfb00ff42d67abf06efa26c1a4f8132b29b
 DIST libsqlite3-sys-0.10.0.crate 2175426 BLAKE2B dc7cbbcb632e2de1e8fcd6372cb0a82ed044db1d8634fa88b4294efb01470528fc86cece8c1ba6c4800a97c39d78bebb4b858efaf7c3c74510f5cf675ca2a1f0 SHA512 df030105952e8e0ca9def15d914a2eb7fb81754c85465788f7a3df5626b647d4af7f93b11f2f6d6e3dba286fd101c779dd51de7f2732084ba9542120cbc0e299
 DIST linked-hash-map-0.4.2.crate 15980 BLAKE2B f31e0dc6f6bb3af355981491e42ce70ac91cbcf059c3d7da8ad2160c40c379bf6d10aab1fdc8400df4497e30ae8dc8c37149ec23084b589fb9a17b8dcf7fbdb4 SHA512 e9ca0dcf09338b8bf2e669eae241b1d07a08c430b2c1fb8adde9a79218aac8f0ad3a13d515202fbf7d0d6f3607e64c4fb3b8b9fe9190655897ae7aeeeb91dbce
 DIST lru-cache-0.1.1.crate 8645 BLAKE2B 027f7051ce930701b97017638f2091efef0b3be330fe1cf534d31c7040c8eb55d73d8e397644584d642e370ed2c109f6df61a6da020f6df5f5756cfccbdf9216 SHA512 f397be62edf59bcb36767e338427684274c3ec900d96f92c75859c61ae52f78c42a551bb298e256b76f65bc7b5765c453a07baa61dcb01bfb93ca8a41612b521
-DIST mcfly-0.3.1.tar.gz 242505 BLAKE2B 178dc23567708593b89daa653ebdb5dab823197c56d9655abf8b15996736cfbc92acdd8643931c669678aab31eb8a14a4771c98373dec816d61ce0fb0e097b4d SHA512 308aeba0243b59d04655ffb06ce8ad20a3b7077543a3232e783581ef453a64f20c9c6fb5869cff23eac818103cc634c466340e8225346fb135c1b7cbe01d72bf
 DIST mcfly-0.3.3.tar.gz 242714 BLAKE2B 05f038bfb502d0dd6938c6ecf2a8f36673a26e7bebd8b8f543f12c500db0b1b431c476384641fc0d66efc9fd537a2c94c0ef41bf26d1b2f78f3ddd551e94b51c SHA512 b68484256421f0e8f11326cc4e321fdc0bdccb9fb01e919c143338ec315c0a69c90e2d9977265096a34d3db5f2709663579e851f41b637903e3d12ca92959631
 DIST memchr-2.0.1.crate 9858 BLAKE2B ccf5530245bdcf1b892b98858d1cfd8cdeec3765422f6d1503bfaf3e48744dabfbc1767212b310d1951f1594ec3d4ca09447ca72782ed272cc396113a7f9fef8 SHA512 50daeb73062c30b244c8fec965ff0c69c29571022a9228dafd1ed397164956e39fbe260b8adce33522b5cedcd7f9135500ac45d6bc0b5e72bf9e89ebea0954d1
 DIST nodrop-0.1.12.crate 3033 BLAKE2B 69792f5ac9722dc570749795b6e0e6c6373c44614bf5861846af08d426d18e5929ad3c5b957adf3480e8c77444cec9d33b3e8b272eea9c7200f0cedf0d78e7ac SHA512 8f2856a6467715565ea5b3be181fc957f6cbc885797c15582ef5be5a71089201292ea58f94877496737dfd427b19523228fa4bde49d9413a8399d2e7888b99aa

diff --git a/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch b/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch
deleted file mode 100644
index 86d016b9d07..00000000000
--- a/app-shells/mcfly/files/mcfly-0.3.1-cat-dev-urandom.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 51cc1520ee19b241813ecdce82ff26bd84225eeb Mon Sep 17 00:00:00 2001
-From: Melkor333 <samuel@ton-kunst.ch>
-Date: Wed, 26 Dec 2018 20:21:13 +0100
-Subject: [PATCH] fix 'cat /dev/urandom' not closing
-
----
- mcfly.bash | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mcfly.bash b/mcfly.bash
-index f2b5be7..84261cd 100644
---- a/mcfly.bash
-+++ b/mcfly.bash
-@@ -5,7 +5,7 @@ if [[ "$__MCFLY_LOADED" == "loaded" ]]; then
-   return 0
- fi
- __MCFLY_LOADED="loaded"
--export MCFLY_SESSION_ID=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 24 | head -n 1)
-+export MCFLY_SESSION_ID=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | head -c 24)
- export MCFLY_HISTORY=$(mktemp -t mcfly.XXXX)
- export HISTFILE="${HISTFILE:-$HOME/.bash_history}"
- 

diff --git a/app-shells/mcfly/mcfly-0.3.1.ebuild b/app-shells/mcfly/mcfly-0.3.1.ebuild
deleted file mode 100644
index 033eae46c97..00000000000
--- a/app-shells/mcfly/mcfly-0.3.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 2017-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CRATES="
-ansi_term-0.11.0
-argon2rs-0.2.5
-arrayvec-0.4.7
-atty-0.2.10
-backtrace-0.3.9
-backtrace-sys-0.1.24
-bitflags-1.0.3
-blake2-rfc-0.2.18
-cc-1.0.18
-cfg-if-0.1.5
-clap-2.32.0
-cloudabi-0.0.3
-constant_time_eq-0.1.3
-csv-1.0.1
-csv-core-0.1.4
-dirs-1.0.4
-failure-0.1.2
-failure_derive-0.1.2
-fuchsia-zircon-0.3.3
-fuchsia-zircon-sys-0.3.3
-libc-0.2.42
-libsqlite3-sys-0.10.0
-linked-hash-map-0.4.2
-lru-cache-0.1.1
-memchr-2.0.1
-nodrop-0.1.12
-pkg-config-0.3.11
-proc-macro2-0.4.20
-quote-0.6.8
-rand-0.4.3
-rand-0.5.5
-rand_core-0.2.1
-redox_syscall-0.1.40
-redox_termios-0.1.1
-redox_users-0.2.0
-relative-path-0.4.0
-rusqlite-0.15.0
-rustc-demangle-0.1.9
-scoped_threadpool-0.1.9
-serde-1.0.75
-shellexpand-1.0.0
-strsim-0.7.0
-syn-0.14.9
-synstructure-0.9.0
-termion-1.5.1
-textwrap-0.10.0
-time-0.1.40
-unicode-segmentation-1.2.1
-unicode-width-0.1.5
-unicode-xid-0.1.0
-vcpkg-0.2.4
-vec_map-0.8.1
-winapi-0.3.5
-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 (crtl-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="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-
-DEPEND=""
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}/${P}"-cat-dev-urandom.patch )
-
-src_install() {
-	cargo_src_install
-
-	insinto "/usr/share/${PN}"
-	doins "${PN}.bash"
-
-	einstalldocs
-}
-
-pkg_postinst() {
-	local p="/usr/share/${PN}/${PN}.bash"
-
-	elog "To start using ${PN}"
-	elog "Add the following to your ~/.bashrc"
-	elog
-	elog "[[ -f ${p} ]] && source ${p}"
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-19  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-19  0:54 [gentoo-commits] repo/gentoo:master commit in: app-shells/mcfly/, app-shells/mcfly/files/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2018-12-30  0:01 Georgy Yakovlev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox