HomeAssistantRepository/dev-python/WSDiscovery/WSDiscovery-2.0.0.ebuild

34 lines
751 B
Bash
Raw Permalink Normal View History

# Copyright 1999-2023 Gentoo Authors
2020-05-02 12:08:15 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2020-05-02 12:08:15 +02:00
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
2020-05-02 12:08:15 +02:00
DESCRIPTION="WS-Discovery implementation for python"
2021-08-29 09:20:05 +02:00
HOMEPAGE="https://github.com/andreikop/python-ws-discovery.git https://pypi.org/project/WSDiscovery/"
2020-05-02 12:08:15 +02:00
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
2020-05-02 12:08:15 +02:00
IUSE="test"
RESTRICT="!test? ( test )"
2020-05-02 12:08:15 +02:00
2021-08-29 09:20:05 +02:00
DOCS="README.md"
2020-05-02 12:08:15 +02:00
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
dev-python/netifaces[${PYTHON_USEDEP}]"
2021-08-29 09:20:05 +02:00
BDEPEND="
2020-05-02 12:08:15 +02:00
test? (
2021-08-29 09:20:05 +02:00
dev-python/mock[${PYTHON_USEDEP}]
2020-05-02 12:08:15 +02:00
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest