dev-python/adb-shell: new package, add 0.4.3

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2023-08-13 17:25:50 +02:00
parent ca0a5d8888
commit c61a242093
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# 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"
S="${WORKDIR}/adb_shell-${PV}"
RDEPEND="
dev-python/aiofiles[${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