HomeAssistantRepository/dev-python/zha-quirks/zha-quirks-0.0.55.ebuild

33 lines
775 B
Bash
Raw Normal View History

2021-04-04 12:55:52 +02:00
# Copyright 1999-2021 Gentoo Authors
2020-09-08 00:57:16 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
2021-04-04 12:55:52 +02:00
PYTHON_COMPAT=( python3_{7..9} )
2020-09-08 00:57:16 +02:00
inherit distutils-r1
DESCRIPTION="Library implementing Zigpy quirks for ZHA in Home Assistant"
HOMEPAGE="https://github.com/dmulcahey/zha-device-handlers https://pypi.org/project/zha-quirks/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
2020-09-08 00:57:16 +02:00
IUSE="test"
2020-12-14 19:04:10 +01:00
DOCS="README.md"
2021-04-04 12:55:52 +02:00
RDEPEND=">=dev-python/zigpy-0.32.0[${PYTHON_USEDEP}]"
2020-12-14 19:04:10 +01:00
BDEPEND="
2020-09-08 00:57:16 +02:00
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}