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

Bruno Pagani archange at gemini.archlinux.org
Fri Nov 5 19:38:48 UTC 2021


    Date: Friday, November 5, 2021 @ 19:38:47
  Author: archange
Revision: 1037269

upgpkg: python-xarray 0.20.1-1

Modified:
  python-xarray/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 19:34:08 UTC (rev 1037268)
+++ PKGBUILD	2021-11-05 19:38:47 UTC (rev 1037269)
@@ -2,7 +2,7 @@
 
 _pkg=xarray
 pkgname=python-${_pkg}
-pkgver=0.20.0
+pkgver=0.20.1
 pkgrel=1
 pkgdesc="N-D labeled arrays and datasets in Python"
 arch=(any)
@@ -56,19 +56,9 @@
     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')
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('9c0bffd8b55fdef277f8f6c817153eb51fa4e58653a7ad92eaed9984164b7bdb')
 
-prepare() {
-  cd ${_pkg}-${pkgver}
-  patch -p1 < ../${pkgname}-5931.patch
-  patch -p1 < ../${pkgname}-5936.patch
-}
-
 build() {
   cd ${_pkg}-${pkgver}
   python setup.py build
@@ -85,6 +75,4 @@
   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/
 }



More information about the arch-commits mailing list