# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-zeroconf _pkgname=zeroconf pkgver=0.25.0 pkgrel=0 pkgdesc="A Python implementation of multicast DNS service discovery" url="https://github.com/jstasiak/python-zeroconf" arch="noarch" license="LGPL-2.0-or-later" # Tests require netlink support which is no present in AL replaces="py-zeroconf" # for backwards compatibility provides="py-zeroconf=$pkgver-r$pkgrel" # for backwards compatibility options="!check" depends="python3 py3-six py3-netifaces py3-ifaddr" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="f28669fd4d14f7b7bd162a350483de76d480b2cd393c027d08ef7c413258a6537a7af2d27f009338d808f52258d4e882e32a8239dcc75f11246ff9f60fd6c2a4 zeroconf-0.25.0.tar.gz"