[arch-commits] Commit in python-zeroconf/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Mar 18 15:55:48 UTC 2018


    Date: Sunday, March 18, 2018 @ 15:55:46
  Author: jelle
Revision: 309055

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++++------------------------------
 1 file changed, 27 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-18 15:55:15 UTC (rev 309054)
+++ PKGBUILD	2018-03-18 15:55:46 UTC (rev 309055)
@@ -1,30 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
-
-pkgbase=python-zeroconf
-pkgname=('python-zeroconf' 'python2-zeroconf')
-pkgver=0.20.0
-pkgrel=1
-pkgdesc="A pure python implementation of multicast DNS service discovery"
-arch=('any')
-url="https://github.com/jstasiak/python-zeroconf"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://github.com/jstasiak/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('5829f2e68ca6ab06d25e661a7640cf1d215bf4167d952f81086f1fbfb4ef9dbb')
-
-package_python-zeroconf() {
-  depends=('python' 'python-netifaces' 'python-six')
-  cd "${pkgbase}-${pkgver}"
-
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}
-
-package_python2-zeroconf() {
-  depends=('python2' 'python2-netifaces' 'python2-six')
-  cd "${pkgbase}-${pkgver}"
-
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-zeroconf/repos/community-any/PKGBUILD (from rev 309054, python-zeroconf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-18 15:55:46 UTC (rev 309055)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
+
+pkgname=python-zeroconf
+pkgver=0.20.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')
+makedepends=('python-setuptools')
+source=("https://github.com/jstasiak/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('5829f2e68ca6ab06d25e661a7640cf1d215bf4167d952f81086f1fbfb4ef9dbb')
+
+build() {
+  cd "${pkgbase}-${pkgver}"
+  python3 setup.py build
+}
+
+package() {
+  cd "${pkgbase}-${pkgver}"
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list