python3-zeroconf: update to 0.20.0

This commit is contained in:
Alessio Sergi 2018-08-06 20:09:00 +02:00
parent df4ced9b39
commit 47a2593dde
3 changed files with 20 additions and 15 deletions

View file

@ -1,15 +1,15 @@
# Template file for 'python-zeroconf'
pkgname=python-zeroconf
version=0.19.1
revision=2
revision=3
noarch=yes
build_style=python-module
build_style=python2-module
pycompile_module="zeroconf.py"
hostmakedepends="python-setuptools python3-setuptools"
hostmakedepends="python-setuptools"
depends="python-netifaces python-six python-enum34"
short_desc="Pure Python2 implementation of multicast DNS service discovery"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-2.1"
license="LGPL-2.1-or-later"
homepage="https://github.com/jstasiak/python-zeroconf/"
distfiles="https://github.com/jstasiak/python-zeroconf/archive/${version}.tar.gz"
checksum="ca8952a3eb04818dcb566e1344f2f15b5dd6d487770384651cdfae777d5eb848"
@ -19,13 +19,3 @@ pre_build() {
# Also, no need for enum-compat on Python 3.4+.
sed -i '/enum-compat/d' setup.py
}
python3-zeroconf_package() {
noarch=yes
pycompile_module="zeroconf.py"
depends="python3-netifaces python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-zeroconf

View file

@ -0,0 +1,16 @@
# Template file for 'python3-zeroconf'
pkgname=python3-zeroconf
version=0.20.0
revision=1
noarch=yes
wrksrc="${pkgname/3/}-${version}"
build_style=python3-module
pycompile_module="zeroconf.py"
hostmakedepends="python3-setuptools"
depends="python3-netifaces"
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="https://github.com/jstasiak/python-zeroconf/archive/${version}.tar.gz"
checksum=5829f2e68ca6ab06d25e661a7640cf1d215bf4167d952f81086f1fbfb4ef9dbb