From 6d5448e59bbc60231b90a36ef9b628c896fb9efe Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Fri, 15 Sep 2017 14:23:19 -0400 Subject: [PATCH] New package: python-zeroconf-0.19.1 --- srcpkgs/python-zeroconf/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-zeroconf | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-zeroconf/template create mode 120000 srcpkgs/python3-zeroconf diff --git a/srcpkgs/python-zeroconf/template b/srcpkgs/python-zeroconf/template new file mode 100644 index 00000000000..bd3b2768d90 --- /dev/null +++ b/srcpkgs/python-zeroconf/template @@ -0,0 +1,29 @@ +# Template file for 'python-zeroconf' +pkgname=python-zeroconf +version=0.19.1 +revision=1 +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +depends="python-netifaces python-six python-enum34" +pycompile_module="zeroconf" +short_desc="Python2 implementation of multicast DNS service discovery" +maintainer="Karl Nilsson " +license="LGPL-2.1" +homepage="https://github.com/jstasiak/python-zeroconf/" +distfiles="https://github.com/jstasiak/python-zeroconf/archive/${version}.tar.gz" +checksum="ca8952a3eb04818dcb566e1344f2f15b5dd6d487770384651cdfae777d5eb848" + +pkg_install() { + vlicense COPYING +} + +python3-zeroconf_package() { + depends="python3-netifaces python3-six" + pycompile_module="zeroconf" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense COPYING + } +} diff --git a/srcpkgs/python3-zeroconf b/srcpkgs/python3-zeroconf new file mode 120000 index 00000000000..6ede5cb5a06 --- /dev/null +++ b/srcpkgs/python3-zeroconf @@ -0,0 +1 @@ +python-zeroconf/ \ No newline at end of file