[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Sat Jan 27 11:56:40 UTC 2018


    Date: Saturday, January 27, 2018 @ 11:56:39
  Author: dvzrv
Revision: 287416

Adding python-iwlib 1.5 from AUR (as dependency to qtile).

Added:
  python-iwlib/
  python-iwlib/repos/
  python-iwlib/trunk/
  python-iwlib/trunk/PKGBUILD

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

Added: python-iwlib/trunk/PKGBUILD
===================================================================
--- python-iwlib/trunk/PKGBUILD	                        (rev 0)
+++ python-iwlib/trunk/PKGBUILD	2018-01-27 11:56:39 UTC (rev 287416)
@@ -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}
+}
+


Property changes on: python-iwlib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list