diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-13 07:01:26 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-13 07:01:26 +0000 |
| commit | d1f187268ce0d965201c63ccf5ccec84b91cd3e9 (patch) | |
| tree | 0a547868317aec53f7d3fa7cd01cde63cbff81c2 /dev-python | |
| parent | c95855f3f9eb1f00347eff40a529924818c8395d (diff) | |
| download | baldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.tar.gz baldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.tar.xz baldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
37 files changed, 918 insertions, 108 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 490f033edd98..02a95f9cdd6d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B a753ca5547a44cb8e163bb90b8446ebf535d DIST boto3-1.38.33.gh.tar.gz 952926 BLAKE2B c273983f46a87d043adff81c98247b1f2f03af71550ea4e10777e26b28ae22ae2474189c5e8cf2ac68ad448430ccc38fe9cecb1e6122f771178c4306a85abd5f SHA512 4c9a8bc7652c94dd72d0233da016993cd339497f64ce1f90f63e29844ff7c5937ff186b4656a40646e4333b10e17902b3cf5b77d9a5ff5a1616a9e0f1be22e9a DIST boto3-1.38.34.gh.tar.gz 953076 BLAKE2B de42b8fd319754cca45805b86211431a0f879cabb1e243afdfd7cdc6e2408e960432aeff25007be4868940f72e2f6fe9834ec853bb18969a6b70ee6e39979ee8 SHA512 2d0f833709afc8b9aaf503a09414096bd996229aa2d0aba492c52f45b8702aa485896719ac3eb93a4f8668dc7f677d1b0ac796977a82bb0c179b63489a4e4b65 DIST boto3-1.38.35.gh.tar.gz 953837 BLAKE2B f6c5dead06fcc0a1d2acd3e076d88767f25238c87a5145d36c2608e51ec95aaf13f12397df1820c933ce2b15c36062a2daa04b1f492a9b07231239a667bd086f SHA512 2b2a87187850540541ec5c0a5f8c20c2e3555d3560966d064421cccb07aebf640cb3c833c1ce569b5a856ddf0fa8c7373e8c94db7693c3dbb55a88a11e52544b +DIST boto3-1.38.36.gh.tar.gz 954319 BLAKE2B 9c0f54169c7cd186922c7d2f0dcab9219b5b9c8e983ca59a086cfcdc91bb0308a5c4f97cf191499820820c5e80f0a81faa97b5f57034244a04c4966455e9de55 SHA512 158200e740644d3804328c4892b37ce0de477cd80bea5bef4e1875cd97c6949f07595fda94f1c1f0b3428d909d83f9cca1478801cbcd6f6ea991d7715683437f diff --git a/dev-python/boto3/boto3-1.38.36.ebuild b/dev-python/boto3/boto3-1.38.36.ebuild new file mode 100644 index 000000000000..0e521ede0704 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.36.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index da3b7a05820e..8bd88ede5fc1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.38.32.gh.tar.gz 14700669 BLAKE2B c88446a3fc16de58f0d52fa3ff6f345 DIST botocore-1.38.33.gh.tar.gz 14707771 BLAKE2B bf2d34e054e99205689e446edac267c30b046c67d89b9fefb345b9b1417d4dc54a04fe971a46271717aec6c9f4235238ee4f2d93b2d08a28d5150e85a1aae91a SHA512 03a5a3fa307044ac5c878237dc88d71b66e598cba01e23bf1b4ab32e2f0f20521dc9e25f83bdea097aa9de37f249aded9dffe602cfa9c083e48413786e2e0e8b DIST botocore-1.38.34.gh.tar.gz 14707724 BLAKE2B e0355ae2b3386fa0d3c180ab1c0c02c26dbf9b2f5b4b0c3cafba8f8e8b7cdc624d5cb07c857f79a9b68983dd7a673e785f432cdd27f249349d6d0f20186c5239 SHA512 a47f9060c54421cf705334c87232c762f99fb793802947ae878a39891656ad196dbb1dca1b469af433610be0188da5a869d1de7a5ff4353bdacb7d0802caf8ed DIST botocore-1.38.35.gh.tar.gz 14715036 BLAKE2B b7917ca4cb742e7dcd872df5c38a74ff454458b91f03fa90f73fdb69e6bb51b1223e13ffe33c9c491055d33cf614e5eaafe6ed06228052e613d348f42515fc1d SHA512 babbb4ee63417bf61503f198990514773590c19eadf5fd03890ab6e86d66a41a4b88024eef60fa7afc00e1c81135e0448c4b8a81c9d49ece04049dbdc093aaae +DIST botocore-1.38.36.gh.tar.gz 14720436 BLAKE2B fe5b58bba65c55b4ace04b5fa88de6fcc8c47e4c5de4ff1ef9c6c24554d40ce5f8b93bddbc837621231c5324a12db1682f554d290a345e898e3646ccf0e48ae1 SHA512 e941f02b1117e8f2690f9d4355a3dc0138e88db007b76325fe55cd4b41c0fcbc2f9b306bb1c5c49ef02c56926eab82d6469c6761c164d16678963091ab9d925a diff --git a/dev-python/botocore/botocore-1.38.36.ebuild b/dev-python/botocore/botocore-1.38.36.ebuild new file mode 100644 index 000000000000..be6df9120cc8 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.36.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 03f3c37f15f8..4bb49dfb02ef 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.35.3.tar.gz 3105179 BLAKE2B a1bd9ea3dee0f4ee6ddf88a4572e0900ac099274bf75f37e54a56a6c5d102e9f1d91a14518be38b03a37257999ff3c9539c4a8f08a5042a1689e862259266d50 SHA512 bdd0188bcd7dd327e6a72c60dcc8535643750c3762632e09bb851c62f520b38518d76e0566686f8fe5766beff147abd5eccd94db34701bef5d149e84954a3a48 DIST cfn_lint-1.35.4.tar.gz 2981501 BLAKE2B 51fd51b194e19a0bebd72efadfd81c633f86c3017efaf08b262c83b36228548b53835aae0f17e2617ed7ec8a4cd87886f33d3ad01c935b26dde58273eee37dc4 SHA512 67442deda9d3ab8556cb35def0b3b26286d986f17f7fd07080b1752575790bda18ea65ac3ac66be3086cc1762d773fa499f31c26a9d4b75cde2c7c91471fbcd4 +DIST cfn_lint-1.36.0.tar.gz 3085599 BLAKE2B 5f482ab9c4682c11471fb66edb2caa262f7a2c61037c60139ffa610c5d0f40a3c37a32db992e37d3ead6593cbc9a8dba9576400043cbe02c7c64d457dfcbbb76 SHA512 3140ea79beeb61411f7e432476009356b67ad64fdaa1ca2d4c4f6965a1630886b9ec6e95f96afe237ebd486abb061c348c0ab224457d04a7a17d529733514a32 diff --git a/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild new file mode 100644 index 000000000000..669286dc533a --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/django-multiselectfield/Manifest b/dev-python/django-multiselectfield/Manifest index b258249a2364..a4ab663bc442 100644 --- a/dev-python/django-multiselectfield/Manifest +++ b/dev-python/django-multiselectfield/Manifest @@ -1,2 +1,2 @@ -DIST django-multiselectfield-0.1.12.gh.tar.gz 19402 BLAKE2B d9a67dfce833dffaec4b1331290284d7dc7a1567f8a4550363072dc4a32705d91e8ff4d93928627a2167260371b4b0d161e4c4ee95bf0ca0d99dcbc20cf8cfee SHA512 23eb4c8ff9feecd8e40aa15a95ee8d5081575ebc672811eb25ab5fbf883c339334a2adc209489966b0638dcd1b175d8f5a6da70c200e1f297ea848c9c71ec79f DIST django-multiselectfield-0.1.13.gh.tar.gz 19683 BLAKE2B 87bcb6079e409b73b73cecfe3f57ff2ea2d2fdbc2c53ab9299b3849ee2dec0b81e7387cfcfccaa56488cfeca281c626fc3caedfade1913869304e60f774358d9 SHA512 d3f880df999559400cadd94a0fac5418884b94978979f9a7e32b51d0f2d068988e84756ae8455bcc3c86dab0b7e23a2eebb4b33611a3d046b102b971b19c5645 +DIST django-multiselectfield-1.0.1.gh.tar.gz 19683 BLAKE2B 87bcb6079e409b73b73cecfe3f57ff2ea2d2fdbc2c53ab9299b3849ee2dec0b81e7387cfcfccaa56488cfeca281c626fc3caedfade1913869304e60f774358d9 SHA512 d3f880df999559400cadd94a0fac5418884b94978979f9a7e32b51d0f2d068988e84756ae8455bcc3c86dab0b7e23a2eebb4b33611a3d046b102b971b19c5645 diff --git a/dev-python/django-multiselectfield/django-multiselectfield-0.1.12.ebuild b/dev-python/django-multiselectfield/django-multiselectfield-1.0.1.ebuild index 093c3ba92d25..fccfc24c3579 100644 --- a/dev-python/django-multiselectfield/django-multiselectfield-0.1.12.ebuild +++ b/dev-python/django-multiselectfield/django-multiselectfield-1.0.1.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2024-2025 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=8 DISTUTILS_USE_PEP517=setuptools @@ -8,9 +7,13 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 +GIT_COMMIT="d78d65219ec600a4078ad2b7d69e7af28c2681a3" + DESCRIPTION="Django multiple select field" HOMEPAGE="https://github.com/goinnn/django-multiselectfield" -SRC_URI="https://github.com/goinnn/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI="https://github.com/goinnn/django-multiselectfield/archive/${GIT_COMMIT}.tar.gz -> ${P}.gh.tar.gz" + +S=${WORKDIR}/${PN}-${GIT_COMMIT} LICENSE="LGPL-3" SLOT="0" @@ -20,7 +23,3 @@ RDEPEND="dev-python/django[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" DOCS=( README.rst ) - -#python_test() { -# "${EPYTHON}" example/run_tests.py || die "Tests fail with ${EPYTHON}" -#} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index ccc01a7915db..df917a70632f 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,2 +1,3 @@ DIST python-api-core-2.24.2.gh.tar.gz 208617 BLAKE2B 39275929259dc5f75c895107f03355944870d644813202184b9a5aa7b75dcf2f8797ca6071f63951c4da0f33f61d41526694a4891d9d15e51d358a4d9ad252f0 SHA512 72ad7c49fb9ca5dfcc19abccf6b278c476ab2d48a27696783155ef5c62ad0c246041c8ce21275a5178a183f849d9ab66ede12bbc4e22af7389b8021500586991 DIST python-api-core-2.25.0.gh.tar.gz 209779 BLAKE2B 79dc6723dcfaffc7b033e5c8c11639fedbb515db66c0372e69ee50e30170d8e8d13dcaef7be11490a95847074020c3f15735583b4670d238eaebfac4fbce27f9 SHA512 9961dbec1de9686291eddb0396b3f17b90b9c16f951fb05f0eee995fccd9dea3ae7fe478398f4e34cf762978212d463b351cabcfbcbaeda9cb00113d9ff6b3df +DIST python-api-core-2.25.1.gh.tar.gz 210551 BLAKE2B 32f631ba3ecc01d9c903add37253fc53951615bebb018e12fdd188be4eaed6a03e5b4545f47e6f0dce03b85b98a3e2dcc2576bc295cae34d0ea5b430a59cd40b SHA512 dba10e287ded497690437e701cb3fa8703fb87c4e52d80f84014fbede52d43168c8e575a969b97922e389598143d0afc0a9d9326b70810f5f4c249a75fc6bdf9 diff --git a/dev-python/google-api-core/google-api-core-2.25.1.ebuild b/dev-python/google-api-core/google-api-core-2.25.1.ebuild new file mode 100644 index 000000000000..b3aa9740b6ff --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.25.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/hashin/Manifest b/dev-python/hashin/Manifest new file mode 100644 index 000000000000..5c6ff1b765dd --- /dev/null +++ b/dev-python/hashin/Manifest @@ -0,0 +1 @@ +DIST hashin-1.0.5.tar.gz 29946 BLAKE2B 6e72b49f0fbe4515a4fe56f4b47217dd79dbe28cdf2e03ed08d9ae4fd109de1ebd4f067639ac14d5592bd65fb6d28876e3254c4ac15a521b08dcaaf0566e8147 SHA512 a944fdc12f88f0c81605af14447fa1c84c6d5294237e69e91877d531f8dbc4febaa217d2c143caf7283e82bafb61ff4549cafd9f13191c408b242e1436b87f0d diff --git a/dev-python/hashin/hashin-1.0.5.ebuild b/dev-python/hashin/hashin-1.0.5.ebuild new file mode 100644 index 000000000000..f6ccb7c016d7 --- /dev/null +++ b/dev-python/hashin/hashin-1.0.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Adds hashed entries for packages to requirements.txt" +HOMEPAGE="https://github.com/peterbe/hashin" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] +" + +RESTRICT="!test? ( test )" + +distutils_enable_tests pytest diff --git a/dev-python/hashin/metadata.xml b/dev-python/hashin/metadata.xml new file mode 100644 index 000000000000..9a1ff9330ee8 --- /dev/null +++ b/dev-python/hashin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d603d2721803..3a96ed114d01 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.132.0.gh.tar.gz 9563870 BLAKE2B de088f7d632a8ada158f5c11b6eb8b DIST hypothesis-6.135.1.gh.tar.gz 9569007 BLAKE2B ceebfcbc7ae66c73251a5196f304a1a4e51cd3db27e7815db248ee014bbae7ca921c95a6962174f69c755c715a51b5fc041dbd11a2e0b6f7e2a97c669ae033e0 SHA512 be50f86dee60b5a6c8e8680652e6f76a30d4402e62346e7536a83dec2598cc320e56496e93363e8207f9086061c9e19ab7d4ea684405eb1ebeb3ef5f9dd29ecd DIST hypothesis-6.135.4.gh.tar.gz 9577155 BLAKE2B 8f282d9b24d33dd4ab5da9dd22253d107dd0784bac4ee705aad362c16e2179b1cb58409e080e2f12a8bd48b7083aa7127eb648b1304b3e0a346e7a213f287b7b SHA512 139b411ec80d6b59599939740c0ab8d03f31b937502facc77edde14cd276f0520c0c7172ec04fe4f7cdbd8e884e6ecd9ecdcff716fa4d6ea216229aed7b94840 DIST hypothesis-6.135.6.gh.tar.gz 9577482 BLAKE2B bb4fdd93f35b6ae7eaecb2751ec56829e23d16b8f599717dd153e16a7abc164137fa14dcf5cb337debf81b42e5696414e284b65e608f5f38519ddf4d152587a1 SHA512 dfdae067ecbe228dbc4c1ef69e5891a3fbd3c32565e168547c34a772174465751d8655d125f38b1f26da490230095fb69e5a5fa170e218a378b319e40cdbbc13 +DIST hypothesis-6.135.7.gh.tar.gz 9577596 BLAKE2B 94b7485a567c66e957a7fc4d4c8a1ce4d522be55b13103ba1b89b7bd39c08a7747bf5eb1b0c41a28b1d83baa07c949dc12ab1572a7b72d95e564eba8e03b09ae SHA512 dfcd95d534b8ac4ccd82aece57621c78c3a07680ee7de5f6c716131b84d266e18c44a0cde45b104d149eb1e9faee36ba8b3b4cdcb2564d59883738039480f798 diff --git a/dev-python/hypothesis/hypothesis-6.135.7.ebuild b/dev-python/hypothesis/hypothesis-6.135.7.ebuild new file mode 100644 index 000000000000..25eb21e77d45 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.135.7.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.13t) + EPYTEST_DESELECT+=( + # TODO: missing warning + 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' + 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' + hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds + hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence + hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression + hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types + hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic + hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense + hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns + hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope + hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/linuxdoc/Manifest b/dev-python/linuxdoc/Manifest new file mode 100644 index 000000000000..42653ce12476 --- /dev/null +++ b/dev-python/linuxdoc/Manifest @@ -0,0 +1 @@ +DIST linuxdoc-20240924.tar.gz 65042 BLAKE2B eff84175d42da81f1e67f13468415dca113cdf453a2dd68f2d44884f549a92f1aca5a7b9927e91f9d7f94d571f4fa69fafb4ef01c10f8d454b2becd1aee7936a SHA512 83789ee91ae1cf6e5d9ec48c1949fc25537bc7604cf67f2d70f09d1323d64958887b04f62a75ab75fe3c90ed5e74385495ee060973865eeeb7551561f5f75e9b diff --git a/dev-python/linuxdoc/linuxdoc-20240924.ebuild b/dev-python/linuxdoc/linuxdoc-20240924.ebuild new file mode 100644 index 000000000000..65697c672800 --- /dev/null +++ b/dev-python/linuxdoc/linuxdoc-20240924.ebuild @@ -0,0 +1,19 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx-doc extensions for sophisticated C developer" +HOMEPAGE=" + https://pypi.org/project/linuxdoc/ + https://github.com/return42/linuxdoc +" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/linuxdoc/linuxdoc-99999999.ebuild b/dev-python/linuxdoc/linuxdoc-99999999.ebuild new file mode 100644 index 000000000000..a125445eb0b1 --- /dev/null +++ b/dev-python/linuxdoc/linuxdoc-99999999.ebuild @@ -0,0 +1,27 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/return42/${PN}.git" + EGIT_SUBMODULES=() + inherit git-r3 +else + inherit pypi + KEYWORDS="~amd64" +fi + +DESCRIPTION="Sphinx-doc extensions for sophisticated C developer" +HOMEPAGE=" + https://pypi.org/project/linuxdoc/ + https://github.com/return42/linuxdoc +" + +LICENSE="AGPL-3+" +SLOT="0" diff --git a/dev-python/linuxdoc/metadata.xml b/dev-python/linuxdoc/metadata.xml new file mode 100644 index 000000000000..d6e890507b1b --- /dev/null +++ b/dev-python/linuxdoc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index ac7ffa720919..754a0a58545d 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,2 +1,3 @@ DIST narwhals-1.41.1.tar.gz 489404 BLAKE2B 001529ab92af6cdaaf84b65621a371ff5290e5eb3285e4a1e09014e0a4e1d9c3c757b01136ea9b88a445283cf4aa48a3c07b76094923cce091bb0117aa28c503 SHA512 a9cce0aaea480d0514d71c881cd4396490111554e0b29228426fb30588884cb5e73e3f02831d4e957c7d5b02e8ff39be5ca7ea7065a576864b5ccd5aecaaadb0 DIST narwhals-1.42.0.tar.gz 490671 BLAKE2B 8d0671d22c79598e5be41f986f87ba002a16fefe2fd63bd88b68c97c253ffbf5988ffa40851899653241280d167f6fcdcdc0e4384e053c05cfad2cedd4d09ca7 SHA512 3fc574a04ae57220ddd90eca39ce729f022cb0d24170684e35dc3b80ebd2aeb6317a915c75f819a4fe52f60eb06c1c6eb84ae3e7e39c54c627a0e07573e3e3a3 +DIST narwhals-1.42.1.tar.gz 492865 BLAKE2B ed0d0defe48bad75e711ab49914fe2802d56fc625535971bf7aeaab97612b19e79e517ae86a0211a111235653d35729a92d3d13ac0b70f24c7756944bb509104 SHA512 3c81713c78bf8e656e2dfad20433298dc96cbd7e157678c6f076653d9f35035db95506229e2d2ea9f43867a926ab5fa65f6217348049a9b5f382b9363ea647cb diff --git a/dev-python/narwhals/narwhals-1.42.1.ebuild b/dev-python/narwhals/narwhals-1.42.1.ebuild new file mode 100644 index 000000000000..32948bed9942 --- /dev/null +++ b/dev-python/narwhals/narwhals-1.42.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" +HOMEPAGE=" + https://github.com/narwhals-dev/narwhals/ + https://pypi.org/project/narwhals/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-env[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # make hypothesis more forgiving + local -x CI=1 + epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" +} diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 0bbdd74548cb..2b66ce7e7315 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,3 +1,2 @@ -DIST pbs-installer-2025.06.04.gh.tar.gz 91286 BLAKE2B 7385e60a8f0f6b183fb46d015c48925bb81de66f65af322828a87245f53b53d191b5546a314ae91bc82d6baae527e6a2994f3aec861a586328b93b83297df189 SHA512 72e14cce3c689cbb5a961021b3eca1bf2d340c27e61faada9954b98b482dc9a4a2337230c2cd1a7a487c16f10725e454edec5a7dd75febae06f1b69cccddffb1 -DIST pbs-installer-2025.06.06.gh.tar.gz 89918 BLAKE2B a0c5d07aef5313c2303068672cd7134296ff5b7775041bf3d624d5b28db087fcef88e232ec0755f09a0318a188e2eb4e5d2506e6461ff5c8193cdb95b7982023 SHA512 10b2661cb78487b2437e276a923629df8384a96d7c19ac6cfd9fff555543ba3b0a1e7ac11afce20c4e51cc74209472356af9d7dc1f9c668536574e09fe931237 DIST pbs-installer-2025.06.10.gh.tar.gz 89952 BLAKE2B aa1cef6c0aaab68542194c9ba8a22d3e143ffa39242f5aad8a6870e0aeaabfc57f934424154ce56c223444f3c62a6a638275921fd47ab57e78d9041da35ba5fe SHA512 73997a7f880b0b6f4bef9d119eb48df0b5ab36d365180a9da0fee65fe48ceeacc93fb9707adc95f2c3a5545fbe3360ae24b12ae31631e91c385eb90f11683f86 +DIST pbs-installer-2025.06.12.gh.tar.gz 90512 BLAKE2B f0c4bea960d2f3b72060f12dfd8a0058192c3f72193fbb49f2579f6ba7d514c8012869cd6f5c1adf6dbd724b2ce6d484df79813e1f2b9cff3db84a9927d78283 SHA512 87346139f818822a1693ae495d693a8ee0e683757ed27e17325fd4b7704541a401a5dd71464976846902735887aeef298ec8d3c063c7d47645ed0a4f7b64b3a2 diff --git a/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild b/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild deleted file mode 100644 index f50e7c78c738..000000000000 --- a/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Installer for Python Build Standalone" -HOMEPAGE=" - https://pypi.org/project/pbs-installer/ - https://github.com/frostming/pbs-installer/ - -" -SRC_URI=" - https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -BDEPEND=" - dev-python/zstandard[${PYTHON_USEDEP}] -" - -# upstream does not provide any tests -RESTRICT=test - -python_configure_all() { - export PDM_BUILD_SCM_VERSION=${PV} -} diff --git a/dev-python/pbs-installer/pbs-installer-2025.06.04.ebuild b/dev-python/pbs-installer/pbs-installer-2025.06.12.ebuild index f50e7c78c738..f50e7c78c738 100644 --- a/dev-python/pbs-installer/pbs-installer-2025.06.04.ebuild +++ b/dev-python/pbs-installer/pbs-installer-2025.06.12.ebuild diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index bcb4d11c79a7..63fe8e173e87 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,4 +1,3 @@ DIST pycares-4.6.0.tar.gz 822080 BLAKE2B 1bfad7d7afe0eaabe12ac758655889ff2c819137dfd63634646c060d09599b7bc8a18ae8c782742e40f552959298c312c6c152927775f5a5fdc539b148d97a86 SHA512 3b4db74e8411359165bf6c8b2c3ece2b954bd50cbe2db9c8c1678a2f18611f7c548dd2c004c8db40c28d8384a6f41a4863e0661892eda93e735b5182ba68a802 -DIST pycares-4.6.1.tar.gz 822359 BLAKE2B 54e055a716a6fc021e54fd12e255fc8e54e774b8391e5ab7291176a18138431184598bc2fd73ab14d226f4db1f65798bf18dbc5ff7a698438117ca131c5497c9 SHA512 140f206435a2f7f6bdcdb707035f6216710852161552dd733a383cc13e085e44a168bc425c0bc107bc82c4808c13a58b48407af0b45c7b5abae3e1d39fffbc95 -DIST pycares-4.7.0.tar.gz 642875 BLAKE2B 1467d3264b9240c2d79a2702fab13871ec8a6d4b154eeece5a2ea25c6f7e893717b2c09365bf30600ae8208c61d84b043be48a7b5af965379e3eda30a8c562bf SHA512 ca710bd14150dd0fecab09ee89928664e5bb275513a94e316db3d84fa40597c5f11631db9b17b13b074b8575a0ceff4b121424a5f2ba9e92a734de2e100a79ec DIST pycares-4.8.0.tar.gz 647980 BLAKE2B 640312cab61f02952222954a193cabfb81d4be86d26c96737af6c2b56caecc01c17322ad4526679e0a14e2b6653234d57c3de8ec59e3fc85d6ccf5508ba06bee SHA512 51e467d0a58fd865a07fead2e906a7caea8751d45d06ac699c57bf56fe9165da9d17b50104f61200911e77bb3edea6de2d81aa3e2330946f8548905b83ce1be1 +DIST pycares-4.9.0.tar.gz 655365 BLAKE2B c30ccd57f31dbaad4dc7689ca4997dc909363a175a33d672e3e9167573c9c7935eb002d2d0ff97aa2f90ccd6ed76b8d1f2a82b17c26378db08422764b6e936ba SHA512 3be5aa36fbfbc47e54f7b41e14ef951bdb1528a60f51a11ef7d010da2ef9ca2830f89d277063788c44468f27fb4d875ce472729106cf1c0bb32000727d2841b7 diff --git a/dev-python/pycares/pycares-4.7.0.ebuild b/dev-python/pycares/pycares-4.7.0.ebuild deleted file mode 100644 index 3669e7b1ba2f..000000000000 --- a/dev-python/pycares/pycares-4.7.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python interface for c-ares" -HOMEPAGE=" - https://github.com/saghul/pycares/ - https://pypi.org/project/pycares/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="test" -# Tests fail with network-sandbox, since they try to resolve google.com -PROPERTIES="test_network" -RESTRICT="test" - -DEPEND=" - net-dns/c-ares:= -" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') -" -RDEPEND=" - dev-python/idna[${PYTHON_USEDEP}] - ${DEPEND} - ${BDEPEND} -" -BDEPEND+=" - test? ( - dev-python/idna[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # regression due to Internet changing (probably) - # https://github.com/saghul/pycares/issues/187 - tests/test_all.py::DNSTest::test_query_class_chaos - tests/test_all.py::DNSTest::test_idna_encoding_query_a - tests/test_all.py::DNSTest::test_query_txt_chunked - # TODO - tests/test_all.py::DNSTest::test_custom_resolvconf -) - -export PYCARES_USE_SYSTEM_LIB=1 diff --git a/dev-python/pycares/pycares-4.6.1.ebuild b/dev-python/pycares/pycares-4.9.0.ebuild index 3669e7b1ba2f..1e29425e9d10 100644 --- a/dev-python/pycares/pycares-4.6.1.ebuild +++ b/dev-python/pycares/pycares-4.9.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 74e215e9b3b1..c797e9640892 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,4 +1,4 @@ -DIST sqlglot-26.25.3-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d -DIST sqlglot-26.25.3.tar.gz 5322840 BLAKE2B dcef4993a1b1539f4fbc24de8cd4b83db89582487805d1eebc36ce8e6dba0df2bb6092b940d86bd997715ce24a8aadc7df690918333da507be7e37c849542281 SHA512 9ddd68845aa2e647b12e42e28626818facf33ea917ee126e9a236de426c1fa67c25ebc8349a05dfdbdf569c8a2988d717a6e60455c835a2ed6b0dd0c5c36ecdc DIST sqlglot-26.26.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-26.26.0.tar.gz 5325725 BLAKE2B 76d9228de4adf49f22fd2f07287f42fbfa2874629aae0d8daf061aa1e7eeb96448435754ed21d9a843c2cda7396fb9a68db6dd58b09029af0eb1150006af9f4c SHA512 f0b2c53ce5a4e365fdb6debda7e0356d87cd1b4ecca9c2af2d7b9834f682cb6c2fb353e72f855b3a9c5c3bbf9bab52d8f314926c8a3ad5a4fce47b8b23bfb824 +DIST sqlglot-26.28.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d +DIST sqlglot-26.28.0.tar.gz 5330028 BLAKE2B 45e1ed1ae073941ceb505b23addefe506c4969606d2ca544274b886fe21a7ebe5b28224fdcd27349a5ad3f8418dff38e43b2b14be8e7b04151baa9d89cea8b2c SHA512 0964cfbac97c6032b0d3cb761ab181908e4dee11c82d7b614a5544c4c90ea290d516b5cc7ccb270fb5285021a6850beab2a41a92fc7e9d5e5eaa53b9f8dbcdae diff --git a/dev-python/sqlglot/sqlglot-26.25.3.ebuild b/dev-python/sqlglot/sqlglot-26.28.0.ebuild index 84a615136142..84a615136142 100644 --- a/dev-python/sqlglot/sqlglot-26.25.3.ebuild +++ b/dev-python/sqlglot/sqlglot-26.28.0.ebuild diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 5e5bccfe5e2c..529b80100ff8 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,2 @@ -DIST tifffile-2025.5.26.gh.tar.gz 358236 BLAKE2B 95a6b9e8d9419f539b47df7601227139b61fd889eb71455c118a8308cd1c02e1ac1ad8ec00fc413413254e96be1377a95b2142c45401fb91429021d1ce42e31b SHA512 4915c5a4ae544c2d3a96b9f928112ff662bf8709ecd4d29605ba51fd24ccf970a26b0bb660acbf33157a58470eef90f8e56a31489522c48d70513ddb984606a3 DIST tifffile-2025.6.1.gh.tar.gz 358697 BLAKE2B d259b453b18d9cee6468df238816d29509818fad407c64441e7c2aa6355f94e2f89186675cb18b49d243635a27eac885365a1ac18a7c72d1caaa8b95b4e6ea2b SHA512 acb2b58d4eab8e6d9c8e4c7830eef364073af5474abd9921105139b3396e41627e0004bb002564e347124272f604f326cbc4dfe7ddae19e8b42b841caaca94b5 +DIST tifffile-2025.6.11.gh.tar.gz 359003 BLAKE2B 7135786b6f65c1b7dc1babf7815ce97a29882793a03e335bb1142aceb4db82315f191909fa064e48bee812fce2d68e57ace1a973513b5288bfcd86aebc62babe SHA512 b4202971e61c225578fd4f0d038599e21418801727b45738de92f0dc8bdffb3cd9b6b61777fb7898b90751c6b34de8b62e7c99240e67d565d0558e1523363519 diff --git a/dev-python/tifffile/tifffile-2025.5.26.ebuild b/dev-python/tifffile/tifffile-2025.6.11.ebuild index 7e61f5160c1b..7e61f5160c1b 100644 --- a/dev-python/tifffile/tifffile-2025.5.26.ebuild +++ b/dev-python/tifffile/tifffile-2025.6.11.ebuild diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index cd1523b8f0b7..60150c0a18d8 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,5 +1,6 @@ DIST uv_build-0.6.17.tar.gz 300696 BLAKE2B 3f15068232e20b4b70ef319f90a258efc0d38be668bc438c91354b5ede4cb03235abc912292e2747249eab5c54c1fbc3cfa91ab1335881b975fce9677340c54e SHA512 2827629a11a9775661554f3eae4f3c6018637203c18f739ce728973ee0e7f905bef7c9fcc200f95393e2e13c167e31fdf0ab8dced59c028c3c600d47ba373752 DIST uv_build-0.7.10.tar.gz 308530 BLAKE2B 01ec0cc519966665129c29e7cfe5522cf070d3377b4172265f7a8dbea441979022875eb091371e868ca6c9ab80c497c85b789b5c81b93c8e004fd8b6e0e05240 SHA512 744e4ac1e5be3579a7a89cdd2b6f0e40a1d681fd51c7dc44bcfbce8c51a61cffa8cdb8006c02526a7bb27ad7cf2b02cf33be7107b36487a89835e81e079ffa54 DIST uv_build-0.7.12.tar.gz 309677 BLAKE2B 8d238e0be4d67e2c38310d47634b60912423bad7106ef11f057f572298b280b0d515dbb9c2fb4205bd9c20c6184d6c9ec14600c8314afdc870dbb6812df35dad SHA512 8dd406e7369d7b8f9a318bbe7c1827588dc302862ae452b5233602fd0461eef52fe8a217b7f92075c19d55277ccb66b76f915ce7c2d58aefe062703e92a27932 +DIST uv_build-0.7.13.tar.gz 310547 BLAKE2B 37a07d3aae9e5c1a1d8c187157473ab4c0bc65779751d2848c2d46228cef9ccb1b7e040f3330f3660b163a5fbf84acbd2433371d7d05014e53716297762bfe24 SHA512 44026e1139c95d082871a93d7d456684b07aa0b8f34609aabf1b7a74a81431a6811973e141cdc98c377b65e06b8ed56c6ca2393688132b6813363a00e622a911 DIST uv_build-0.7.8.tar.gz 305609 BLAKE2B 89d2e7ff95f4375d4fff758463c1cf918c3ec475a1e0de04fcc51b4bd0fefe1aca50ea223b3cc456c5944f0673702ab971374829fb568e4521129acb0a770506 SHA512 bde37f82ae781531e50425ff247219e4e2908c7e46200a65a74e8e2b8b48a0d5cd60476138c160bd1d07aa8c9a581f5da01e79fd7883d018f10617ddba8b8349 DIST uv_build-0.7.9.tar.gz 308177 BLAKE2B 38bd8d4640a239dac740503929c7b31ba591e101e0778cbd5e3c9db6513082f0382bc982affc7cf3a5af3998647ae58ebf870388dc0d67e2ed7fda5764cc9176 SHA512 f316aae21cbf15dc281d79eaa10af1b56efd70d484ae37b831d7216c268e03c6a46c50a212e617e932a6cf0805f2cb114e91caf92afe1c1d994ba06209255e90 diff --git a/dev-python/uv-build/uv-build-0.7.13.ebuild b/dev-python/uv-build/uv-build-0.7.13.ebuild new file mode 100644 index 000000000000..6156796bc3d2 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.7.13.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 3501fb1950f9..8372df56fefe 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -8,6 +8,8 @@ DIST uv-0.7.10-crates.tar.xz 52013636 BLAKE2B f5063aba01bbb91219d2852be9563f2b48 DIST uv-0.7.10.gh.tar.gz 4020442 BLAKE2B a7f23494671706b439a14148241066454489fd9df9817ccce0a15bc464c6c07f727932ef973a227bcb4d76bb035be4fe59c1fe00030f8a2121a73dc0f993ad0e SHA512 a92521fcbc03abb07ed5bcda653aa218e7082777b517747224619c7bad6c9b05fad837088198aeb419fd3fac164be8d248cb699ca7a39a77298e83e86398594c DIST uv-0.7.12-crates.tar.xz 51866804 BLAKE2B b9e8f122d3ded3bf63d165b8be9066f18a881aff99ae860d2cbb82b9248453047b497416a93fb00009e947d5d6a89d23999cf22644dc6413a03087b8756f623f SHA512 73f5d6b1d3452ae2580fbf2e172c4ee2cc24dfcc16f13f723699104b253fe12c8d1362f93eddafb2cb09caa51ab0985528d744b526a36a673eae3dff86818bca DIST uv-0.7.12.gh.tar.gz 4041301 BLAKE2B ce4aa6dbb70c1779662d3ec5898f8e06986b4731ff5789adf6e84a6a9335b6ae5b4568bcf4ff8103cad45cd99da0a3a79af80141923d5c3178e9fe60ea37a7e7 SHA512 949281a0c4c5478abb94b53e41bcaab9ea1a9728a2d6ae97c25159fbed32e35a7967d78c923eab5a58ae3b360e780950800e287de15752a87a3765c1cd081216 +DIST uv-0.7.13-crates.tar.xz 51866888 BLAKE2B af0c831a5c6f06f4c410e817840da82c1ef47e40ae919c097bfec3144331f7bf88031057e184ab318bc051613cd4708434167cb4eff85501a73b8bf51754c02a SHA512 5b9e6debfcfbeb3128f5d86b7771d0cc466bb06f33961e598c50c92b92885a138660f3ecf22c3ce68248eeb08df9f8cfa40edc80f0a1d3cbbf6810e0e15b6a94 +DIST uv-0.7.13.gh.tar.gz 4052607 BLAKE2B 6139335f98d4c0d1c8621eee0bbf992bffdd82a6579a87b230869050123cd9c85c6e65826cdbd293bd3c4f9db6a107a5e3ea5c089953ea3e9be02381a536e7e2 SHA512 5a8b523476071c9da83eafea3a6624e48e7ff60a1a65c551d061af3ed01d852d6dafc5c3feb1458b76c6d64eaa37e038bfe82c5a962c96f87bfe1389ad811674 DIST uv-0.7.8-crates.tar.xz 45495772 BLAKE2B f8b9587302dfd96ba15b540f0897b9720ea06434d2d2e93e795793df874179ef79e544a07b9e158e890d119fa2d3beee9d0a884a3c78540ec6c8abe2cc902bba SHA512 78586fd9fbe4cd9e0b737609a8b8c438ac422be1dbcde7a8553234981ee4be8136efe50b2c14b6863b6256a337cab977948641bb196e5f718188a66b25f1f5f5 DIST uv-0.7.8.gh.tar.gz 3993156 BLAKE2B a11245cb77ceab214ee021d973515c164048938afb67d878bf282e26f8c1f190187ef7a52af966247298d6a758baa97e36fce0a556c9ac145b3f01c8aea18d56 SHA512 109821612a9a07bf0fdadcc942893a8e024ef828f22f25b5d3f2a10088882892cb84a8b1e37874e7346c9a0815dcd15cb736a2a768ff525c6198482fe7aba3ff DIST uv-0.7.9-crates.tar.xz 45526908 BLAKE2B 66951afc70feb4719c5af415c0503c6e8daff850227d9773406f6e4c0c9bb960a56573675327b04297437481852cc9236bdf240476cf1c151e52ff4caf170c72 SHA512 6ea0d4e02e28edc47d420c095b426136aeb1e4af2c3181e104f67405b180d6ce51f1db122cc6d49ac876a68711d43aa2fdae5fd710523c03d6d302d41da47e02 diff --git a/dev-python/uv/uv-0.7.13.ebuild b/dev-python/uv/uv-0.7.13.ebuild new file mode 100644 index 000000000000..35bf62952594 --- /dev/null +++ b/dev-python/uv/uv-0.7.13.ebuild @@ -0,0 +1,174 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.85.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index a3de78d81330..5e75c4e25f8d 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,3 +1,4 @@ DIST xarray-2025.3.1.tar.gz 3300778 BLAKE2B 9b5bb4f9520fe408f81d8c61cbdd4c770c830c375c9396681c71ad1deb110b3f0a958f3bb3b2f7758d1f43d68aaf0b0eb1e59a839cd969830808a685d0237fd0 SHA512 13a884a8389b85148cf628e68b751dc21e95c256d7263589513a72f3b7fc5b396b9396edf94b47c40e31361e5e6659b60e8e7ac0014dc6675a747fe2ef25da9a DIST xarray-2025.4.0.tar.gz 2974151 BLAKE2B a143e3ecc22344dc45dd375a997813ce7052bea572da4f520d34d7881b03fea35938aca022e5fa26ebfcf84a93fbba0d8b2c5bbc46afc87e0742f7b2e341c57e SHA512 8018bf2431f30194d057e363f8a72fb7ef99834ae14daec5b98e5e101b42c7b1199d583eb9621c9955830bb15b3c197b08e71c6a299abeb42a6a215a57ea5995 DIST xarray-2025.6.0.tar.gz 3001856 BLAKE2B 71ff93c3e119bd513da94766de3d005b64a021b9769ade762e74e903140713e52a58b97b30df50b24a42c2b188827c06314fb3dba27f970801fee2322fc99939 SHA512 d2b25ac7f8de5cbfb6f5730e244dbd9c5520565be83bbc97beb4d352a5d4ddbf5990c6077b2f1947d8f8323814221d3a79f18c2bc37a4659d8761299aecce522 +DIST xarray-2025.6.1.tar.gz 3003185 BLAKE2B a75f68947922e922dad94dc6ab5454d9d2b2ec993e5fd06d760b2e3685b3feda2a88fb879e7ebb353b35dea5540fa8899eb8cba33ab0e5f9b59cb3fd885de1af SHA512 4fc7980f843f86c8e83015fbf9ea2c8440b046faaa1589a605cf1e2f64f9380e28e157c8afda5c0058b3fe8cfe01122ba8582f5d61b9f0eabdf7107ce6d81c0c diff --git a/dev-python/xarray/xarray-2025.6.1.ebuild b/dev-python/xarray/xarray-2025.6.1.ebuild new file mode 100644 index 000000000000..ff259dbd82d2 --- /dev/null +++ b/dev-python/xarray/xarray-2025.6.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 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 ~arm64 ~riscv ~x86" +IUSE="big-endian" + +RDEPEND=" + >=dev-python/numpy-1.24[${PYTHON_USEDEP}] + >=dev-python/pandas-2.1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${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/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + !riscv? ( !x86? ( + dev-python/netcdf4[bzip2,szip,${PYTHON_USEDEP}] + ) ) + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: these fail with filter errors even if netcdf4 is built + # with blosc/zstd support + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[zstd]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4hc]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zlib]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zstd]' + ) + + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + xarray/tests/test_calendar_ops.py::test_interp_calendar + ) + fi + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + if [[ ${ABI} != *64* ]]; then + EPYTEST_DESELECT+=( + # these tests hardcode object sizes for 64-bit arches + # https://github.com/pydata/xarray/issues/9127 + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long + xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex + xarray/tests/test_datatree.py::TestRepr::test_doc_example + xarray/tests/test_formatting.py::test_array_repr_dtypes_unix + + # converting timestamps into ns, causing an overflow + xarray/tests/test_cftimeindex.py::test_asi8 + xarray/tests/test_coding_times.py::test_decode_cf_time_bounds + xarray/tests/test_coding_times.py::test_use_cftime_false_standard_calendar_in_range + xarray/tests/test_coding_times.py::test_decode_cf_datetime_non_standard_units + ) + fi + + case ${ARCH} in + arm64) + EPYTEST_DESELECT+=( + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + ) + ;; + esac + + if ! has_version "dev-python/seaborn[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + xarray/tests/test_plot.py::TestContour::test_colors + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} |
