1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( pypy3 python3_{6,7} )
7 PYTHON_REQ_USE="xml(+)"
11 DESCRIPTION="Automation Library for Denon AVR receivers"
12 HOMEPAGE="https://github.com/scarface-4711/denonavr"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
19 RESTRICT="!test? ( test )"
21 RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
23 dev-python/setuptools[${PYTHON_USEDEP}]
26 dev-python/pytest[${PYTHON_USEDEP}]
27 dev-python/requests-mock[${PYTHON_USEDEP}]
28 dev-python/testtools[${PYTHON_USEDEP}]
33 pytest -vv || die "tests failed with ${EPYTHON}"