From 90a3be9d71a22834f9bc82c072f1b993f9a10e31 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Aug 2023 21:42:17 +0100 Subject: gentoo auto-resync : 20:08:2023 - 21:42:17 --- dev-python/xarray/Manifest | 2 ++ dev-python/xarray/xarray-2023.8.0.ebuild | 62 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-python/xarray/xarray-2023.8.0.ebuild (limited to 'dev-python/xarray') diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 17aa0c457206..88b422245d53 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,3 +1,5 @@ DIST xarray-2023.7.0.tar.gz 3725483 BLAKE2B 814af19a4c24eb0179441d07bcd6165dee2ed5430a6fd94f4014387b7b7fd4ae250b64124bdda8ca411124ab2276075af65bde2a3ed3dc6d081dd466a485007e SHA512 88863770b22978ba681a2d970453ae087a234fcfb68f047b6020b39841a91207e8d92e01486d58bbeadac8d14608aa0c744ee9b6d54890f52fe3537b28292239 +DIST xarray-2023.8.0.tar.gz 3757528 BLAKE2B f94bcf90ee06273e82400f4786af97d5cf0db32ff4070929863d5072056fa4e0a33feaf3d378d9d67eed61f349df3ac96efcd1bb3b455043e01af0abf96bb6b3 SHA512 1d712e9fbf266906ac35c199eead77cec76ba5b4b4462140bef2fffd227a52d2cba9670a042cb669b0567320e9308bf81fe4e84c1cfcff234ad2332d72e895a3 EBUILD xarray-2023.7.0.ebuild 1907 BLAKE2B 481fda79294db9c840b8c305f53932add621a349b7280c99a844ddcd06094501b26800f59accbc5d14c73e1bd8b6a3b2c93d5d24b5990c9470b0af2efc393bc4 SHA512 3c4eae63b5b799345cbdf5204be00bce6f29546f396cecc7e5aadb6700973f6fe92c96d0a75e1215cc7a90de9726b5373edae57b1e5ef7d48c58399fcd75eb58 +EBUILD xarray-2023.8.0.ebuild 2161 BLAKE2B 678f1511363c270bac10f3205c5296417e348c856f2fe813be2b6f62475d804f0b10e32737075d8c5c791b7229907d7e84dbd23a2872a008fd293f4db2287917 SHA512 407a9740240bb506474405e3487cac8c78a70d159bf0ad89840e87ec3db66a886099b930c9cdabc343301b832e9e638f958bdff6c53c97b7d515ddb32be3227b MISC metadata.xml 509 BLAKE2B d470cc092eb055215a5868c22f9ec458057cfad600357fa1f658ed4537a6a6f68bda1422c4a665f1963ce0a6049e691befc3ca4baa60cc898364ad5f18164979 SHA512 602755896a3655295058afc8543a4bb64192d5c625f2edd86291c1f23d171f051a4238466163c2d469874aff3e68770fc76177e720870492266fb14e6faf6ce7 diff --git a/dev-python/xarray/xarray-2023.8.0.ebuild b/dev-python/xarray/xarray-2023.8.0.ebuild new file mode 100644 index 000000000000..927a172c75ba --- /dev/null +++ b/dev-python/xarray/xarray-2023.8.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # warning-targeted tests are fragile and not important to end users + xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get + # TODO: segv in netcdf4-python + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-5]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-None]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-5]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-None]' + xarray/tests/test_backends.py::TestDask::test_save_mfdataset_compute_false_roundtrip + # hangs + xarray/tests/test_backends.py::TestDask::test_dask_roundtrip + # mismatches when pyarrow is installed + # https://github.com/pydata/xarray/issues/8092 + xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D + xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal +} -- cgit v1.2.3