From c0576e741cf932b892f033e509433416d9dea7e9 Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 10 Oct 2023 15:09:59 +0200 Subject: [PATCH] dev-python/adb-shell: add missing RDEPEND Closes: https://bugs.gentoo.org/914216 Signed-off-by: David Roman --- .../adb-shell/adb-shell-0.4.4-r1.ebuild | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-python/adb-shell/adb-shell-0.4.4-r1.ebuild diff --git a/dev-python/adb-shell/adb-shell-0.4.4-r1.ebuild b/dev-python/adb-shell/adb-shell-0.4.4-r1.ebuild new file mode 100644 index 0000000000..03d3f5cebb --- /dev/null +++ b/dev-python/adb-shell/adb-shell-0.4.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_11 ) + +inherit distutils-r1 + +DESCRIPTION="A Python implementation of ADB with shell and FileSync functionality." +HOMEPAGE="https://pypi.org/project/adb-shell/ https://github.com/JeffLIrion/adb_shell" +SRC_URI="https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/adb_shell-${PV}" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + dev-python/async-timeout[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] +" +DEPEND="test? ( + ${RDEPEND} + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/libusb1[${PYTHON_USEDEP}] + +)" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +distutils_enable_tests unittest