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/
Date: Mon, 08 Feb 2021 06:41:58
Message-Id: 1612766490.242008019407ce4fbe6351e7a723cecb064f5a70.grozin@gentoo
1 commit: 242008019407ce4fbe6351e7a723cecb064f5a70
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 06:41:30 2021 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 06:41:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24200801
7
8 net-misc/dropbox-cli: python3_9 added
9
10 Closes: https://bugs.gentoo.org/769206
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
13
14 .../dropbox-cli/dropbox-cli-2020.03.04-r1.ebuild | 31 ++++++++++++++++++++++
15 1 file changed, 31 insertions(+)
16
17 diff --git a/net-misc/dropbox-cli/dropbox-cli-2020.03.04-r1.ebuild b/net-misc/dropbox-cli/dropbox-cli-2020.03.04-r1.ebuild
18 new file mode 100644
19 index 00000000000..f0fa39d2b7d
20 --- /dev/null
21 +++ b/net-misc/dropbox-cli/dropbox-cli-2020.03.04-r1.ebuild
22 @@ -0,0 +1,31 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +PYTHON_COMPAT=( python3_{7..9} )
29 +
30 +inherit python-r1 bash-completion-r1
31 +
32 +DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
33 +HOMEPAGE="https://www.dropbox.com/"
34 +SRC_URI="https://dev.gentoo.org/~grozin/${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/pygpgme[${PYTHON_USEDEP}]
45 + dev-python/pygobject:3[${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}-19-completion ${PN}
53 +}