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

Bruno Pagani archange at archlinux.org
Mon Apr 13 14:37:27 UTC 2020


    Date: Monday, April 13, 2020 @ 14:37:27
  Author: archange
Revision: 613667

netcdf 4.7.4 rebuild

Modified:
  python-netcdf4-openmpi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 13:56:41 UTC (rev 613666)
+++ PKGBUILD	2020-04-13 14:37:27 UTC (rev 613667)
@@ -4,7 +4,7 @@
 _mpi=openmpi
 pkgname=python-${_pkg,,}-${_mpi}
 pkgver=1.5.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Python/NumPy interface to the netCDF C library (${_mpi} version)"
 arch=(x86_64)
 url="https://unidata.github.io/${_pkg,,}-python"
@@ -13,7 +13,7 @@
 makedepends=(cython python-setuptools)
 conflicts=(python-netcdf4)
 provides=(python-netcdf4)
-source=(https://files.pythonhosted.org/packages/source/${_pkg}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
 sha256sums=('2a3ca855848f4bbf07fac366da77a681fcead18c0a8813d91d46302f562dc3be')
 
 build() {
@@ -28,7 +28,7 @@
 
 package() {
     cd ${_pkg}-${pkgver}
-    USE_NCCONFIG=1 python setup.py install --root="${pkgdir}" --skip-build --optimize=2
+    USE_NCCONFIG=1 python setup.py install --prefix=/usr --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}



More information about the arch-commits mailing list