Skip to content

Commit 7d422f7

Browse files
cybaolfelixonmars
authored andcommitted
updpatch: python-xarray 2025.01.1-2
1 parent 0cbcbbb commit 7d422f7

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

python-xarray/riscv64.patch

+8-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
--- PKGBUILD
22
+++ PKGBUILD
3-
@@ -57,8 +57,17 @@ checkdepends=(
4-
python-seaborn
5-
)
6-
#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
7-
-source=(https://github.com/pydata/xarray/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
8-
-sha256sums=('328ebc41581e8a0d15c9b274dfee7e14b4fb1dfde8d438eb10246a60f27b02a5')
9-
+source=(
10-
+ https://github.com/pydata/xarray/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz
11-
+ no-casting-nan-to-int.patch::https://patch-diff.githubusercontent.com/raw/pydata/xarray/pull/7098.patch
12-
+)
13-
+sha256sums=('328ebc41581e8a0d15c9b274dfee7e14b4fb1dfde8d438eb10246a60f27b02a5'
14-
+ '9734ac3d42ea220c239d710effe09b56a5a19ee8041c23d8000df0b1a27888dd')
3+
@@ -94,3 +94,11 @@ package() {
4+
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
5+
rm -r "${pkgdir}/${site_packages}/xarray/tests"
6+
}
157
+
168
+prepare() {
179
+ cd ${_pkg}-${pkgver}
18-
+ patch -Np1 -i ../no-casting-nan-to-int.patch
10+
+ patch -p1 < $srcdir/fix-test_roundtrip_mask_and_scale.diff
1911
+}
20-
21-
build() {
22-
cd ${_pkg}-${pkgver}
12+
+
13+
+source+=('fix-test_roundtrip_mask_and_scale.diff::https://github.com/pydata/xarray/pull/9964.diff')
14+
+sha256sums+=('d4830feddcc93e8aba46456bbd72c11e2a4740ced98ca76a50615c1aad006b62')

0 commit comments

Comments
 (0)