[arch-commits] Commit in python-iwlib/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jul 22 21:42:39 UTC 2018
Date: Sunday, July 22, 2018 @ 21:42:38
Author: dvzrv
Revision: 362875
upgpkg: python-iwlib 1.6.1-1
Upgrading to 1.6.1.
Modified:
python-iwlib/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-22 21:38:40 UTC (rev 362874)
+++ PKGBUILD 2018-07-22 21:42:38 UTC (rev 362875)
@@ -7,7 +7,7 @@
pkgver=1.6.1
pkgrel=1
pkgdesc='Python module to interface with iwlib'
-arch=("$CARCH")
+arch=('x86_64')
url="https://github.com/nathan-hoad/python-iwlib"
license=('GPL2')
makedepends=('python-cffi' 'python-setuptools' 'python2-cffi' 'python2-setuptools' 'wireless_tools')
@@ -29,8 +29,8 @@
cd "${pkgname}-${pkgver}"
local _py3_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
local _py2_ver=$(python2 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
- local PYTHON2_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-x86_64-${_py2_ver}/:${PYTHONPATH}"
- local PYTHON3_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-x86_64-${_py3_ver}/:${PYTHONPATH}"
+ local PYTHON2_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-$CARCH-${_py2_ver}/:${PYTHONPATH}"
+ local PYTHON3_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-$CARCH-${_py3_ver}/:${PYTHONPATH}"
export PYTHONPATH="${PYTHON3_PATH}"
py.test
export PYTHONPATH="${PYTHON2_PATH}"
More information about the arch-commits
mailing list