commit:     7103d426d1cbd65e59cb8fe73aaaa6dd58b8293b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 25 14:38:29 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 21:43:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7103d426

net-misc/dropbox-cli: depend on split dev-python/gpgmepy

Add (likely?) missing PYTHON_USEDEP on dev-python/gpgmepy at the same time
Sort dependencies
Drop obsolete python impls

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../dropbox-cli/dropbox-cli-2024.04.17-r1.ebuild   | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/net-misc/dropbox-cli/dropbox-cli-2024.04.17-r1.ebuild 
b/net-misc/dropbox-cli/dropbox-cli-2024.04.17-r1.ebuild
new file mode 100644
index 000000000000..b94b67ffa621
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-2024.04.17-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit python-r1 bash-completion-r1
+
+DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
+HOMEPAGE="https://www.dropbox.com/";
+# https://linux.dropbox.com/packages/dropbox.py
+# https://www.dropbox.com/download?dl=packages/dropbox.py
+# https://raw.githubusercontent.com/dropbox/nautilus-dropbox/master/dropbox.in
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.py.xz";
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="+gpg"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       net-misc/dropbox
+       gpg? ( dev-python/gpgmepy[${PYTHON_USEDEP}] )
+"
+
+src_install() {
+       newbin ${P}.py ${PN}
+       python_replicate_script "${D}"/usr/bin/${PN}
+       newbashcomp "${FILESDIR}"/${PN}-19-completion ${PN}
+}

Reply via email to