diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-27 06:25:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-27 06:25:46 +0000 |
| commit | 84039d2d62ad9ab8a2b0fc78aa0614635cca2176 (patch) | |
| tree | 8fc4224064be696fa60c7a01d968dbee0abba997 /dev-python | |
| parent | abce86c246ba1361b5b2ff3ee1f361eee67dcb37 (diff) | |
| download | baldeagleos-repo-84039d2d62ad9ab8a2b0fc78aa0614635cca2176.tar.gz baldeagleos-repo-84039d2d62ad9ab8a2b0fc78aa0614635cca2176.tar.xz baldeagleos-repo-84039d2d62ad9ab8a2b0fc78aa0614635cca2176.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 8 insertions, 505 deletions
diff --git a/dev-python/cbor2/cbor2-5.4.1.ebuild b/dev-python/cbor2/cbor2-5.4.1.ebuild index 194e5dbf1f64..af220210fb8b 100644 --- a/dev-python/cbor2/cbor2-5.4.1.ebuild +++ b/dev-python/cbor2/cbor2-5.4.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 arm ~arm64 x86" BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}]" diff --git a/dev-python/debugpy/debugpy-1.4.1.ebuild b/dev-python/debugpy/debugpy-1.4.1.ebuild index d2065eae4f55..84569215fbd5 100644 --- a/dev-python/debugpy/debugpy-1.4.1.ebuild +++ b/dev-python/debugpy/debugpy-1.4.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/microsoft/${PN}/archive/refs/tags/v${PV}.tar.gz -> $ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~sparc" # There is not enough time in the universe for this test suite RESTRICT="test" diff --git a/dev-python/ipykernel/ipykernel-6.2.0.ebuild b/dev-python/ipykernel/ipykernel-6.2.0.ebuild index c937830076dc..8fa97927c187 100644 --- a/dev-python/ipykernel/ipykernel-6.2.0.ebuild +++ b/dev-python/ipykernel/ipykernel-6.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~sparc" RDEPEND=" >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index acf3083d552c..88d01c75eaa4 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,2 +1 @@ -DIST openstacksdk-0.50.0.tar.gz 940210 BLAKE2B 0ca7740206139ced4e8fc761cee90c7b1d3a31a6fd64afbe1de9d46552dc6fe206351854a80f4e56d5a2852ca9c2714f8e8001434fafc39e16c60b8c5c935323 SHA512 d0e69ad046712d3d54b4e21faa20627faf96d633b1eeeac09c3b9c129a5912883f22945200b65233ff8517c67dab4c6eeac73817d2fe543cc5ba05c0d751e157 DIST openstacksdk-0.58.0.tar.gz 1021818 BLAKE2B 530ec940b958d5c9b1a1caba71716201172e1141ebac208b26ea512732be152ccc6e928d20e38964eb455ff47fd6f42756d3f9af19800a45104b631d45d312c9 SHA512 94bb317e9f79ab419e5a0e7def4510d6686e3b8585721c15bd1f03eced5e8f45509cf925ed2b3e51a19ecd2d3e28469343cdae5a3df549f35bb61c448add5caa diff --git a/dev-python/openstacksdk/openstacksdk-0.50.0-r1.ebuild b/dev-python/openstacksdk/openstacksdk-0.50.0-r1.ebuild deleted file mode 100644 index d95b76ee3052..000000000000 --- a/dev-python/openstacksdk/openstacksdk-0.50.0-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A collection of libraries for building applications to work with OpenStack." -HOMEPAGE="https://github.com/openstack/python-openstacksdk" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE="" - -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - !~dev-python/pbr-2.1.0" -RDEPEND="${CDEPEND} - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] - >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonpatch-1.16[${PYTHON_USEDEP}] - !~dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] - >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth-3.18.0[${PYTHON_USEDEP}] - >=dev-python/munch-2.1.0[${PYTHON_USEDEP}] - >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] - >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] -" -BDEPEND="${CDEPEND} - test? ( - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - dev-python/hacking[${PYTHON_USEDEP}] - >=dev-python/prometheus_client-0.4.2[${PYTHON_USEDEP}] - >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest - -python_test() { - distutils_install_for_testing - cd "${TEST_DIR}"/lib || die - - # broken with the current version of dogpile.cache? - rm openstack/tests/unit/cloud/test_caching.py || die - - # TODO - sed -e 's:test_generate_form:_&:' \ - -e 's:test_create_static_large_object:_&:' \ - -e 's:test_object_segment_retries:_&:' \ - -e 's:test_object_segment_retry_failure:_&:' \ - -e 's:test_slo_manifest_retry:_&:' \ - -i openstack/tests/unit/cloud/test_object.py || die - - # unhappy about paths due to test runner - sed -e 's:test_method_not_supported:_&:' \ - -i openstack/tests/unit/test_exceptions.py || die - sed -e 's:test_repr:_&:' \ - -i openstack/tests/unit/test_resource.py || die - - # functional tests require cloud instance access - eunittest -b openstack/tests/unit -} diff --git a/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild b/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild index 9389d45da0a5..6f02110e230e 100644 --- a/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild +++ b/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="" CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 8fe391970592..96f96ba6b103 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,4 +1 @@ -DIST pybind11-2.6.1.tar.gz 634179 BLAKE2B 33f057e88e45985a0475783b8931ec669a16efcad5d66ecb265744155e9941b2d618391a36bff1d8c1c2d74a7e0b41de50b26eae689215d4585542fbd4282cc1 SHA512 8730efec82eef8dc09a58ca3e3b28fca45880cef85d32aa5524a8fe64e23d5f6dff4ca1b48b3034a287199bd56f4db4d6806c5358bef66fde84ed0fbf80ec264 -DIST pybind11-2.6.2.tar.gz 647954 BLAKE2B e336d626d314538123a121d48998b15d9d16b80a6a513e85b4ef2b3179f73732ef23b85ab91d815f15c31f7e2c5091192e90b9ff8e727725882963a895367612 SHA512 1eb346ff6b8f827053265340925e2c8038b1e2a89c352fc09f15ebe86128e7ba1f48c4368b193941f034b30bee7f72a94343e05d4841fdbbd0e4d91ed3d32025 -DIST pybind11-2.7.0.tar.gz 666200 BLAKE2B 4f78493ecbea5068dd9ab6771c9b33859baf3e14a82a6a3b361a11620ce6495763f94acca0c0a9512fa92343fa2ff91fa3e2ff7f30731bdda823b2b3fc139302 SHA512 529596c8762f463868f942ca9c4d3e4ed141bc09c734defeeace2b0250234c3359ef1f231997389fbffca849e01ba1feb8d7edc385745b6d964771aa67ced720 DIST pybind11-2.7.1.tar.gz 668217 BLAKE2B 92d857f14290ee0717bd9f9b871dcecd6c0b36209bb9879f107c8542326fb0cc42c051f3bc12a8be50df892f1e26c26b710f60ed275f0dff206e30149547f2b4 SHA512 f09f46622b394d3990ab82aa7ea15a06e298df109cd2df263ba9d6ac7fb248217df7450e1954a9679a8360335d5bbf662926a34c8b7c61b6e4c396bbdfd88305 diff --git a/dev-python/pybind11/pybind11-2.6.1.ebuild b/dev-python/pybind11/pybind11-2.6.1.ebuild deleted file mode 100644 index 3b0d80bd8ead..000000000000 --- a/dev-python/pybind11/pybind11-2.6.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" - -RDEPEND=" - dev-cpp/eigen:3 -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - - # broken with scipy-1.4.1 - sed -i -e 's:test_sparse:_&:' tests/test_eigen.py || die - - cmake_src_prepare - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-2.6.2.ebuild b/dev-python/pybind11/pybind11-2.6.2.ebuild deleted file mode 100644 index 3f3b66ae3c88..000000000000 --- a/dev-python/pybind11/pybind11-2.6.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" - -RDEPEND=" - dev-cpp/eigen:3 -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - - cmake_src_prepare - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-2.7.0.ebuild b/dev-python/pybind11/pybind11-2.7.0.ebuild deleted file mode 100644 index f9162d1f4f82..000000000000 --- a/dev-python/pybind11/pybind11-2.7.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -RDEPEND=" - dev-cpp/eigen:3 -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - - cmake_src_prepare - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-2.7.1.ebuild b/dev-python/pybind11/pybind11-2.7.1.ebuild index fc641189a9ac..56a154bab47f 100644 --- a/dev-python/pybind11/pybind11-2.7.1.ebuild +++ b/dev-python/pybind11/pybind11-2.7.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND=" dev-cpp/eigen:3 diff --git a/dev-python/queuelib/Manifest b/dev-python/queuelib/Manifest index 7560d29f6775..62cd58f5430d 100644 --- a/dev-python/queuelib/Manifest +++ b/dev-python/queuelib/Manifest @@ -1,2 +1,2 @@ -DIST queuelib-1.5.0.tar.gz 9234 BLAKE2B 5f277f3efe77f49c8841e337c0a20efb7db68b487c6b87643372415eab0bfa682a9cddfb72686dd9b4d09e799edd28a4070adba6aa91edb42e6dacf20f8cb96a SHA512 aafaf8756b00cd84b36a73d9573a8a321a0432648c2e7dfc9de566d339087fcd855eb2d5991694a495e47bbb9c4ca25d655e4de7101552e96ee0040ed31c9e0f DIST queuelib-1.6.1.tar.gz 12079 BLAKE2B 3814d1cbdf26c4c3401b6db9ea2379575417745a287a682a9d10606a5021e404171083d45aa47911f58cf5febf9a715a074a3054ce7e9d02331f4093b59eb40d SHA512 254099f02b8441856f4fc2d934fc01450027b38e219a20229481954dfed5ba68c0c0c3f0106d87e661ab3de30023bb1f1c4aff0cf7e3633dbb97730281d1c4a6 +DIST queuelib-1.6.2.tar.gz 12787 BLAKE2B 5b4d354475e52926348686a1d93e398f500ff48bde689cda49eb547860f24b1af4573b2f0ddceae65a55b5864ac393343ff466ac7e221a3fb1c25985f02d127d SHA512 a836f43d5e1d2b06fd9869842b7f400e950e476a253c5fd0adc3a340f153218ddeb854b43cb63177ceda1069f0172ef474b4d1739a9142b76c0b7185efe6330f diff --git a/dev-python/queuelib/queuelib-1.5.0.ebuild b/dev-python/queuelib/queuelib-1.6.2.ebuild index 1ddfd96846f2..1ddfd96846f2 100644 --- a/dev-python/queuelib/queuelib-1.5.0.ebuild +++ b/dev-python/queuelib/queuelib-1.6.2.ebuild diff --git a/dev-python/tomli/tomli-1.0.4.ebuild b/dev-python/tomli/tomli-1.0.4.ebuild index 00df442cf46c..84ad7afe679e 100644 --- a/dev-python/tomli/tomli-1.0.4.ebuild +++ b/dev-python/tomli/tomli-1.0.4.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" BDEPEND=" test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )" diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 5cc33bb051ea..20ed015ab110 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,4 +1 @@ -DIST xarray-0.17.0.tar.gz 2055584 BLAKE2B afbd28032069e4b498c87abd34661dc96525cb581a08fcf68eeaca08468afb9b452650bce4d21cada0eb1cb75ad11b0565a6b965b11120d4bef4d4cd612fa91d SHA512 726d548519614936f4b6c6ded0375a35362b195a2c6b55a282d198cbb8a70fa7439377a88f253cf4f16c86582fc22c8a4700b9645516decf7edd3e980d9dda34 -DIST xarray-0.18.1.tar.gz 2849935 BLAKE2B f4d510a049e67431737ba7f6a66fdd83061e6e5728ac6bfd3b9f104b24cc619cb1d0f05bbe6911e952c312ef229dbf1a68842b75dbb0ecf811fcc7d6e78569b0 SHA512 e1842d7bf06ee23716038fd58e7ae3a2014012cbc49394c9000272cb0498c1d333cbf3133b1d8fcdbddd524d44f6fa5fcc117c992d0ab1d3d0b9c4ddfc317847 -DIST xarray-0.18.2.tar.gz 2850065 BLAKE2B 16d8f5e10a7c9cb4247a3bc8f496f249d66235673e79d0707077e20b54a7d94a7b754fb00f44b876fa21273521f9e2e7d52183798ca33b8e62b30fbc57621c5a SHA512 3cfd6a3b77c48a73eb72e6c39db33aba266925df7ce9b8270231dd14032a717094073a2c3686b09fcff25313b548a452f9ed902211e254254389d15f025d8d0d DIST xarray-0.19.0.tar.gz 2882403 BLAKE2B 454595076074c9805f0ff6f8b761a61e4c172445f2fd0bbcbd39a9615f3465704871fbc5f7c1a9c5fbb1c80b6c47cd677e590e1513ca88cd67908ef3502d234e SHA512 8f4ce7f770ea10e757112b722c7e7a56f19be2f885c63620d547cc54d8b625a5a23c5e603ba804c4d94f2a94863aad8351a9f6ef22ccbc1a78d77a549a21356e diff --git a/dev-python/xarray/files/xarray-0.18.2-backports.patch b/dev-python/xarray/files/xarray-0.18.2-backports.patch deleted file mode 100644 index be30702e67f4..000000000000 --- a/dev-python/xarray/files/xarray-0.18.2-backports.patch +++ /dev/null @@ -1,116 +0,0 @@ -From ca72d56c213a1c47e54b12ee559f412e60fbf9b1 Mon Sep 17 00:00:00 2001 -From: Spencer Clark <spencerkclark@gmail.com> -Date: Sat, 22 May 2021 20:13:19 -0400 -Subject: [PATCH] Make `kind` argument in `CFTimeIndex._maybe_cast_slice_bound` - optional (#5359) - -* [test-upstream] Make kind argument in CFTimeIndex._maybe_cast_slice_bound optional - -* Update doc/whats-new.rst - -Co-authored-by: keewis <keewis@users.noreply.github.com> - -Co-authored-by: keewis <keewis@users.noreply.github.com> ---- - doc/whats-new.rst | 4 ++++ - xarray/coding/cftimeindex.py | 9 +++++++-- - 2 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/xarray/coding/cftimeindex.py b/xarray/coding/cftimeindex.py -index f0de5565..783fe8d0 100644 ---- a/xarray/coding/cftimeindex.py -+++ b/xarray/coding/cftimeindex.py -@@ -465,9 +465,14 @@ class CFTimeIndex(pd.Index): - else: - return pd.Index.get_loc(self, key, method=method, tolerance=tolerance) - -- def _maybe_cast_slice_bound(self, label, side, kind): -+ def _maybe_cast_slice_bound(self, label, side, kind=None): - """Adapted from -- pandas.tseries.index.DatetimeIndex._maybe_cast_slice_bound""" -+ pandas.tseries.index.DatetimeIndex._maybe_cast_slice_bound -+ -+ Note that we have never used the kind argument in CFTimeIndex and it is -+ deprecated as of pandas version 1.3.0. It exists only for compatibility -+ reasons. We can remove it when our minimum version of pandas is 1.3.0. -+ """ - if not isinstance(label, str): - return label - --- -2.32.0 - -From 34dc57717c82a86455a9e5abb0a47df782266c7e Mon Sep 17 00:00:00 2001 -From: Mathias Hauser <mathause@users.noreply.github.com> -Date: Mon, 7 Jun 2021 23:05:24 +0200 -Subject: [PATCH] fix dask meta and output_dtypes error (#5449) - ---- - xarray/tests/test_computation.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/xarray/tests/test_computation.py b/xarray/tests/test_computation.py -index b7ae1ca9..09bed724 100644 ---- a/xarray/tests/test_computation.py -+++ b/xarray/tests/test_computation.py -@@ -1306,7 +1306,10 @@ def test_vectorize_dask_dtype_without_output_dtypes(data_array): - assert expected.dtype == actual.dtype - - --@pytest.mark.xfail(LooseVersion(dask.__version__) < "2.3", reason="dask GH5274") -+@pytest.mark.skipif( -+ LooseVersion(dask.__version__) > "2021.06", -+ reason="dask/dask#7669: can no longer pass output_dtypes and meta", -+) - @requires_dask - def test_vectorize_dask_dtype_meta(): - # meta dtype takes precedence --- -2.32.0 - -From 5a14d7d398be7e0efc6d5c8920dc8886212c3b2a Mon Sep 17 00:00:00 2001 -From: Spencer Clark <spencerkclark@gmail.com> -Date: Sat, 12 Jun 2021 08:58:42 -0400 -Subject: [PATCH] Explicitly state datetime units in array constructors in - `test_datetime_mean` (#5463) - ---- - xarray/tests/test_duck_array_ops.py | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -diff --git a/xarray/tests/test_duck_array_ops.py b/xarray/tests/test_duck_array_ops.py -index 0eb00725..6d49e209 100644 ---- a/xarray/tests/test_duck_array_ops.py -+++ b/xarray/tests/test_duck_array_ops.py -@@ -285,15 +285,15 @@ def assert_dask_array(da, dask): - def test_datetime_mean(dask): - # Note: only testing numpy, as dask is broken upstream - da = DataArray( -- np.array(["2010-01-01", "NaT", "2010-01-03", "NaT", "NaT"], dtype="M8"), -+ np.array(["2010-01-01", "NaT", "2010-01-03", "NaT", "NaT"], dtype="M8[ns]"), - dims=["time"], - ) - if dask: - # Trigger use case where a chunk is full of NaT - da = da.chunk({"time": 3}) - -- expect = DataArray(np.array("2010-01-02", dtype="M8")) -- expect_nat = DataArray(np.array("NaT", dtype="M8")) -+ expect = DataArray(np.array("2010-01-02", dtype="M8[ns]")) -+ expect_nat = DataArray(np.array("NaT", dtype="M8[ns]")) - - actual = da.mean() - if dask: -@@ -889,8 +889,6 @@ def test_push_dask(): - # some chunks of size-1 with NaN - with raise_if_dask_computes(): - actual = push( -- dask.array.from_array(array, chunks=(1, 2, 3, 2, 2, 1, 1)), -- axis=0, -- n=None, -+ dask.array.from_array(array, chunks=(1, 2, 3, 2, 2, 1, 1)), axis=0, n=None - ) - np.testing.assert_equal(actual, expected) --- -2.32.0 - diff --git a/dev-python/xarray/xarray-0.17.0.ebuild b/dev-python/xarray/xarray-0.17.0.ebuild deleted file mode 100644 index 7351235051ef..000000000000 --- a/dev-python/xarray/xarray-0.17.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkg_resources use in code -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="N-D labeled arrays and datasets in Python" -HOMEPAGE="https://xarray.pydata.org/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/pandas-1.0[${PYTHON_USEDEP}]" -# note: most of test dependencies are optional -BDEPEND=" - test? ( - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/xarray/xarray-0.18.1.ebuild b/dev-python/xarray/xarray-0.18.1.ebuild deleted file mode 100644 index 5e20b6367e84..000000000000 --- a/dev-python/xarray/xarray-0.18.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkg_resources use in code -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="N-D labeled arrays and datasets in Python" -HOMEPAGE="https://xarray.pydata.org/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/pandas-1.0[${PYTHON_USEDEP}]" -# note: most of test dependencies are optional -BDEPEND=" - test? ( - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/xarray/xarray-0.18.2-r1.ebuild b/dev-python/xarray/xarray-0.18.2-r1.ebuild deleted file mode 100644 index 24ad471bc9b2..000000000000 --- a/dev-python/xarray/xarray-0.18.2-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkg_resources use in code -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="N-D labeled arrays and datasets in Python" -HOMEPAGE="https://xarray.pydata.org/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/pandas-1.0[${PYTHON_USEDEP}]" -# note: most of test dependencies are optional -BDEPEND=" - test? ( - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-backports.patch -) - -python_test() { - local deselect=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/xarray/xarray-0.19.0.ebuild b/dev-python/xarray/xarray-0.19.0.ebuild index d9f0d5963280..1e7cef225a10 100644 --- a/dev-python/xarray/xarray-0.19.0.ebuild +++ b/dev-python/xarray/xarray-0.19.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/numpy-1.17[${PYTHON_USEDEP}] |
