# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Python Wrapper for Google Android UiAutomator2 test tool"

HOMEPAGE="https://github.com/cc12703/uiautomator2"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="image"
DEPENDENCIES="dev-python/six[${PYTHON_USEDEP}]
	>=dev-python/requests-2.0[${PYTHON_USEDEP}]
	dev-python/whichcraft[${PYTHON_USEDEP}]
	dev-python/logzero[${PYTHON_USEDEP}]
	~dev-python/progress-1.3[${PYTHON_USEDEP}]
	dev-python/retry[${PYTHON_USEDEP}]
	dev-python/adbutils[${PYTHON_USEDEP}]
	~dev-python/deprecated-1.2.6[${PYTHON_USEDEP}]
	dev-python/pillow[${PYTHON_USEDEP}]
	>=dev-python/lxml-4.3[${PYTHON_USEDEP}]
	dev-python/cached-property[${PYTHON_USEDEP}]
	~dev-python/packaging-20.3[${PYTHON_USEDEP}]
	<dev-python/filelock-4.0[${PYTHON_USEDEP}]
	image? ( dev-python/scikit-image[${PYTHON_USEDEP}] )
	image? ( dev-python/imutils[${PYTHON_USEDEP}] )
	image? ( dev-python/findit[${PYTHON_USEDEP}] )
	image? ( <dev-python/imageio-3.0[${PYTHON_USEDEP}] )
	image? ( <dev-python/imageio-ffmpeg-1.0[${PYTHON_USEDEP}] )
	image? ( <dev-python/websocket-client-1.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"