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

David Runge dvzrv at archlinux.org
Fri Dec 6 15:31:32 UTC 2019


    Date: Friday, December 6, 2019 @ 15:31:32
  Author: dvzrv
Revision: 535848

upgpkg: python-iwlib 1.7.0-1

Upgrading to 1.7.0. Updating maintainer info. Adding a fix to remove a stale __init__.py file to be able to run tests.

Modified:
  python-iwlib/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-06 15:31:05 UTC (rev 535847)
+++ PKGBUILD	2019-12-06 15:31:32 UTC (rev 535848)
@@ -1,9 +1,9 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 
 _name=iwlib
 pkgname=python-iwlib
-pkgver=1.6.2
-pkgrel=3
+pkgver=1.7.0
+pkgrel=1
 pkgdesc='Python module to interface with iwlib'
 arch=('x86_64')
 url="https://github.com/nathan-hoad/python-iwlib"
@@ -12,8 +12,14 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('bc7a1406586f7b6e87040cb9ab9653437f6bcd4a103b2490b9d993e0a7aa1f1a65713a9b9dbee54a2fa9a38296db3cddc7d634abb4f43c0873d6874cd5b0ab6e')
+sha512sums=('c9909449f8b52fdd75e3135951fde2085abc5be622acd7be045a281f108b4f0bc5623f97b7b57a6b91f17170ea524bbb6a52626fa87877621873fe8b6b9f0bca')
 
+prepare() {
+  cd "${_name}-${pkgver}"
+  # fixing include discovery: https://github.com/nhoad/python-iwlib/issues/11
+  rm -v test/__init__.py
+}
+
 build() {
   cd "${_name}-${pkgver}"
   python setup.py build



More information about the arch-commits mailing list