File tree 1 file changed +8
-16
lines changed
1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
1
--- PKGBUILD
2
2
+++ 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
+ }
15
7
+
16
8
+ prepare() {
17
9
+ cd ${_pkg}-${pkgver}
18
- + patch -Np1 -i ../no-casting-nan-to-int.patch
10
+ + patch -p1 < $srcdir/fix-test_roundtrip_mask_and_scale.diff
19
11
+ }
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')
You can’t perform that action at this time.
0 commit comments