summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2022-05-24 15:58:55 +0700
committerAndrey Grozin <grozin@gentoo.org>2022-05-24 15:59:47 +0700
commitdac75b702bab36254791e4ce3e86f25bb0e14cac (patch)
tree9cb0414f1c8feafd6ec64c7d5ce94be05050007d /net-misc/dropbox-cli/dropbox-cli-2022.ebuild
parentapp-dicts/sword-KtuVB: add 3.2, drop 3.1.1 (diff)
downloadgentoo-dac75b702bab36254791e4ce3e86f25bb0e14cac.tar.gz
gentoo-dac75b702bab36254791e4ce3e86f25bb0e14cac.tar.bz2
gentoo-dac75b702bab36254791e4ce3e86f25bb0e14cac.zip
net-misc/dropbox-cli: bump to 2022
Closes: https://bugs.gentoo.org/846869 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'net-misc/dropbox-cli/dropbox-cli-2022.ebuild')
-rw-r--r--net-misc/dropbox-cli/dropbox-cli-2022.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/dropbox-cli/dropbox-cli-2022.ebuild b/net-misc/dropbox-cli/dropbox-cli-2022.ebuild
new file mode 100644
index 00000000000..1b9b1364e01
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-2022.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-r1 bash-completion-r1
+
+DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
+HOMEPAGE="https://www.dropbox.com/"
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.py.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gpg"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="net-misc/dropbox
+ ${PYTHON_DEPS}
+ gpg? ( app-crypt/gpgme[python] )
+ dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}
+
+src_install() {
+ newbin ${P}.py ${PN}
+ python_replicate_script "${D}"/usr/bin/${PN}
+ newbashcomp "${FILESDIR}"/${PN}-19-completion ${PN}
+}