[arch-commits] Commit in python-iwlib/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jan 31 14:50:27 UTC 2018


    Date: Wednesday, January 31, 2018 @ 14:50:26
  Author: dvzrv
Revision: 288415

upgpkg: python-iwlib 1.5-7

Moving check function for better readability. Making install more verbose.

Modified:
  python-iwlib/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-31 14:47:12 UTC (rev 288414)
+++ PKGBUILD	2018-01-31 14:50:26 UTC (rev 288415)
@@ -2,7 +2,7 @@
 
 pkgname=python-iwlib
 pkgver=1.5
-pkgrel=6
+pkgrel=7
 pkgdesc='Python module to interface with iwlib'
 arch=('x86_64')
 url='https://github.com/nathan-hoad/python-iwlib'
@@ -12,14 +12,14 @@
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nathan-hoad/${pkgname}/archive/${pkgver}.tar.gz")
 sha512sums=('2b79e412949a465d1383620745b6bfbf5924ef8ed47d459882afc5c86e54d10d1b963055df7076a481fb7bd6ade1d318ce35ed36ee5c129c048bbf6b1790f432')
 
-check() {
+build() {
   cd "${pkgname}-${pkgver}"
-  python setup.py test
+  python setup.py build
 }
 
-build() {
+check() {
   cd "${pkgname}-${pkgver}"
-  python setup.py build
+  python setup.py test
 }
 
 package() {
@@ -28,6 +28,6 @@
   --root="${pkgdir}/"
 
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
-    -Dm644 {AUTHORS,README.rst}
+    -vDm644 {AUTHORS,README.rst}
 }
 



More information about the arch-commits mailing list