public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox-cli/, net-misc/dropbox-cli/files/
@ 2018-01-29 12:50 Andrey Grozin
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin @ 2018-01-29 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     af2fc6e54f59a45a4331d1c583c9c02bce3b0b86
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 29 12:49:29 2018 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Jan 29 12:49:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2fc6e5

net-misc/dropbox-cli: depend on pygtk and pygobject:2

Closes: https://bugs.gentoo.org/645898
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild  | 31 +++++++++++++++++++++++
 net-misc/dropbox-cli/files/dropbox-cli-completion |  2 ++
 2 files changed, 33 insertions(+)

diff --git a/net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild
new file mode 100644
index 00000000000..b2dd3a01d44
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1 bash-completion-r1
+
+DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
+HOMEPAGE="http://www.dropbox.com/"
+SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.py.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="net-misc/dropbox
+	${PYTHON_DEPS}
+	dev-python/pygtk[${PYTHON_USEDEP}]
+	dev-python/pygobject:2[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}
+
+src_install() {
+	newbin ${P}.py ${PN}
+	python_replicate_script "${D}"/usr/bin/${PN}
+	newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
+}

diff --git a/net-misc/dropbox-cli/files/dropbox-cli-completion b/net-misc/dropbox-cli/files/dropbox-cli-completion
new file mode 100644
index 00000000000..e1e9251ca9b
--- /dev/null
+++ b/net-misc/dropbox-cli/files/dropbox-cli-completion
@@ -0,0 +1,2 @@
+# dropbox-cli completion
+complete -W 'autostart exclude filestatus help lansync ls puburl running start status stop' dropbox-cli


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-29 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 12:50 [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox-cli/, net-misc/dropbox-cli/files/ Andrey Grozin

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