diff --git a/srcpkgs/python-zeroconf/template b/srcpkgs/python-zeroconf/template index d8eed53de08..b4188cbd8d0 100644 --- a/srcpkgs/python-zeroconf/template +++ b/srcpkgs/python-zeroconf/template @@ -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 " -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* - } -} diff --git a/srcpkgs/python3-zeroconf b/srcpkgs/python3-zeroconf deleted file mode 120000 index d03295c8b9c..00000000000 --- a/srcpkgs/python3-zeroconf +++ /dev/null @@ -1 +0,0 @@ -python-zeroconf \ No newline at end of file diff --git a/srcpkgs/python3-zeroconf/template b/srcpkgs/python3-zeroconf/template new file mode 100644 index 00000000000..ca9e0c18d62 --- /dev/null +++ b/srcpkgs/python3-zeroconf/template @@ -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 " +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