void-packages/srcpkgs/python3-zeroconf/template

21 lines
725 B
Bash

# Template file for 'python3-zeroconf'
pkgname=python3-zeroconf
version=0.39.1
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ifaddr python3-async-timeout"
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=c1e1f1720f48833a9c6410c3f400ef18aaf6957b8a54fb3ef131c4e18c9fd914
do_check() {
# IPv6 doesn't work on github CI
SKIP_IPV6=1 python3 -m pytest tests/
}