[arch-commits] Commit in python-zeroconf/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 01:51:29 UTC 2019
Date: Monday, November 4, 2019 @ 01:51:28
Author: felixonmars
Revision: 522922
archrelease: copy trunk to community-staging-any
Added:
python-zeroconf/repos/community-staging-any/
python-zeroconf/repos/community-staging-any/PKGBUILD
(from rev 522921, python-zeroconf/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-zeroconf/repos/community-staging-any/PKGBUILD (from rev 522921, python-zeroconf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 01:51:28 UTC (rev 522922)
@@ -0,0 +1,33 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
+
+pkgname=python-zeroconf
+pkgver=0.23.0
+pkgrel=2
+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=('e194df93ae5d5158fd62434e395fe73ef9eb9580e5d326aad06d02c56031b31a')
+
+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:
More information about the arch-commits
mailing list