aboutsummaryrefslogtreecommitdiff
blob: 019c9fd7776835fd1aee8002ee3b5b65a96df559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2023-2024 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"

S="${WORKDIR}/adb_shell-${PV}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

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