[arch-commits] Commit in python-netcdf4/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Mar 16 03:56:14 UTC 2021


    Date: Tuesday, March 16, 2021 @ 03:56:14
  Author: archange
Revision: 891716

archrelease: copy trunk to community-x86_64

Added:
  python-netcdf4/repos/community-x86_64/PKGBUILD
    (from rev 891715, python-netcdf4/trunk/PKGBUILD)
Deleted:
  python-netcdf4/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 34 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-16 03:55:49 UTC (rev 891715)
+++ PKGBUILD	2021-03-16 03:56:14 UTC (rev 891716)
@@ -1,37 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Spyros Stathopoulos <foucault.online at gmail.com>
-# Contributor: richli <rich at dranek dot com>
-# Contributor: rememberthemer <rememberthemer at _GMAIL_DOT_COM_>
-
-_pkg=netCDF4
-pkgname=python-${_pkg,,}
-pkgver=1.5.5.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)
-sha256sums=('d957e55a667d1fc651ddef22fea10ded0f142b7d9dbbf4d08c0012d32f445abd')
-
-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 docs/netCDF4/* -t "${pkgdir}"/usr/share/doc/${pkgname}/docs/netCDF4
-#   https://github.com/Unidata/netcdf4-python/pull/1060
-#    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-netcdf4/repos/community-x86_64/PKGBUILD (from rev 891715, python-netcdf4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-16 03:56:14 UTC (rev 891716)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Spyros Stathopoulos <foucault.online at gmail.com>
+# Contributor: richli <rich at dranek dot com>
+# Contributor: rememberthemer <rememberthemer at _GMAIL_DOT_COM_>
+
+_pkg=netCDF4
+pkgname=python-${_pkg,,}
+pkgver=1.5.6
+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)
+sha256sums=('7577f4656af8431b2fa6b6797acb45f81fa1890120e9123b3645e14765da5a7c')
+
+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}
+}



More information about the arch-commits mailing list