commit:     70101fcf1325fc8bfa0c63d7da4f84371cd370d5
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 13:20:11 2023 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 13:20:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70101fcf

net-misc/dropbox-cli: add python3_11

Closes: https://bugs.gentoo.org/897118
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 net-misc/dropbox-cli/Manifest                |  1 +
 net-misc/dropbox-cli/dropbox-cli-2023.ebuild | 31 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/net-misc/dropbox-cli/Manifest b/net-misc/dropbox-cli/Manifest
index c0b228a98864..c4b387a6832e 100644
--- a/net-misc/dropbox-cli/Manifest
+++ b/net-misc/dropbox-cli/Manifest
@@ -1 +1,2 @@
 DIST dropbox-cli-2022.py.xz 14288 BLAKE2B 
a90d347efcce5917179853afef346a6679dddbb33e146a936786c226ad519601f503d73eeb1d1e205be8bd11792aeedb90ff7046c770f079a47e75dea80efd99
 SHA512 
59bfbf3544a8407bbc232d87e57d8b27d4bbc108483af52e58c0badddde6ce2dfde2203403a8c5e8c95421fe8c4b73e75cec64def2699ae9bac31be965e98974
+DIST dropbox-cli-2023.py.xz 14308 BLAKE2B 
e0e1f28c911e5744f26bc3854e1283884f7daa57c247f0a13cd5f571124edca1f11e61ea487bccae294b34c4ce30884758662f95d0438efd1e0e3e64ead6a819
 SHA512 
c11928de24c6ab10c142eedfa244a903795b37bb75e7e805dbf28fe5b18f524db210eb432bf43eb3c99d67b0caca51c85bbe533b3d7d877cfdc7595925483294

diff --git a/net-misc/dropbox-cli/dropbox-cli-2023.ebuild 
b/net-misc/dropbox-cli/dropbox-cli-2023.ebuild
new file mode 100644
index 000000000000..44405e85739c
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-2023.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+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}
+}

Reply via email to