Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox-cli/, net-misc/dropbox-cli/files/
Date: Mon, 29 Jan 2018 12:50:14
Message-Id: 1517230169.af2fc6e54f59a45a4331d1c583c9c02bce3b0b86.grozin@gentoo
1 commit: af2fc6e54f59a45a4331d1c583c9c02bce3b0b86
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 29 12:49:29 2018 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 29 12:49:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2fc6e5
7
8 net-misc/dropbox-cli: depend on pygtk and pygobject:2
9
10 Closes: https://bugs.gentoo.org/645898
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild | 31 +++++++++++++++++++++++
14 net-misc/dropbox-cli/files/dropbox-cli-completion | 2 ++
15 2 files changed, 33 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..b2dd3a01d44
20 --- /dev/null
21 +++ b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild
22 @@ -0,0 +1,31 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +PYTHON_COMPAT=( python2_7 )
29 +
30 +inherit python-r1 bash-completion-r1
31 +
32 +DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
33 +HOMEPAGE="http://www.dropbox.com/"
34 +SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.py.xz"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE=""
40 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 +
42 +RDEPEND="net-misc/dropbox
43 + ${PYTHON_DEPS}
44 + dev-python/pygtk[${PYTHON_USEDEP}]
45 + dev-python/pygobject:2[${PYTHON_USEDEP}]"
46 +
47 +S=${WORKDIR}
48 +
49 +src_install() {
50 + newbin ${P}.py ${PN}
51 + python_replicate_script "${D}"/usr/bin/${PN}
52 + newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
53 +}
54
55 diff --git a/net-misc/dropbox-cli/files/dropbox-cli-completion b/net-misc/dropbox-cli/files/dropbox-cli-completion
56 new file mode 100644
57 index 00000000000..e1e9251ca9b
58 --- /dev/null
59 +++ b/net-misc/dropbox-cli/files/dropbox-cli-completion
60 @@ -0,0 +1,2 @@
61 +# dropbox-cli completion
62 +complete -W 'autostart exclude filestatus help lansync ls puburl running start status stop' dropbox-cli