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

David Runge dvzrv at archlinux.org
Sat Jan 27 12:02:34 UTC 2018


    Date: Saturday, January 27, 2018 @ 12:02:33
  Author: dvzrv
Revision: 287417

archrelease: copy trunk to community-testing-x86_64

Added:
  python-iwlib/repos/community-testing-x86_64/
  python-iwlib/repos/community-testing-x86_64/PKGBUILD
    (from rev 287416, python-iwlib/trunk/PKGBUILD)

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

Copied: python-iwlib/repos/community-testing-x86_64/PKGBUILD (from rev 287416, python-iwlib/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-01-27 12:02:33 UTC (rev 287417)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=python-iwlib
+pkgver=1.5
+pkgrel=6
+pkgdesc='Python module to interface with iwlib'
+arch=('x86_64')
+url='https://github.com/nathan-hoad/python-iwlib'
+license=('GPL2')
+depends=('python' 'wireless_tools')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nathan-hoad/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('2b79e412949a465d1383620745b6bfbf5924ef8ed47d459882afc5c86e54d10d1b963055df7076a481fb7bd6ade1d318ce35ed36ee5c129c048bbf6b1790f432')
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py test
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build --optimize=1 --prefix=/usr \
+  --root="${pkgdir}/"
+
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -Dm644 {AUTHORS,README.rst}
+}
+



More information about the arch-commits mailing list