1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
9 DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
10 HOMEPAGE="https://github.com/jstasiak/python-zeroconf https://pypi.org/project/zeroconf/"
11 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
18 RDEPEND="dev-python/ifaddr[${PYTHON_USEDEP}]"
20 dev-python/setuptools[${PYTHON_USEDEP}]
22 dev-python/nose[${PYTHON_USEDEP}]
28 python_prepare_all() {
29 # It's virtual/python-enum34
31 -e "s:'enum-compat',::g" \
33 distutils-r1_python_prepare_all
37 nosetests --verbose || die