HomeAssistantRepository/dev-python/pytile/pytile-2023.4.0.ebuild
Andreas Billmeier (@Home/mbp) 90c6083235
dev-python/pytile: add 2023.4.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
2023-04-13 22:18:23 +02:00

33 lines
683 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="A simple Python API for Tile Bluetooth trackers"
HOMEPAGE="https://github.com/bachya/pytile https://pypi.org/project/pytile/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest