[arch-commits] Commit in python-xarray/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Mar 20 20:01:14 UTC 2022
Date: Sunday, March 20, 2022 @ 20:01:13
Author: archange
Revision: 1165216
upgpkg: python-xarray 2022.03.0-1
Modified:
python-xarray/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-20 20:01:03 UTC (rev 1165215)
+++ PKGBUILD 2022-03-20 20:01:13 UTC (rev 1165216)
@@ -2,14 +2,14 @@
_pkg=xarray
pkgname=python-${_pkg}
-pkgver=0.20.1
-pkgrel=3
+pkgver=2022.03.0
+pkgrel=1
pkgdesc="N-D labeled arrays and datasets in Python"
arch=(any)
url="https://xarray.pydata.org/"
license=(Apache)
+depends=(python-numpy python-packaging python-pandas)
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'
@@ -56,8 +56,9 @@
python-scipy
python-seaborn
)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('9c0bffd8b55fdef277f8f6c817153eb51fa4e58653a7ad92eaed9984164b7bdb')
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/pydata/xarray/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('ec38ee0d00e66dcd7a5935e63f8e2e0dccbccc00bd38d0bd4655d94cc22acf4e')
build() {
cd ${_pkg}-${pkgver}
@@ -67,7 +68,7 @@
check() {
cd ${_pkg}-${pkgver}
# https://github.com/pydata/xarray/issues/4281
- pytest --deselect xarray/tests/test_distributed.py::test_serializable_locks
+ pytest -vv --color=yes --deselect xarray/tests/test_distributed.py::test_serializable_locks
}
package() {
More information about the arch-commits
mailing list