[arch-commits] Commit in python-xarray/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Fri Nov 5 19:39:11 UTC 2021


    Date: Friday, November 5, 2021 @ 19:39:11
  Author: archange
Revision: 1037270

archrelease: copy trunk to community-any

Added:
  python-xarray/repos/community-any/PKGBUILD
    (from rev 1037269, python-xarray/trunk/PKGBUILD)
Deleted:
  python-xarray/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  168 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 78 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 19:38:47 UTC (rev 1037269)
+++ PKGBUILD	2021-11-05 19:39:11 UTC (rev 1037270)
@@ -1,90 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=xarray
-pkgname=python-${_pkg}
-pkgver=0.20.0
-pkgrel=1
-pkgdesc="N-D labeled arrays and datasets in Python"
-arch=(any)
-url="https://xarray.pydata.org/"
-license=(Apache)
-makedepends=(python-setuptools python-setuptools-scm)
-depends=(python-numpy python-pandas python-typing_extensions)
-optdepends=(
-  'python-netcdf4: netCDF4 support'
-  'python-scipy: interpolation features & fallback for netCDF3 support'
-#  'python-pydap: fallback for accessing OPeNDAP'
-#  'python-h5netcdf: alternative for netCDF4 support'
-#  'python-pynio: geoscience specific file formats support' 
-#  'python-zarr: chunked, compressed N-dimensional arrays'
-  'python-cftime: datetimes support for non-standard calendars or distant dates'
-#  'python-pseudonetcdf: atmospheric science specific file formats support'
-#  'python-rasterio: GeoTiffs and other gridded raster datasets support'
-#  'python-iris: conversion to and from iris’ Cube objects'
-#  'python-cfgrib: mapping GRIB files to CDF4'
-  'python-bottleneck: faster NaN-skipping and rolling window aggregations'
-#  'python-numbagg: faster exponential rolling window operations'  
-  'python-dask: parallel computation'
-  'python-distributed: parallel computation'
-  'python-matplotlib: plotting support'
-#  'python-cartopy: plotting of cartographic data'
-  'python-seaborn: better color palettes for plots'
-#  'python-nc-time-axis: plotting of cftime.datetime objects'  
-#  'python-sparse: sparse arrays support'
-  'python-pint: units of measure support'
-)
-checkdepends=(
-    python-pytest
-    python-pytest-xdist
-    python-aiobotocore
-    python-aiohttp
-    python-bottleneck
-    python-boto3
-    python-cftime
-    python-dask
-    python-distributed
-    python-fsspec
-    python-h5py
-    python-hypothesis
-    python-lxml
-    python-matplotlib
-    python-netcdf4
-    python-numexpr
-    python-numpy
-    python-pint
-    python-requests
-    python-scipy
-    python-seaborn
-)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz
-        ${pkgname}-5931.patch::https://github.com/pydata/xarray/pull/5931.patch
-        ${pkgname}-5936.patch::https://github.com/pydata/xarray/pull/5936.patch)
-sha256sums=('8ea93274868f78c46332fc3b75f4628f6d99e59a0315e294a99397ad1eb777a5'
-            '018e3c39a656b48541c4f2d922acf37daa84869adf556cd317848e24178ea25e'
-            '7255e79a3f5a746345e9476296de334cf423def01c8aabcf31d66a3636288709')
-
-prepare() {
-  cd ${_pkg}-${pkgver}
-  patch -p1 < ../${pkgname}-5931.patch
-  patch -p1 < ../${pkgname}-5936.patch
-}
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  # https://github.com/pydata/xarray/issues/4281
-  pytest --deselect xarray/tests/test_distributed.py::test_serializable_locks
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  # Remove tests
-  rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/xarray/tests
-  # Fix permissions
-  chmod -R a+r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/xarray/
-}

Copied: python-xarray/repos/community-any/PKGBUILD (from rev 1037269, python-xarray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-05 19:39:11 UTC (rev 1037270)
@@ -0,0 +1,78 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=xarray
+pkgname=python-${_pkg}
+pkgver=0.20.1
+pkgrel=1
+pkgdesc="N-D labeled arrays and datasets in Python"
+arch=(any)
+url="https://xarray.pydata.org/"
+license=(Apache)
+makedepends=(python-setuptools python-setuptools-scm)
+depends=(python-numpy python-pandas python-typing_extensions)
+optdepends=(
+  'python-netcdf4: netCDF4 support'
+  'python-scipy: interpolation features & fallback for netCDF3 support'
+#  'python-pydap: fallback for accessing OPeNDAP'
+#  'python-h5netcdf: alternative for netCDF4 support'
+#  'python-pynio: geoscience specific file formats support' 
+#  'python-zarr: chunked, compressed N-dimensional arrays'
+  'python-cftime: datetimes support for non-standard calendars or distant dates'
+#  'python-pseudonetcdf: atmospheric science specific file formats support'
+#  'python-rasterio: GeoTiffs and other gridded raster datasets support'
+#  'python-iris: conversion to and from iris’ Cube objects'
+#  'python-cfgrib: mapping GRIB files to CDF4'
+  'python-bottleneck: faster NaN-skipping and rolling window aggregations'
+#  'python-numbagg: faster exponential rolling window operations'  
+  'python-dask: parallel computation'
+  'python-distributed: parallel computation'
+  'python-matplotlib: plotting support'
+#  'python-cartopy: plotting of cartographic data'
+  'python-seaborn: better color palettes for plots'
+#  'python-nc-time-axis: plotting of cftime.datetime objects'  
+#  'python-sparse: sparse arrays support'
+  'python-pint: units of measure support'
+)
+checkdepends=(
+    python-pytest
+    python-pytest-xdist
+    python-aiobotocore
+    python-aiohttp
+    python-bottleneck
+    python-boto3
+    python-cftime
+    python-dask
+    python-distributed
+    python-fsspec
+    python-h5py
+    python-hypothesis
+    python-lxml
+    python-matplotlib
+    python-netcdf4
+    python-numexpr
+    python-numpy
+    python-pint
+    python-requests
+    python-scipy
+    python-seaborn
+)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('9c0bffd8b55fdef277f8f6c817153eb51fa4e58653a7ad92eaed9984164b7bdb')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  # https://github.com/pydata/xarray/issues/4281
+  pytest --deselect xarray/tests/test_distributed.py::test_serializable_locks
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  # Remove tests
+  rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/xarray/tests
+}



More information about the arch-commits mailing list