Date: Wednesday, November 9, 2022 @ 15:23:01
Author: arojas
Revision: 1346205
archrelease: copy trunk to community-x86_64
Added:
python-netcdf4/repos/community-x86_64/PKGBUILD
(from rev 1346204, python-netcdf4/trunk/PKGBUILD)
Deleted:
python-netcdf4/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-09 15:22:52 UTC (rev 1346204)
+++ PKGBUILD 2022-11-09 15:23:01 UTC (rev 1346205)
@@ -1,41 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-# Contributor: Spyros Stathopoulos <[email protected]>
-# Contributor: richli <rich at dranek dot com>
-# Contributor: rememberthemer <rememberthemer@_GMAIL_DOT_COM_>
-
-_pkg=netCDF4
-pkgname=python-${_pkg,,}
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="Python/NumPy interface to the netCDF C library"
-arch=(x86_64)
-url="https://unidata.github.io/netcdf4-python"
-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
-
${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
-}
-
-check() {
- cd ${_pkg}-${pkgver}/test
- local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
- PYTHONPATH="../build/lib.linux-${CARCH}-${python_version}" python -B
./run_all.py
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- USE_NCCONFIG=1 python setup.py install --prefix=/usr --root="${pkgdir}"
--skip-build --optimize=2
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-netcdf4/repos/community-x86_64/PKGBUILD (from rev 1346204,
python-netcdf4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-09 15:23:01 UTC (rev 1346205)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Spyros Stathopoulos <[email protected]>
+# Contributor: richli <rich at dranek dot com>
+# Contributor: rememberthemer <rememberthemer@_GMAIL_DOT_COM_>
+
+_pkg=netCDF4
+pkgname=python-${_pkg,,}
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Python/NumPy interface to the netCDF C library"
+arch=(x86_64)
+url="https://unidata.github.io/netcdf4-python"
+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
+
${pkgname}-fix-netcdf-filters-detection.patch::https://github.com/Unidata/netcdf4-python/pull/1173.patch)
+sha256sums=('ba8dc5d65293a99f1afb8c2acf588d903fdfdc1963a62545b677fa2734262a78'
+ 'cea33cb4b763cc450386c111b61a8c051d834a360ad6ce0487c890dd6dc4ba85')
+
+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
+}
+
+check() {
+ cd ${_pkg}-${pkgver}/test
+ local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
+ PYTHONPATH="../build/lib.linux-${CARCH}-cpython-${python_version/./}" python
-B ./run_all.py
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ USE_NCCONFIG=1 python setup.py install --prefix=/usr --root="${pkgdir}"
--skip-build --optimize=2
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}