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

Jelle van der Waa jelle at gemini.archlinux.org
Sat Sep 18 21:02:08 UTC 2021


    Date: Saturday, September 18, 2021 @ 21:02:08
  Author: jelle
Revision: 1017091

archrelease: copy trunk to community-testing-any

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

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

Copied: python-zeroconf/repos/community-testing-any/PKGBUILD (from rev 1017090, python-zeroconf/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-09-18 21:02:08 UTC (rev 1017091)
@@ -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.36.4
+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=($pkgname-$pkgver.tar.gz::https://github.com/jstasiak/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('05732464604858d79d45b6a30b0d47fa0e4a4b760eca44b0a2bfce16bf5061ee')
+
+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}"
+  pytest -k 'not test_integration_with_listener_ipv6' tests
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list