void-packages/srcpkgs/python3-zeroconf/template
2022-04-04 20:07:16 +02:00

22 lines
739 B
Bash

# Template file for 'python3-zeroconf'
pkgname=python3-zeroconf
version=0.38.4
revision=1
wrksrc="python-zeroconf-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ifaddr"
checkdepends="python3-pytest python3-pytest-cov python3-mypy
python3-pytest-asyncio $depends"
short_desc="Pure Python3 implementation of multicast DNS service discovery"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/jstasiak/python-zeroconf"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=74ead61490a7573d1cab1e9e9ea6fe846be0843c4ddd55633788d4670837c0eb
do_check() {
# IPv6 doesn't work on github CI
SKIP_IPV6=1 python3 -m pytest tests/
}