From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F5041382C5 for ; Mon, 29 Jan 2018 12:50:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83FC7E0B9D; Mon, 29 Jan 2018 12:50:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 619FAE0B9D for ; Mon, 29 Jan 2018 12:50:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1208C335C4C for ; Mon, 29 Jan 2018 12:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 680CB1C3 for ; Mon, 29 Jan 2018 12:50:02 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1517230169.af2fc6e54f59a45a4331d1c583c9c02bce3b0b86.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox-cli/, net-misc/dropbox-cli/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild net-misc/dropbox-cli/files/dropbox-cli-completion X-VCS-Directories: net-misc/dropbox-cli/ net-misc/dropbox-cli/files/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: af2fc6e54f59a45a4331d1c583c9c02bce3b0b86 X-VCS-Branch: master Date: Mon, 29 Jan 2018 12:50:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc94c44a-4656-477f-88df-6a73adc398ff X-Archives-Hash: 7c4b7933f665d99bb7b096bac74f99cd commit: af2fc6e54f59a45a4331d1c583c9c02bce3b0b86 Author: Andrey Grozin gentoo org> AuthorDate: Mon Jan 29 12:49:29 2018 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Mon Jan 29 12:49:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2fc6e5 net-misc/dropbox-cli: depend on pygtk and pygobject:2 Closes: https://bugs.gentoo.org/645898 Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild | 31 +++++++++++++++++++++++ net-misc/dropbox-cli/files/dropbox-cli-completion | 2 ++ 2 files changed, 33 insertions(+) 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 new file mode 100644 index 00000000000..b2dd3a01d44 --- /dev/null +++ b/net-misc/dropbox-cli/dropbox-cli-1.6.0-r1.ebuild @@ -0,0 +1,31 @@ +# 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="net-misc/dropbox + ${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} +} diff --git a/net-misc/dropbox-cli/files/dropbox-cli-completion b/net-misc/dropbox-cli/files/dropbox-cli-completion new file mode 100644 index 00000000000..e1e9251ca9b --- /dev/null +++ b/net-misc/dropbox-cli/files/dropbox-cli-completion @@ -0,0 +1,2 @@ +# dropbox-cli completion +complete -W 'autostart exclude filestatus help lansync ls puburl running start status stop' dropbox-cli