[arch-commits] Commit in python-netcdf4/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Jun 29 19:25:33 UTC 2022
Date: Wednesday, June 29, 2022 @ 19:25:32
Author: archange
Revision: 1241155
upgpkg: python-netcdf4 1.6.0-1
Modified:
python-netcdf4/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-29 19:25:27 UTC (rev 1241154)
+++ PKGBUILD 2022-06-29 19:25:32 UTC (rev 1241155)
@@ -5,7 +5,7 @@
_pkg=netCDF4
pkgname=python-${_pkg,,}
-pkgver=1.5.8
+pkgver=1.6.0
pkgrel=1
pkgdesc="Python/NumPy interface to the netCDF C library"
arch=(x86_64)
@@ -13,9 +13,16 @@
license=(MIT)
depends=(python-numpy python-cftime netcdf)
makedepends=(cython python-setuptools)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('ca3d468f4812c0999df86e3f428851fb0c17ac34ce0827115c246b0b690e4e84')
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz
+ ${pkgname}-fix-netcdf-filters-detection.patch::https://github.com/Unidata/netcdf4-python/pull/1173.patch)
+sha256sums=('95efa373d9a3e1cd0df7193e76e6680d9eca28e60097ca8139afea8a4346ba63'
+ 'c407affa80e49547dca938ef1cb4764dedb9abd8f32a3e402d66d29aa7137f4c')
+prepare() {
+ # Compressor filters are not packaged currently
+ patch -p1 -d ${_pkg}-${pkgver} < ${pkgname}-fix-netcdf-filters-detection.patch || true
+}
+
build() {
cd ${_pkg}-${pkgver}
USE_NCCONFIG=1 python setup.py build
More information about the arch-commits
mailing list