summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-10-12 19:11:50 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-10-12 19:11:50 (GMT)
commite7404ba5f42677eefe496069cbeab89fbec1d5e2 (patch)
treeeccd699f4d9dc38cf0f4c952e5300cc39fab9e9f
parent0a79f54c23c924f2736452e45d1490132dc0649e (diff)
downloadlinhes_pkgbuild-e7404ba5f42677eefe496069cbeab89fbec1d5e2.zip
linhes_pkgbuild-e7404ba5f42677eefe496069cbeab89fbec1d5e2.tar.gz
linhes_pkgbuild-e7404ba5f42677eefe496069cbeab89fbec1d5e2.tar.bz2
python-zeroconf: initial inclusion
-rw-r--r--abs/core/python_modules/python-zeroconf/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-zeroconf/PKGBUILD b/abs/core/python_modules/python-zeroconf/PKGBUILD
new file mode 100644
index 0000000..1b2e286
--- /dev/null
+++ b/abs/core/python_modules/python-zeroconf/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jelle van der Waa <jelle@archlinux.org>
+# Contributor: Maxim Andersson <thesilentboatman@gmail.com>
+
+pkgname=python-zeroconf
+pkgver=0.21.3
+pkgrel=1
+pkgdesc="A pure python implementation of multicast DNS service discovery"
+arch=('any')
+url="https://github.com/jstasiak/python-zeroconf"
+license=('LGPL')
+depends=('python' 'python-netifaces' 'python-six' 'python-ifaddr')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/jstasiak/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('8c3aaed98f950b56c6e1aa440b56e0d48af49565cb4d7830a82cb3b01088aad8')
+
+build() {
+ cd "${pkgbase}-${pkgver}"
+ python3 setup.py build
+}
+
+package() {
+ cd "${pkgbase}-${pkgver}"
+
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+
+check() {
+ cd "${pkgbase}-${pkgver}"
+ py.test .
+}
+
+# vim:set ts=2 sw=2 et: