[arch-commits] Commit in python-zeroconf/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:11:32 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:11:30
  Author: felixonmars
Revision: 749352

archrelease: copy trunk to community-staging-any

Added:
  python-zeroconf/repos/community-staging-any/
  python-zeroconf/repos/community-staging-any/PKGBUILD
    (from rev 749351, python-zeroconf/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-zeroconf/repos/community-staging-any/PKGBUILD (from rev 749351, python-zeroconf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:11:30 UTC (rev 749352)
@@ -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.28.6
+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-nose')
+source=($pkgname-$pkgver.tar.gz::https://github.com/jstasiak/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('9971344cb69132a68fac928522ca423c97db0f02310ee15b8551a6a63f8898a2')
+
+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}"
+  nosetests --exclude test_integration_with_listener_ipv6 zeroconf/test.py
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list