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

Bruno Pagani archange at gemini.archlinux.org
Thu Nov 4 05:28:46 UTC 2021


    Date: Thursday, November 4, 2021 @ 05:28:46
  Author: archange
Revision: 1036054

upgpkg: python-xarray 0.20.0-1

Modified:
  python-xarray/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-04 05:10:00 UTC (rev 1036053)
+++ PKGBUILD	2021-11-04 05:28:46 UTC (rev 1036054)
@@ -2,7 +2,7 @@
 
 _pkg=xarray
 pkgname=python-${_pkg}
-pkgver=0.19.0
+pkgver=0.20.0
 pkgrel=1
 pkgdesc="N-D labeled arrays and datasets in Python"
 arch=(any)
@@ -9,7 +9,7 @@
 url="https://xarray.pydata.org/"
 license=(Apache)
 makedepends=(python-setuptools python-setuptools-scm)
-depends=(python-numpy python-pandas)
+depends=(python-numpy python-pandas python-typing_extensions)
 optdepends=(
   'python-netcdf4: netCDF4 support'
   'python-scipy: interpolation features & fallback for netCDF3 support'
@@ -56,9 +56,19 @@
     python-scipy
     python-seaborn
 )
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('3a365ce09127fc841ba88baa63f37ca61376ffe389a6c5e66d52f2c88c23a62b')
+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



More information about the arch-commits mailing list