HomeAssistantRepository/dev-python/python-otbr-api/python-otbr-api-1.0.5.ebuild
Andreas Billmeier (@Home/mbp) 6795025a6a
dev-python/python-otbr-api: add 1.0.5
Signed-off-by: Andreas Billmeier <b@edevau.net>
2023-03-01 19:55:59 +01:00

35 lines
797 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=setuptools
inherit distutils-r1
DESCRIPTION="API to interact with an OTBR via its REST API"
HOMEPAGE="https://github.com/home-assistant-libs/python-otbr-api https://pypi.org/project/python-otbr-api/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/voluptuous[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest