void-packages/srcpkgs/python3-zeroconf/template
2021-05-06 09:17:12 -04:00

20 lines
706 B
Bash

# Template file for 'python3-zeroconf'
pkgname=python3-zeroconf
version=0.30.0
revision=1
wrksrc="python-zeroconf-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ifaddr"
checkdepends="python3-pytest python3-mypy $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=bbb5e15625a96ac4dc4fba33519227ea8a6d1991000af51e976d01d2917a8d82
do_check() {
# IPv6 doesn't work on github CI
SKIP_IPV6=1 python3 -m pytest zeroconf/test.py
}