1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/py3-zeroconf/APKBUILD
2020-06-09 12:40:32 +00:00

36 lines
1 KiB
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-zeroconf
pkgver=0.27.1
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="
py3-ifaddr
py3-netifaces
py3-six
python3
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/z/zeroconf/zeroconf-$pkgver.tar.gz"
builddir="$srcdir"/zeroconf-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f4d030e6f23913d6b6d08056b07c0bea9563316de14bed78fc4f80f784bd284c7380036e4f6e3b7d2e2817e4ed7a08fcf340061c14b0301bd48de8bfa2dd93e8 zeroconf-0.27.1.tar.gz"