diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-27 07:03:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-27 07:03:07 +0000 |
| commit | a6c2f7678bc87f771a6cdcba16d810ad43f2175c (patch) | |
| tree | a4de22c1d1db7e309882d5dd819ab46ab452f880 /dev-python | |
| parent | 91ae7806a7c787337a76f89b074e0c25de56c0af (diff) | |
| download | baldeagleos-repo-a6c2f7678bc87f771a6cdcba16d810ad43f2175c.tar.gz baldeagleos-repo-a6c2f7678bc87f771a6cdcba16d810ad43f2175c.tar.xz baldeagleos-repo-a6c2f7678bc87f771a6cdcba16d810ad43f2175c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 599 insertions, 43 deletions
diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild index 9a72a7555b4b..dbe706a5a536 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild @@ -49,12 +49,10 @@ BDEPEND=" dev-python/cachelib[${PYTHON_USEDEP}] dev-python/pydantic[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-{asyncio,forked,mock} ) distutils_enable_tests pytest PATCHES=( @@ -69,8 +67,7 @@ python_test() { "tests/test_inputs.py::test_binary_compatibility[mapmessage]" ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # --forked to workaround protobuf segfaults # https://github.com/protocolbuffers/protobuf/issues/22067 - epytest -p asyncio -p pytest_mock -p pytest_forked --forked + epytest --forked } diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index fb020733306e..de22cb8dade8 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.38.41.gh.tar.gz 959656 BLAKE2B cf74e27c26735b9a02be41df7e077aed5e3d DIST boto3-1.38.42.gh.tar.gz 959917 BLAKE2B e53b807906bf367b91e4826b6ef1ad7446bde55b4f0b73bb62d7d88a74037c05ec13150a2bbe8c3b4f372452f730bf9d3e36dcef411df8ea87b0c0185aed4201 SHA512 f4eb6aa1c9d8e2062a1e5825b9e2c8ae988f904c30ed0efe1e937ff90e223dc488c3340c0462433da217dce3106c9746577f4add8a8a7e160de63bf0e3cbad93 DIST boto3-1.38.43.gh.tar.gz 961150 BLAKE2B 8e7472e9352cc0071867441586e49c8284d9dcd79a34ef03af5c2a8addbedb1d48c0adbb28937e3de081a1913a79ae9d03bd2e79bc9c98bdad93139458b726a3 SHA512 5d8280720ee9c8767cdf1229893f328154c26bf0e8e87831f54045a23a9e12be0fb315f3771e4f725eb8cbc431f84445beefd43843483beddb9386c051537f4f DIST boto3-1.38.44.gh.tar.gz 961732 BLAKE2B 88bea3da8fc2bfe75951898ebb39bb4f41d43217c16260e8922dd7f297aca7749b63c60995f862b4eae253c183a395cf9483d454d280ee273095573967d012ac SHA512 0e8a1fc6f2abdb69751e4eb4e7d2653d144c51c80df071b21c596e81192dcbd650f46b80485a6314ef757960de0846cbdacffbd6e1161d5e1e01a28e2e77fea9 +DIST boto3-1.38.45.gh.tar.gz 962451 BLAKE2B ad233d2d7c9bf87f7897031dedb5de41b501bd4d3357ab11b047c3db0901721574bf31a4b35d920e0cf90529ad0e2d5ca21b9405031a1825d20de26726f27130 SHA512 b7ec45bbb56945601abc1926860d8be394eb6fde5465af96d9cd844d95aa73d7b1a0e95de0a1e1e380004ea1f8ad5ddfdf63fd032f3e35774d623baa045ad5a1 diff --git a/dev-python/boto3/boto3-1.38.45.ebuild b/dev-python/boto3/boto3-1.38.45.ebuild new file mode 100644 index 000000000000..bd6e26787db4 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.45.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_PLUGINS=() +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() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 19a2810e9e60..a09e3131e3fd 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,3 +9,4 @@ DIST botocore-1.38.41.gh.tar.gz 14788068 BLAKE2B 3bc2cfb9e45235b076266a96fd35687 DIST botocore-1.38.42.gh.tar.gz 14799205 BLAKE2B 9def6b5bda7f2c16610e6b2b3925cb4d6e22940e6b4f11c82969749af81532977a62549b4f480e792d09322695efd6688a819b55d10e6560716eb56bb41915eb SHA512 c7ca063f9edf984b02e93afb8ee569c723d13c8ec70f77a8cc376abd9665260cfd990d6e52f13cb34059aff4e572892d0fd4ab3a3819030d08deaebf986717f2 DIST botocore-1.38.43.gh.tar.gz 14803790 BLAKE2B 7aa15b99588100652e084898316cb8e1e11d43ce83a1dcca7ec86303ac4af7db981dd90c63326c69d7ba80884a51a2ed7a5b05f58ed0a7d873550911cd8b7090 SHA512 02666e9997a8a95b286a71cdb9474e18c7c1e96fd519289f0652f5361c519fd4f25b2d92005f13446f91cb2b7f274d0430d75c9678db5da41353a5c3d740013f DIST botocore-1.38.44.gh.tar.gz 14808705 BLAKE2B 0388b0255cff78f625eb34ea30dd90194211056d662bdc16ef19bf26f0683953839996ddebe94b9108e55594c5a951431ee85817a8ed1573deb034ee8f28dbac SHA512 f332db1ff072122d2f79d73d9af7e04b596347bc83788f3f7f339324eeca9e0b7a10c1bf003b4f631628dae7fd5d282054acab7b7f723ee6b0dad03487983d85 +DIST botocore-1.38.45.gh.tar.gz 14829427 BLAKE2B dae46d63ab52c01ad48d5ba81787902cf72ccb21a2dc634de6430f3111c2441a6254b7c809fdb80ccf876e38ad8c075edc43ae30c68a02b040125c35de3c02b1 SHA512 71f01e7c213b8fe61321ca0a567b5ef1408051f295b6e6e1a99652c32d8c18301d772b71e5125461ed830cdc044f55d64b4221684c23dbc0bd2df8ae346764ae diff --git a/dev-python/botocore/botocore-1.38.45.ebuild b/dev-python/botocore/botocore-1.38.45.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.45.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_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest index 58a9420ff1f5..6bbb6565fb35 100644 --- a/dev-python/braintree/Manifest +++ b/dev-python/braintree/Manifest @@ -1,2 +1,2 @@ -DIST braintree_python-4.35.0.gh.tar.gz 245250 BLAKE2B 953614483a824d56d892d488eb98e01da24b48d8842b58901d12ee2f5b150ad62fbecd3fbde847e70d088ae4fd4eb12acced9c04a5008d9886488228517f2583 SHA512 5983592fff47b60e307f6535c32f7f9a2a0deea9d6f4dcb5d917e210d56bbd278feabece70bdef0b2e8b6aa598166c6665f2e54e88ceccf9254e3f093ba3dbc2 DIST braintree_python-4.36.0.gh.tar.gz 251847 BLAKE2B 50b5012ae1680e68f98e18c8a6609e2eef7d0b89ed458b72a44d4571ef253645eed181d2be352b085a490f4d35aa33f1565445f0b106047edf851cb1917b6224 SHA512 cec958fecf50e8c02acdf57de256d0396f7e2a5d6d6f30ce7bf83dab2969c25a18f26aa3b35652d3ea236024e3b160fc59fbb563e2b02c20589f697a96c3bb44 +DIST braintree_python-4.37.0.gh.tar.gz 251736 BLAKE2B 4a7d89d72a306e23421394a2013a69fa9eea967b4ece0124a2b05133d7377e1b54bcc60b814fc6132b9fe1fee2c71ebf050d28194b3e5895463fd5a92a11bb27 SHA512 0982bb5ef9e390ee2f1ce5f945a1f38efe8b5da83c977ac7790309b41dcb84c00f1d79d7a815d74dd687caa49b2db0d1446e5086a3ef8ff471997673560668ea diff --git a/dev-python/braintree/braintree-4.35.0.ebuild b/dev-python/braintree/braintree-4.37.0.ebuild index 20cb389c2fda..20cb389c2fda 100644 --- a/dev-python/braintree/braintree-4.35.0.ebuild +++ b/dev-python/braintree/braintree-4.37.0.ebuild diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 8b1ac1ba787f..5bc5e53682d1 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,3 +1,3 @@ DIST cmd2-2.5.11.tar.gz 883350 BLAKE2B 37fb197ff085016152bc33f243852afe71c5cca303bacf02bdee9e1cfa2fa56ad2714321f046b7e501cb1602208f7b8fadaa4454ee349d2c6b5dcf04c31c3df9 SHA512 acf3d339d33822827be85b23491b99c33556bbd1d67715450c19c8877f7b9565253a402e57afd95bf02bb5edf8ec09f9fe7c141e01d81010286a5cfabca27909 -DIST cmd2-2.6.0.tar.gz 887304 BLAKE2B 5cf780cdf6da1338b09624ea353a19498a69cc9c92d97e4f10e903e7b6b0d80ab27ccda6f416a9bfd9bcfb49a9bc7ae2e015d345bad13bec5c7c8dca7b6dfc9b SHA512 b43af9f8de9fd89c27029438ecb7165a3e60260520939637dd4b426c833a45bdebb4ccb177a128119c56678862b3055da71ebe257c042a5cf66090b8eb0f9080 DIST cmd2-2.6.1.tar.gz 888293 BLAKE2B 693495ac2ac63b06b56195ffa8ce2887a78b89d8219a9a2c094004aeb52d260a85e567382a9434418b66df8ec2fcff82bdf0ae56899e6812043e19646ade08b3 SHA512 241ce183d5802f8c11bd68362a025a75a611978acc3592e5ef752faf84fab2af24b8dedea894c1c998253159ccf5c68def779e3daf87cd01bb55f11de524527e +DIST cmd2-2.6.2.tar.gz 592373 BLAKE2B 917ecd684c60c0a6c1b273ef52fa1e317f71522dfd6fc8a9d2c1ee7fa28788b734c6536a9481ac56ef8409002f503837ae51191478a68e364c4780e9feb4b8e8 SHA512 75531dca561427eef259765a55c6385401edd8bc9d5c4cf08ab97e53e118334be932ee5c59f9e1fcd529a7a5f7416e654ee1d618d91623068ef21bcc66dcfdd7 diff --git a/dev-python/cmd2/cmd2-2.6.0.ebuild b/dev-python/cmd2/cmd2-2.6.2.ebuild index 47fc9c2b609e..c68e753f6584 100644 --- a/dev-python/cmd2/cmd2-2.6.0.ebuild +++ b/dev-python/cmd2/cmd2-2.6.2.ebuild @@ -30,8 +30,6 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] || ( x11-misc/xclip x11-misc/xsel @@ -39,6 +37,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) distutils_enable_tests pytest src_test() { @@ -48,9 +47,8 @@ src_test() { } python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # TODO: tests_isolated? - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests || die + nonfatal epytest -o addopts= --reruns=5 tests || die } pkg_postinst() { diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest index 533c837dda66..ca1fc656f081 100644 --- a/dev-python/gsd/Manifest +++ b/dev-python/gsd/Manifest @@ -1 +1,2 @@ DIST gsd-3.4.2.tar.gz 109691 BLAKE2B 160b53d465607c8248ee9b2cecf1c2aafb55a89317e294b613615c1f12e19988841d024823ec27ad7b6c9003a1be26aa9941f509467eded87fb72baeaf229bce SHA512 e1e8310873c81473a6e718295da47b435a765428f42b885c577ef9d509bae76f54c9e99ee9d5f74dd5cf0848817e27dadc21e9717004065b63ed1f6cf6853cfb +DIST gsd-4.0.0.tar.gz 110595 BLAKE2B 7aeb318535cc8004ba06e98dc7d8a1e96a2e0a5f8bd07374199f83292c9cd40a1867592121dbbadb68bb4d63e36a744edd01f9b2507c35ac7272af13ef5adf89 SHA512 4863c204a9d905aefe0ce31aa15f5a7820047da177a4d2058bf76ff0660c1ad749c8fa1e6fa612ae4125060b77082ef80549e7439cba383d27f8d724ad14ddbe diff --git a/dev-python/gsd/gsd-4.0.0.ebuild b/dev-python/gsd/gsd-4.0.0.ebuild new file mode 100644 index 000000000000..74aa1ebf54cb --- /dev/null +++ b/dev-python/gsd/gsd-4.0.0.ebuild @@ -0,0 +1,41 @@ +# 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_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="GSD - file format specification and a library to read and write it" +HOMEPAGE=" + https://github.com/glotzerlab/gsd/ + https://pypi.org/project/gsd/ +" +SRC_URI=" + https://github.com/glotzerlab/gsd/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs gsd +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..99577c43fc3e 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pybtex/Manifest b/dev-python/pybtex/Manifest index cc9176d91cb3..8134a6e2a87a 100644 --- a/dev-python/pybtex/Manifest +++ b/dev-python/pybtex/Manifest @@ -1,2 +1,2 @@ -DIST pybtex-0.24.0.tar.gz 402879 BLAKE2B 0cbb74360ebb4e9598543b17a46f21fab037d83a50ee46eae50dd385b981789d72c8cfb0b6c9983a3721565cdefb0df7ca15c120683e33204c591863be79d23e SHA512 caa3480b82012d1db5e44ca7fb5a4082e9aa27e892364de22bd05b0b589da3b1bd41eacd3cda8f86ce567b32ab9a22765d2d8d89c21936d4149d4511349c556e DIST pybtex-0.25.0.tar.gz 358178 BLAKE2B 9e126ef381527c889e25df3de843de4cbcc9010db20e05a89396fe253fddc1e1eee4093746878f2337bd23c846bc27c5593d335d2b8e700ac01795fbbc323150 SHA512 c7a6e29b7ab802d0c547ee97b8339f6d59b095618678d123065c59015cd85b94beadc7334af1a60103d6fc96dc7a8352aa08aae43f4a8facbc377d8723804c1d +DIST pybtex-0.25.1.tar.gz 406157 BLAKE2B 42c996b1d657fc19bc0ee32e30f6fa6a6015358bf5d2ee778fb2046924454b271f8acc5e1816a9437498223f971a91a913968a2f8cbbef67a5e7f725d045a3c4 SHA512 3a9a5afe76a376757a3228bb32dced1c0427c445bba51353ac71dccaa3d0996191be18571f6259feab79ae533422a0b66f4544a2fc2757a0afccedda0b053f2b diff --git a/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch b/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch deleted file mode 100644 index a5420314fd75..000000000000 --- a/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py 2020-06-02 10:46:54.592360043 +0100 -+++ b/setup.py 2020-06-02 10:47:00.482302281 +0100 -@@ -82,7 +82,7 @@ - ], - install_requires=install_requires, - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', -- packages=find_packages(exclude=['docs']), -+ packages=find_packages(exclude=['docs', 'tests*']), - include_package_data=True, - cmdclass={'sdist': Sdist}, - entry_points={ diff --git a/dev-python/pybtex/pybtex-0.24.0-r1.ebuild b/dev-python/pybtex/pybtex-0.25.1.ebuild index 2c00c2415b72..2f5a75b226cb 100644 --- a/dev-python/pybtex/pybtex-0.24.0-r1.ebuild +++ b/dev-python/pybtex/pybtex-0.25.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi @@ -21,11 +21,7 @@ KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/latexcodec[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${PN}-0.22.2-fix-test-installation.patch" -) diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 252df2700e9f..06ae56309bfa 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -59,6 +59,7 @@ DIST pydantic_core-2.33.1.tar.gz 434395 BLAKE2B 3819c69b829655403888ac7feff11081 DIST pydantic_core-2.33.2.tar.gz 435195 BLAKE2B 8ac251da2eb8b9f4e54a55ca79945f18d5a229c76386b6076bc3c7e33f2a18f4e47b430afc952b4b19e48d3d5bb8d7b8ad1aca012a8b0707445c06c00a649a0a SHA512 253609ca32aa0a1f0e15271982494832e02f2b4e072439d9a9372ead3d914edf60d6ab50e38bbeea17c233eb20a938948631e1c704bc31785d7e81442d043893 DIST pydantic_core-2.34.1.tar.gz 435281 BLAKE2B 8458285b41874b2af12ab9e167606b36653fbe1e0febe22b59c6cb9ba1cf2e936029c18e4123d1f4ba4653eda1b5476984983dfd736b95c6654336555852ea14 SHA512 2ecf2d683c6b144ac6a5028a1896f4a2b6abd944ab8010fed25a5b7b7aa3093f7c12dceb5cd14cef7eea9194c1bef9866faf26c554636dfc5fdc191b3af577b6 DIST pydantic_core-2.35.1.tar.gz 437737 BLAKE2B cc118a25ebe57f4e549ef04a7b2554e36af5b636014e82fa95044f79124c5514b590b32511736ef3fd5206c88f3bdfa149599c790ac66a954090bc03837d267a SHA512 2b8bdc04cb9a4e14ed8b69bc1d273a95e7be5f6d7da248fe1aa5cb4b10e2dd338ec8f67ac5a2d524c700766e555079e667256e08bc5ed572df393ed186fdb374 +DIST pydantic_core-2.35.2.tar.gz 437878 BLAKE2B 5fd9d863bccd1ac20c44cb7c9d596c4f22bea384c9fc84a7ce46d1dd8887109824ed841bbdaa4646bbea37d4d5f9e88aeb3e69410e8dab5eee63f8fa82bbef78 SHA512 59e7f7f5462327247ad6e21594fc288a5e2e8bb2401a199a07ab8183858772b3ddcb39576229a3f939085d7aa2e2576ef211738b8335b51c358b16b2f116879a DIST pyo3-0.22.6.crate 546746 BLAKE2B 2a6f8c5ce2ee96e1812177a11c5fad7e15f3a73d9e30850edf0855b13db6cc95427e186883b4aae25a2d2466d3fe82f56180a39f3e6e0a54bb0a3ef78d495400 SHA512 d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44 DIST pyo3-0.24.0.crate 1108432 BLAKE2B 03098e1ed1f2bcb489ab5fbaf2605631f75804ad138591ae88975c287b8e7544e5f70ef7e3261625075498ac00545b79f6c0b5aab3bcdee2897cbbfabc3f7e87 SHA512 2b9be3cc780c48198ccad08c304053c5248d7c3b7a32e8a3eeba48246b962aa71cbf31ab8c49cab9b555933cccd447412761017b477019a35dc2598999fe63ad DIST pyo3-0.24.1.crate 1113050 BLAKE2B 5a203f8c845b08b40ed64561d385d2e4134a38916723ef6b0b4be8f44fa9de594c4eca138c318ad83a156f66273b20b55acb19897dca3eba5d479e6333be815e SHA512 6c2a8f9d554a3cf151a796ee20610b596ebdbf9e642d6b2ddc35d0142841d7be51e739ddef4332cfa8c4625c972d9705eae5f694b4d8907882bec4add7c6c6ed @@ -103,10 +104,13 @@ DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a DIST smallvec-1.14.0.crate 35561 BLAKE2B aa8ee61800a6d13eda5acb4e9dc03543160849479a96a72c50ab38013b23e9593a665773b455a09777038edd436d7a35b501f6d4a0e16ff49544be60345a1e50 SHA512 90de38f208f551cdbf4980fda2314dee57d4e2bbf769a01c47bc849189e9243474932052faa92fe0ca59ecc9c5d1ed84091ef87f724343d38ebbbf710ba232be DIST smallvec-1.15.0.crate 38113 BLAKE2B c8507c870d84d528c9e17faeb342e4d91356c86af563a8cac7b3a29cb5aa760d4a9f54e5f267d0452cb7301f8acf4da1ac0f48296216417b327441c18971a06d SHA512 c1fbd7865a629d368776544c2faeccc711df3d27d97db5fb2a169933f3cdf66abbdbf476dc8af88f30d5cd6cbb3d601acef8abb74e7dc9a36dfc538dbdeaa988 DIST speedate-0.15.0.crate 33698 BLAKE2B 81a1c87bfeaab44aeb6f7a813275b139b26a618af4b24d3018e866a2855eca897144c863a2dfabec20912046fe17a60749c41ce8cee45450137440cda5d7d934 SHA512 2c3a210e06e3960e2dd24f696e27141f00b186d5ea58272f1ac11ba455d4467459fdb076a65766c2fb242163299aea08f692e86553fe4edccf2e9714f9a9303e +DIST speedate-0.16.0.crate 39704 BLAKE2B 15d7494f5492ed4851b33938368986170f695fe8e48efdd5f968ae62c5391f0bd3fc2e2e64a69c05f46200983f1d204cbb9d36e51bb67722e5fb87ce6639cbd2 SHA512 21c44d8066aeb6fa3824fe623c089ad9848e6fc9a965345727a9cfe87c6efcfbc714b7e594b4fe9e7d82e045ca77e4f569b67fc3e2121f6d55217bb1e16e737c DIST stable_deref_trait-1.2.0.crate 8054 BLAKE2B 287a65c3e5b47213544a43e57c60a54add60b4c2e3c8d042407d860cc950ba7ca01a2e67ce56aed6744992b61ec1f9aed3321e3d88482e33129548b7d51df205 SHA512 a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee DIST strum-0.26.3.crate 7237 BLAKE2B bdc348c718c39609c00b9fa7d47b7090b1467022b7a8a28cc7c8a72a0aef20569c6ab22a8a8d26c2d9272f18d000e4ce94858a6647194f0a7b86d812d52b05a9 SHA512 62f116d5bbc6167a6ac68b049f8045bc660901f1ce1252f8bdcd91cb28bef821aad8098905369db6c2fe74c134a5d549e55ddd28e383d7d78f7175258924b268 +DIST strum-0.27.1.crate 7467 BLAKE2B b577a85f5d4151fc73148a72697fc004a7f8a964866c9773d62a2f92356c1ca205ee323a1e9353e4bf2c2e4dd71983026e311cdd4a5fc0a918aef57fc76705c8 SHA512 0ba8eafe76c0cb659500c73a7e402ec677bd07264ca6f6179d66b90e5f9193ef420957faa4aa70cdd7fcf69565dfb4f7940731e555cad6cadbe2e4c7d3016465 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b +DIST strum_macros-0.27.1.crate 29670 BLAKE2B 121560118a194029b32584467305902470b83d768d33f166cf67994f33a9780cf1bff25f2199c2aa50a79362501a6cb40ca45c01cdd6c335fab1ebfadd666b4e SHA512 b071fee5d7530bf1ecd31b635a61858921c04dc10906bf57caa38a162a0e2ed726c2f72262081ceadb80c03c38adf235dbdda604dfcf3d439c5fe5a73a08d0f0 DIST syn-2.0.82.crate 272300 BLAKE2B 2982faee84539879f87ad34a426027b4b9117dea9ebc2249517070c98495f85f4c04017898705f256161f1fef1c450dd494b6044cfb91fe916fbae1e2ae51752 SHA512 b1e90fc37a68998e4708ba5c68581feeb88d73ce56b73e6c87f1341ddba04cb6afd43ebf83abecee94c03b2bf9df5b0dd9dfad32d7914e82ddf6c50cab81267d DIST synstructure-0.13.1.crate 18327 BLAKE2B b29ee88c559a2d58fa46b7af155b448f001649ea79a1898f0ac87e69108b87c65cbd287d8f9001f360df7fef06ff39c937b48d33e487a30c8eec6a46c639c0c2 SHA512 09024193b44fc9a8901bda845b9f86c57dad65d0f53e309b2e7e968538fab6f67db1c86e5e52a2eb8fd116dc073e3ad10983bd60764662ec6ba94fee22a958aa DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995 diff --git a/dev-python/pydantic-core/pydantic-core-2.35.2.ebuild b/dev-python/pydantic-core/pydantic-core-2.35.2.ebuild new file mode 100644 index 000000000000..16bfc2a0ee0f --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.35.2.ebuild @@ -0,0 +1,177 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.3 + autocfg@1.3.0 + base64@0.22.1 + bitflags@2.9.1 + bitvec@1.0.1 + cc@1.0.101 + cfg-if@1.0.0 + displaydoc@0.2.5 + enum_dispatch@0.3.13 + form_urlencoded@1.2.1 + funty@2.0.0 + getrandom@0.3.3 + heck@0.5.0 + hex@0.4.3 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idna@1.0.3 + idna_adapter@1.2.0 + indoc@2.0.5 + itoa@1.0.11 + jiter@0.10.0 + lexical-parse-float@1.0.5 + lexical-parse-integer@1.0.5 + lexical-util@1.0.6 + libc@0.2.155 + litemap@0.7.3 + memchr@2.7.4 + memoffset@0.9.1 + num-bigint@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + once_cell@1.19.0 + percent-encoding@2.3.1 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.25.0 + pyo3-ffi@0.25.0 + pyo3-macros-backend@0.25.0 + pyo3-macros@0.25.0 + pyo3@0.25.0 + python3-dll-a@0.2.14 + quote@1.0.36 + r-efi@5.2.0 + radium@0.7.0 + regex-automata@0.4.8 + regex-syntax@0.8.5 + regex@1.11.1 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.219 + serde_derive@1.0.219 + serde_json@1.0.140 + smallvec@1.15.0 + speedate@0.16.0 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + strum@0.27.1 + strum_macros@0.27.1 + syn@2.0.82 + synstructure@0.13.1 + tap@1.0.1 + target-lexicon@0.13.2 + tinystr@0.7.6 + unicode-ident@1.0.12 + unindent@0.2.3 + url@2.5.4 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + uuid@1.16.0 + version_check@0.9.5 + wasi@0.14.2+wasi-0.2.4 + wit-bindgen-rt@0.39.0 + write16@1.0.0 + writeable@0.5.5 + wyz@0.5.1 + yoke-derive@0.7.4 + yoke@0.7.4 + zerocopy-derive@0.8.25 + zerocopy@0.8.25 + zerofrom-derive@0.1.4 + zerofrom@0.1.4 + zerovec-derive@0.10.3 + zerovec@0.10.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Core validation logic for pydantic written in Rust" +HOMEPAGE=" + https://github.com/pydantic/pydantic-core/ + https://pypi.org/project/pydantic-core/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.13.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,timeout} ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--benchmark/d' pyproject.toml || die + sed -i -e '/^strip/d' Cargo.toml || die +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + local EPYTEST_DESELECT=( + # TODO: recursion till segfault + tests/serializers/test_functions.py::test_recursive_call + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # different repr() in exception + # https://github.com/pypy/pypy/issues/5220 + tests/validators/test_arguments.py::test_error_display + tests/validators/test_definitions_recursive.py::test_error_inside_definition_wrapper + tests/validators/test_string.py::test_invalid_regex + tests/validators/test_string.py::test_backtracking_regex_rust_unsupported + tests/validators/test_union.py::test_empty_choices + ) + ;; + esac + + rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3* ]] && cargo_src_test + epytest -o xfail_strict=False -o addopts= +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 764dd47ab431..064050024508 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,2 +1,2 @@ -DIST pyghmi-1.6.0.tar.gz 270054 BLAKE2B 8c93a2a1ba273a6df16ed7b09ca4d7913e489d6efbd962d3fccc0f8337f51926e8979daa410a13fd02156b7a953220ff550b87e05c74112b58624550bd58ae86 SHA512 6303e3b5bd5fb37e16bcad415eb6d02306ed3611e209544761c3cf05583a496feacdf9d5615c4e91acc7677b74149072a9f5cbbf832ecb3030d2509c1d5d91b5 DIST pyghmi-1.6.1.tar.gz 270230 BLAKE2B d6d8626c8a1cfda250f8cce996c50e647ac0416e64d1e7e2e806f0c7e08adde300264b30774e7d0128e25fcbb61c1c51f629601c3ac9694d08d8f9a350b8ddea SHA512 3935a451edac4f54da1dd7b8da370aa667827e10de2d3ead31f9dee56ca72af8e9566915f18767f9f286eda6349086106115f29a754a8a9ae2c704a3b19faaa6 +DIST pyghmi-1.6.2.tar.gz 277107 BLAKE2B 41d6f5301675407b96bd3c6f612b1baab9066cf945053ff47f930161794c5bd7848a279a349ec7494cd2f85731e077a4414c8b6507c0b8c418a0554e467a8376 SHA512 b37d92fdb83e44b5ca14119134cf57345fcd8eea9fb667099339d248fb197f09e0ee1404cf68d87583813b1e1ef049f8ee5d896bd00723a991c006839fd76607 diff --git a/dev-python/pyghmi/pyghmi-1.6.0.ebuild b/dev-python/pyghmi/pyghmi-1.6.2.ebuild index 89bd4f6c4398..405adffe103b 100644 --- a/dev-python/pyghmi/pyghmi-1.6.0.ebuild +++ b/dev-python/pyghmi/pyghmi-1.6.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/snakeoil/snakeoil-0.10.11.ebuild b/dev-python/snakeoil/snakeoil-0.10.11.ebuild index b82fc9849aeb..08fd3fbb838f 100644 --- a/dev-python/snakeoil/snakeoil-0.10.11.ebuild +++ b/dev-python/snakeoil/snakeoil-0.10.11.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" inherit pypi fi diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index d31813ba1e56..89a2e75b8420 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,2 +1,4 @@ DIST sqlglot-26.30.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-26.30.0.tar.gz 5339339 BLAKE2B 7b65105318653e2cbed6c7fea8ffa0112776e1919d22ae48f0e11daadb45f8aa5e9ff62c3333ef95a16fb7e6d01dea0f5e4a06e50a4435c85d06a006b893d324 SHA512 204cb4a0019e6b60c3a0bc04725311a8f02de38ca25a1aa3e2f9cbdeada3839cf5cde5b21db515c7ecb8630f3b771d7ef8a86c7e12ab024370e486363e4fb8c1 +DIST sqlglot-26.31.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d +DIST sqlglot-26.31.0.tar.gz 5341968 BLAKE2B 82db65bdfbb59ed62ed7ba381325121593d70d5a0a4d4c4b3bdc2d161250342794b52c062aafb8c50592665154e1b858df01dc0501e13817eb96c4e908166295 SHA512 d1308a0c14abbea57bbea2f40770efae495b4bd4f74d09b1aaed73638d0213adb8ad87c998f11f7edb25062e617cea9954f312000be38b5ff88f05f7782ae5af diff --git a/dev-python/sqlglot/sqlglot-26.31.0.ebuild b/dev-python/sqlglot/sqlglot-26.31.0.ebuild new file mode 100644 index 000000000000..49887dbb8979 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-26.31.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + anes@0.1.6 + anstyle@1.0.10 + autocfg@1.1.0 + bumpalo@3.16.0 + cast@0.3.0 + cfg-if@1.0.0 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.23 + clap_builder@4.5.23 + clap_lex@0.7.4 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.6 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.21 + crunchy@0.2.2 + either@1.13.0 + half@2.4.1 + heck@0.5.0 + hermit-abi@0.4.0 + indoc@2.0.4 + is-terminal@0.4.13 + itertools@0.10.5 + itoa@1.0.14 + js-sys@0.3.76 + libc@0.2.169 + log@0.4.22 + memchr@2.7.4 + memoffset@0.9.0 + num-traits@0.2.19 + once_cell@1.19.0 + oorandom@11.1.4 + plotters-backend@0.3.7 + plotters-svg@0.3.7 + plotters@0.3.7 + portable-atomic@1.9.0 + proc-macro2@1.0.89 + pyo3-build-config@0.25.0 + pyo3-ffi@0.25.0 + pyo3-macros-backend@0.25.0 + pyo3-macros@0.25.0 + pyo3@0.25.0 + quote@1.0.37 + rayon-core@1.12.1 + rayon@1.10.0 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rustc-hash@2.1.0 + ryu@1.0.18 + same-file@1.0.6 + serde@1.0.216 + serde_derive@1.0.216 + serde_json@1.0.133 + syn@2.0.87 + target-lexicon@0.13.2 + tinytemplate@1.2.1 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasm-bindgen-backend@0.2.99 + wasm-bindgen-macro-support@0.2.99 + wasm-bindgen-macro@0.2.99 + wasm-bindgen-shared@0.2.99 + wasm-bindgen@0.2.99 + web-sys@0.3.76 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +CARGO_OPTIONAL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${PV}/${P}-crates.tar.xz + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 +" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +pkg_setup() { + use native-extensions && rust_pkg_setup +} + +src_unpack() { + cargo_src_unpack +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + local DISTUTILS_UPSTREAM_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # timing, sigh + # https://github.com/tobymao/sqlglot/issues/3961 + tests/test_generator.py::TestGenerator::test_generate_nested_binary + ) + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest index c590da793baa..17b839fdb00d 100644 --- a/dev-python/txaio/Manifest +++ b/dev-python/txaio/Manifest @@ -1,2 +1,3 @@ DIST txaio-23.1.1.tar.gz 53704 BLAKE2B 1c12892c34cc848732d718a715e83059a6be0973cbabe619639c67d230b0d4e55b4e6d1b13baa05b13fe9faa266dadb6f2913bc01491af381fde5ca78ce6941e SHA512 41320501ec3e2555edc63326f2c5ee9bbc2fd103198a515b6dc4c44603a41d633c99a8f12c92ffc85f43546f0382d40f0c9748b13f7a7e70d98c5c4a2de85e2e DIST txaio-23.6.1.tar.gz 58613 BLAKE2B e814b33a86132b43a62ea41580b88fa84548951cdb354b213e407f72e3896079b690c94776790a4c63690a2d18c50018340d816295c112cdeb64793b3cbccb39 SHA512 c2312128e01b6978d7c09b29a35adca5a7a45b693737a274c22545120bf2e54ce41ee975bd4422671a5250105196431a179d28af820f30e008acc0ea4a08eede +DIST txaio-25.6.1.tar.gz 58709 BLAKE2B b1dd0801752c16753238d5afa2c5f7f96cc684ff5d5cc1764715f768a589dfd2b488bb3450eac7e7c7228dbb8bebf7770ed2da1303b6bd815edcae9058340767 SHA512 70ebf010c8baf9a374437ef6670215fef29a27f9b15839181031149e712ecb2a9bfeb0554df1a223f1f073d76de38497e01e2e5289622a9249740afc663b4dfb diff --git a/dev-python/txaio/txaio-25.6.1.ebuild b/dev-python/txaio/txaio-25.6.1.ebuild new file mode 100644 index 000000000000..d467ca17e1a1 --- /dev/null +++ b/dev-python/txaio/txaio-25.6.1.ebuild @@ -0,0 +1,39 @@ +# 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 optfeature pypi + +DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius" +HOMEPAGE=" + https://github.com/crossbario/txaio/ + https://pypi.org/project/txaio/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/test[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # we certainly don't need to test "python setup.py sdist" here + test/test_packaging.py +) + +pkg_postinst() { + optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface" +} |
