You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/dropbox-cli/dropbox-cli-19.ebuild

32 lines
716 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
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=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="net-misc/dropbox
${PYTHON_DEPS}
dev-python/pygpgme[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]"
S=${WORKDIR}
src_install() {
newbin ${P}.py ${PN}
python_replicate_script "${D}"/usr/bin/${PN}
newbashcomp "${FILESDIR}"/${P}-completion ${PN}
}