1 |
commit: 197476858104f7919e1ac4884c29f3427c975175 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 1 08:40:52 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 1 10:06:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19747685 |
7 |
|
8 |
dev-python/xarray: Bump to 0.21.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xarray/Manifest | 1 + |
13 |
dev-python/xarray/xarray-0.21.1.ebuild | 42 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest |
17 |
index f8fac2cbd735..db23a40b8926 100644 |
18 |
--- a/dev-python/xarray/Manifest |
19 |
+++ b/dev-python/xarray/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST xarray-0.20.2.tar.gz 2906021 BLAKE2B 08ed46a27ce66ec1677e63000d74ecc4a01defa81b8ae1ec24595ff330713bf3e5585adce541e5e6769a74d64a4f5eb9d9aad27450e8088973681d0d60d00f83 SHA512 cd292af68ffd8016e01021e30a2ea83dd36e2f79bd9c3d8e7d83adc5a98a95615091d0102a19a0e3337ae334a701f575a142f476d1465804c8d5fe259ca35f1a |
22 |
DIST xarray-0.21.0.tar.gz 2937088 BLAKE2B b40d57cbb018e563b92afef1e5208bb597bf8ae892b154f49e90079977c05ab955ba07f136fcf3f456efa8deb70ffd2590dd2d2429b6114a418882b8d96b535f SHA512 85461b86ced78ad5cfd1ace122f1ab89f779a8c0c7e8d0f06233b4654c5f6bcb081eeddc91e5df1c8c40c344d2477f2f18799858e23294c0929e8e59445508b0 |
23 |
+DIST xarray-0.21.1.tar.gz 2936861 BLAKE2B 4d419185a6c49f8054f43748fd7a0ba9694aa9e7377e371705dd6eceea84f5d611d445a7548a79133f8db4c65729c9b5f694ab586d5e2f55640a6369483e3df4 SHA512 be5d925971557f492c8ca7e90eb678a0f98cf0a670eaa8a8564bd160a02fcd8a22362a8691c5447a9baaa67b464257f2ab6954747296839b304f3e25cf13487a |
24 |
|
25 |
diff --git a/dev-python/xarray/xarray-0.21.1.ebuild b/dev-python/xarray/xarray-0.21.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..6fddd59568f1 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/xarray/xarray-0.21.1.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="N-D labeled arrays and datasets in Python" |
42 |
+HOMEPAGE="https://xarray.pydata.org/" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/numpy-1.18[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pandas-1.1[${PYTHON_USEDEP}] |
52 |
+ dev-python/packaging[${PYTHON_USEDEP}]" |
53 |
+# note: most of test dependencies are optional |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/bottleneck[${PYTHON_USEDEP}] |
57 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
58 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
59 |
+ dev-python/toolz[${PYTHON_USEDEP}] |
60 |
+ !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) |
61 |
+ )" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}"/${PN}-0.19.0-riscv_tests_datetime.patch |
65 |
+) |
66 |
+ |
67 |
+distutils_enable_tests pytest |
68 |
+ |
69 |
+EPYTEST_DESELECT=( |
70 |
+ # warning-targeted tests are fragile and not important to end users |
71 |
+ xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get |
72 |
+) |