summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dropbox-cli/dropbox-cli-1.6.0-r2.ebuild')
-rw-r--r--net-misc/dropbox-cli/dropbox-cli-1.6.0-r2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-misc/dropbox-cli/dropbox-cli-1.6.0-r2.ebuild b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r2.ebuild
new file mode 100644
index 0000000..b79dbc3
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r2.ebuild
@@ -0,0 +1,30 @@
+# 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="${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}
+}