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

Eli Schwartz eschwartz at archlinux.org
Thu Jul 26 09:14:23 UTC 2018


    Date: Thursday, July 26, 2018 @ 09:14:20
  Author: eschwartz
Revision: 363493

upgpkg: python-netcdf4-openmpi 1.4.0-3

python 3.7 rebuild

Modified:
  python-netcdf4-openmpi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-26 09:13:18 UTC (rev 363492)
+++ PKGBUILD	2018-07-26 09:14:20 UTC (rev 363493)
@@ -5,7 +5,7 @@
 pkgbase=python-${_pkg,,}-${_mpi}
 pkgname=("python-${_pkg,,}-${_mpi}" "python2-${_pkg,,}-${_mpi}")
 pkgver=1.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python/NumPy interface to the netCDF C library (${_mpi} version)"
 arch=('x86_64')
 url="https://unidata.github.io/${_pkg,,}-python"
@@ -33,7 +33,7 @@
 
 check() {
     cd ${_pkg}-${pkgver}/test
-    PYTHONPATH="../build/lib.linux-${CARCH}-3.6" python -B ./run_all.py
+    PYTHONPATH="../build/lib.linux-${CARCH}-3.7" python -B ./run_all.py
 
     cd ../../${_pkg}-${pkgver}-py2/test
     PYTHONPATH="../build/lib.linux-${CARCH}-2.7" python2 -B ./run_all.py
@@ -43,7 +43,7 @@
     depends=('python-numpy' 'python-cftime' 'python-mpi4py' "netcdf-${_mpi}")
 
     cd ${_pkg}-${pkgver}
-    USE_NCCONFIG=1 python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=2
+    USE_NCCONFIG=1 python setup.py install --root="${pkgdir}" --skip-build --optimize=2
 
     install -Dm644 docs/netCDF4/* -t "${pkgdir}"/usr/share/doc/${pkgname}/docs/netCDF4
     install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
@@ -53,7 +53,7 @@
     depends=('python2-numpy' 'python2-cftime' 'python2-mpi4py' "netcdf-${_mpi}")
 
     cd ${_pkg}-${pkgver}-py2
-    USE_NCCONFIG=1 python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=2
+    USE_NCCONFIG=1 python2 setup.py install --root="${pkgdir}" --skip-build --optimize=2
 
     for binary in "${pkgdir}"/usr/bin/* ;
         do mv ${binary}{,-py2} ;



More information about the arch-commits mailing list