From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/
Date: Sun, 18 Mar 2018 02:38:29 +0000 (UTC) [thread overview]
Message-ID: <1521338439.83a37b26ab6136b35baa1f1867c8766ae8e8c023.perfinion@gentoo> (raw)
commit: 83a37b26ab6136b35baa1f1867c8766ae8e8c023
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 18 02:00:17 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Mar 18 02:00:39 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a37b26
net-misc/rclone: Add bash & zfs autocompletion
Closes: https://bugs.gentoo.org/650726
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-misc/rclone/rclone-1.39.ebuild | 17 +++++++++++++----
net-misc/rclone/rclone-9999.ebuild | 11 +++++++++--
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/net-misc/rclone/rclone-1.39.ebuild b/net-misc/rclone/rclone-1.39.ebuild
index ab1b0c69b3d..2c530609ee7 100644
--- a/net-misc/rclone/rclone-1.39.ebuild
+++ b/net-misc/rclone/rclone-1.39.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-
-inherit golang-build
-
+inherit golang-build bash-completion-r1
EGO_PN="github.com/ncw/${PN}"
if [[ ${PV} == *9999* ]]; then
@@ -21,9 +19,20 @@ HOMEPAGE="https://rclone.org/"
LICENSE="MIT"
SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
src_install() {
dobin ${PN}
doman src/${EGO_PN}/${PN}.1
dodoc src/${EGO_PN}/README.md
+
+ ./rclone genautocomplete bash ${PN}.bash || die
+ newbashcomp ${PN}.bash ${PN}
+
+ ./rclone genautocomplete zsh ${PN}.zsh || die
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
}
diff --git a/net-misc/rclone/rclone-9999.ebuild b/net-misc/rclone/rclone-9999.ebuild
index 0c936bdca50..2c530609ee7 100644
--- a/net-misc/rclone/rclone-9999.ebuild
+++ b/net-misc/rclone/rclone-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit golang-build
+inherit golang-build bash-completion-r1
EGO_PN="github.com/ncw/${PN}"
if [[ ${PV} == *9999* ]]; then
@@ -28,4 +28,11 @@ src_install() {
dobin ${PN}
doman src/${EGO_PN}/${PN}.1
dodoc src/${EGO_PN}/README.md
+
+ ./rclone genautocomplete bash ${PN}.bash || die
+ newbashcomp ${PN}.bash ${PN}
+
+ ./rclone genautocomplete zsh ${PN}.zsh || die
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
}
next reply other threads:[~2018-03-18 2:38 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-18 2:38 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 19:34 [gentoo-commits] repo/gentoo:master commit in: net-misc/rclone/ Maciej Barć
2025-02-24 8:16 Arthur Zamarin
2025-02-23 16:09 Arthur Zamarin
2025-02-23 14:25 Arthur Zamarin
2025-02-18 19:21 Arthur Zamarin
2025-02-18 19:21 Arthur Zamarin
2025-01-22 16:20 Maciej Barć
2025-01-21 23:04 Maciej Barć
2024-12-28 17:38 Sam James
2024-12-28 15:59 Sam James
2024-12-13 18:02 Maciej Barć
2024-11-28 0:09 Jakov Smolić
2024-11-27 22:10 Maciej Barć
2024-11-23 20:15 Arthur Zamarin
2024-09-28 15:00 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-07-26 8:48 David Seifert
2024-07-21 19:48 Arthur Zamarin
2024-07-21 19:48 Arthur Zamarin
2024-06-25 22:03 Sam James
2024-06-25 22:03 Sam James
2024-06-15 22:23 Maciej Barć
2024-06-15 22:23 Maciej Barć
2024-06-15 22:23 Maciej Barć
2024-05-18 3:19 Sam James
2024-05-18 3:19 Sam James
2024-05-15 16:24 Maciej Barć
2024-05-15 14:39 Jason Zaman
2024-05-15 14:39 Jason Zaman
2023-08-09 18:14 Piotr Karbowski
2023-07-23 16:40 Piotr Karbowski
2023-07-23 16:40 Piotr Karbowski
2023-07-04 16:45 Piotr Karbowski
2023-05-02 15:32 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-03-22 1:20 Sam James
2023-03-20 21:31 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-19 22:57 Piotr Karbowski
2023-03-06 13:04 Arthur Zamarin
2023-03-06 13:04 Arthur Zamarin
2023-01-07 23:04 Sam James
2023-01-07 23:04 Sam James
2023-01-07 19:59 Piotr Karbowski
2022-12-09 22:32 Sam James
2022-12-09 22:04 Arthur Zamarin
2022-11-19 15:54 Piotr Karbowski
2022-11-19 15:54 Piotr Karbowski
2022-11-06 8:05 Agostino Sarubbo
2022-11-06 5:52 Sam James
2022-11-03 2:03 Yixun Lan
2022-10-23 14:15 Piotr Karbowski
2022-09-20 18:47 Piotr Karbowski
2022-07-10 15:00 Piotr Karbowski
2022-07-10 15:00 Piotr Karbowski
2022-07-10 12:16 Sam James
2022-07-10 12:16 Sam James
2022-07-10 9:39 Piotr Karbowski
2022-05-02 20:39 Piotr Karbowski
2021-12-24 23:12 Jason Zaman
2021-01-02 7:21 Jason Zaman
2021-01-02 7:21 Jason Zaman
2021-01-02 7:21 Jason Zaman
2020-09-07 9:33 Jason Zaman
2020-09-07 9:33 Jason Zaman
2020-09-07 9:33 Jason Zaman
2020-09-07 9:33 Jason Zaman
2020-06-25 20:22 Conrad Kostecki
2020-06-20 20:31 Thomas Deutschmann
2020-06-09 13:53 Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-06-06 19:31 Mart Raudsepp
2020-02-29 7:13 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-02-16 13:35 Jason Zaman
2020-01-24 19:49 Jason Zaman
2019-10-18 12:55 Jason Zaman
2019-08-07 7:58 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-01-02 15:55 Jason Zaman
2019-01-02 15:55 Jason Zaman
2019-01-02 15:55 Jason Zaman
2018-11-27 14:01 Jason Zaman
2018-09-24 5:21 Jason Zaman
2018-09-24 5:21 Jason Zaman
2018-07-31 7:45 Jason Zaman
2018-07-31 7:45 Jason Zaman
2018-04-06 10:32 Jason Zaman
2018-02-16 16:12 Jason Zaman
2018-02-16 16:12 Jason Zaman
2017-10-28 9:10 Patrice Clement
2017-07-30 11:09 David Seifert
2017-05-26 19:33 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521338439.83a37b26ab6136b35baa1f1867c8766ae8e8c023.perfinion@gentoo \
--to=perfinion@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox