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

Jelle van der Waa jelle at gemini.archlinux.org
Sun Jan 9 17:46:11 UTC 2022


    Date: Sunday, January 9, 2022 @ 17:46:11
  Author: jelle
Revision: 1098372

archrelease: copy trunk to community-testing-any

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

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

Copied: python-zeroconf/repos/community-testing-any/PKGBUILD (from rev 1098371, python-zeroconf/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-09 17:46:11 UTC (rev 1098372)
@@ -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.38.1
+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=('3833c88b11f07bbe7b701033589d3460f2391213da86182015579bb50ee7e31f')
+
+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