diff options
Diffstat (limited to 'dev-python')
52 files changed, 508 insertions, 1723 deletions
diff --git a/dev-python/authlib/Manifest b/dev-python/authlib/Manifest index 61f3d1ff8327..b0e3e9b414a5 100644 --- a/dev-python/authlib/Manifest +++ b/dev-python/authlib/Manifest @@ -1,3 +1,2 @@ -DIST authlib-1.6.2.gh.tar.gz 327687 BLAKE2B 81bcbaa4cd08d10afb6d565e65c629e342f6ff22adbba15a0e881a0857061bdbedb19a77b368b9d5520c521140552a8fd8f4aa3628de222321aed48c977f8ebb SHA512 71cbb4d806d5edc204afc176a6ba339481c56fd45cbf14e83106941372d2ccf5f975e30f9c5eaf8a16c2680e161a3905a79be339a870d34e3a01ee23773771a5 -DIST authlib-1.6.3.gh.tar.gz 328237 BLAKE2B 820828b67e785126a7dbd9f21cbae5174600700eaa67874418738026920930cb119660c235a2eb6540fb4e42cc3da2178048918d9122fb394fcbe5a523e1845d SHA512 d53e1ffa929f1f26e9c129b600a14f0b80a49fd33735272b382c18a8d7cae4ce6758e3880b183c34da1daa040e90bc35f32131c8756574bc97fc502e1694237c DIST authlib-1.6.4.gh.tar.gz 327564 BLAKE2B eb9c21d2b60dc9ec38b643c2d3a8cddb3676b3a6de1d4d926cfaa60ad02189fa78e825d0a591883e6cf5a07a430ab7b3dab3bafa4e5e5679378dea6150a6ab41 SHA512 4081671cb93e7470d908145140379e8f647959dc240a934984a8a74120bf5a0ecfec377bd67591945360045e024f32f4e0bb1cea24d9d7a39be7ae08b308d10c +DIST authlib-1.6.5.gh.tar.gz 328496 BLAKE2B 8065cbeaa699671d7ab5a8463f48b5ebfd3d13fe6282829ee84efea2558beacee1838a5fac8d0244469aac1d486c49b30d8638765d54f16c5d27f669bcbecf08 SHA512 ddb9e51690cbaa6d990ac35a180def19808ccb95e08aedf5351d61717cf141358fb749ae593f1cbdf6274ca97c9c49a7085c973461825a631604ab6e6cbf1693 diff --git a/dev-python/authlib/authlib-1.6.2.ebuild b/dev-python/authlib/authlib-1.6.2.ebuild deleted file mode 100644 index fe39bebff48b..000000000000 --- a/dev-python/authlib/authlib-1.6.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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 - -DESCRIPTION="A Python library in building OAuth and OpenID Connect servers and clients" -HOMEPAGE=" - https://authlib.org/ - https://github.com/authlib/authlib/ - https://pypi.org/project/Authlib/ -" -# pypi source distribution excludes the tests -SRC_URI=" - https://github.com/authlib/authlib/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="django flask jose test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - django? ( - dev-python/django[${PYTHON_USEDEP}] - ) - flask? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] - ) - jose? ( - >=dev-python/pycryptodome-3.10[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - test? ( - dev-python/anyio[${PYTHON_USEDEP}] - dev-python/cachelib[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - >=dev-python/pycryptodome-3.10[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/starlette[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-asyncio ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # convert from pycryptodomex to pycryptodome - sed -i -e 's:from Cryptodome:from Crypto:' \ - authlib/jose/drafts/_jwe_enc_cryptodome.py || die -} - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings - epytest tests/{core,jose,clients,flask} - - # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. - #local -x DJANGO_SETTINGS_MODULE=tests.django.settings - #epytest tests/django -} diff --git a/dev-python/authlib/authlib-1.6.3.ebuild b/dev-python/authlib/authlib-1.6.5.ebuild index b5ffdd88beb0..b5ffdd88beb0 100644 --- a/dev-python/authlib/authlib-1.6.3.ebuild +++ b/dev-python/authlib/authlib-1.6.5.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index cd9b67c119d1..81e5ddd4aa1c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -16,3 +16,4 @@ DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B b7a555bb3ce92d01a14f3bc43a689452ed7 DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B 5962a2a77f20535580cdc8efb6cf6eb7004b0903879dd2ff554cc6f48541cf132e80a3e1c001ad364f9e38855cbadae52b6b39a8e33363ee0cc6b2c13485de2a SHA512 c80f6f83b63bd593113c99f2f1a8b86de734722306304ce4a4cc9a40610c2bcc274c17ee0246a550127d8a2503367bf961b2469bdd0e39c90db5c539dba04158 DIST boto3-1.40.42.gh.tar.gz 1005633 BLAKE2B a247bd55488854a6b5796385cb185e66dce964a98ab1eec2d244b43802cffbe00cf331efbe3c498c0f5999299870bc10158b98979747593eea8ca47581bb1afd SHA512 a6673cdf916cce47429fecf9d5462670ee2140b89838c815be74a5c2806f09dc6fd788dc3e14136f5bd6e9c0e4f0c8663e7cf93152a898340b023a51bc39c4f4 DIST boto3-1.40.43.gh.tar.gz 1006126 BLAKE2B 943902cf68f8660194242136ff543de390f878f22b62c9610f8a9b022e853097f08e18331eb0f603575fe9cba0ee9e9e4a05080fc964749ce8bb7f12dd295f7f SHA512 f9e85364bec2bfb41e2ec4da460cbd79d952bc297cbd1525ec6a355bb90ef6ef11549f36e6f72d7c96825c2a67b71dce93cacb3f648b1b4e6033cd12a85e78ee +DIST boto3-1.40.44.gh.tar.gz 1006574 BLAKE2B 9d301911a18ae798aebdc1695f4f0d2e20c388b3baa8c0fdc7bc5e132063ff795f5a0415a8eaa21dfcd88a68deba71f9b56a504a0ae9bf0222893b7b2e0b10d6 SHA512 447a9a7ad8898c5e60414f5b42adcc9387d9b6af102cb475b33d4b81c986d10211c68764299fd09accdaec02d1cffd32bcf55b8a95bfcdfd1e440e1c6aa973f2 diff --git a/dev-python/boto3/boto3-1.40.44.ebuild b/dev-python/boto3/boto3-1.40.44.ebuild new file mode 100644 index 000000000000..90fb2a42e6e5 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.44.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.14.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 bd913388019f..5c138a50c94c 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -16,3 +16,4 @@ DIST botocore-1.40.40.gh.tar.gz 15161555 BLAKE2B 099fc06007aedcb65b73de369b00d79 DIST botocore-1.40.41.gh.tar.gz 15164168 BLAKE2B 6e566392943e927d3b22f6dd44462d55b88867caf10c53054bd080f640a7b31f6d750a58c85bb599dc2cfe7a5e97ace98060d3740d4ba57566db709f49cafe05 SHA512 295e7b0fb305aadf67e0729fd0bd0af954d7a53c2c7735939ffd49c4f47d5239e55f29f0d669e6a0be32a404e20164c5fc0b29f36113e2a6a1c60cae6267064c DIST botocore-1.40.42.gh.tar.gz 15185422 BLAKE2B a9f080f72a1476b09a2874241cddaaf2c287e717bb870716bea813417ab578d0458ac5d920214fd7fb7a2a8d428a7e6469aecaa1f78f6eebd4824328f1e7063a SHA512 b39b60bddc61aa8b4f4e461122c961dba5447a429f8a95640db4356817f060feb088f4c1523315ffa156969aff61c55f25fbe53257c20f4f1c990cd138c0c380 DIST botocore-1.40.43.gh.tar.gz 15190445 BLAKE2B c152b13c7e0c877c891d699b77ab48015a402641a18ed03181da06860cf64a7b37144d3933e7d9593ca18d1715c2fba6873c528a0db6e6576f54e1b0cee4e834 SHA512 ea3867266399644c8bf3d718992142943bd676a7f53f4b906e7d58f5368831f53acc52bc3473d26f626eb85916aaaaea1755f13675f414cfe77d4a1de2feeb15 +DIST botocore-1.40.44.gh.tar.gz 15193025 BLAKE2B ff2a2a82adffb1595b5932141657b6fa98159fce393fd6310d14108d78ac785a0fa8a52ab99ee8dd2311bde8df5fed867bb0bfb331ac4af968bd661cedb00c55 SHA512 7282f2277f92797776515fa53aaf3f52e441e7bc88a3d1d35d11f9e9c1182fc677f9e7c0b4440b12c80fff8d22a6db80e3fb03ac2e470c243898a23d8590dbc9 diff --git a/dev-python/botocore/botocore-1.40.44.ebuild b/dev-python/botocore/botocore-1.40.44.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.44.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/clang/Manifest b/dev-python/clang/Manifest index 1fca96741050..877d4c3d80d5 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -10,10 +10,6 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 -DIST llvm-project-21.1.1.src.tar.xz 158891056 BLAKE2B 5801ba4ea64e9c55fd1e6a83e1ea463cfb1d2b12c1f25a488ca63fd88254f20388c5e986492e413d795306bc37782487b80485240939227f3beeea860091825c SHA512 a120895e75942d848cc763fd1cb4aeb184e9d4509d69064e8e3f5679fbeb09c73bf916e33d04b842778537d2331067ec9190e0ad75d591d3ba57871770e19bce -DIST llvm-project-21.1.1.src.tar.xz.sig 438 BLAKE2B 8fdf614e67e31382c65d70a551ef94893b8e4914e855fa96fc3a4a0a4ac916d646758be1c1c9a74028acd776d5d93b77f678d29dc75179ae95909d525d263c85 SHA512 1b9a2c51feaca75ef2f82a89c8e8d741a0b5f05f0dd8ca244d6997deb00f8ded3c37a5cbc6012a4ba8632004383ab4677756d9defe8855fff458e02380d77bd5 DIST llvm-project-21.1.2.src.tar.xz 158926856 BLAKE2B 1b5684586297ad637c6da0976854b24d746679e9d125a19e321dc28fa7f83949cc431f4b630e4976496660389e7abac09962c21e45b88dff7d0900ee1bda51d7 SHA512 f810ba8706872257715c05f80c304ceb396cf38b3a8e0bfb50e474e8d0a3417740b9afea170a7c06a33927037753a190471917e83d6740cb18bc50fd50cf4f3d DIST llvm-project-21.1.2.src.tar.xz.sig 566 BLAKE2B 6209caf851c681e6f63ed1bd9589ac139c104d6ee21f463aacda472e30a847c32f3bd74a04208af05bb6203d8fa31bdc0028c0e72736a3037940e75eda615415 SHA512 dd8aa57451752a9207c276117a4b8a86f41263ea3ccc4fa198cd40d6fec79acd0ba126c4b84a1acbb52bbb2bce029fbc336deac8131be94747dd04e4a0f69331 -DIST llvm-project-70bd610e43853d575e22be1cda46614fe9f0072f.tar.gz 247904536 BLAKE2B f0ae7bd39d921ce28adb6e2aadd8b2b94ba7a48ba344ea6ea236b2507430fb1a0e23cd6186d79d445de31d46580e2ac9ec400fc686cd9a7513e0ae2d0f479c1d SHA512 1201acbcec20d00979e7f06075756926161123cfb11da146a3bfa5c81d607b61d94c645d0abba839614cbe5d44cacb0b1c754e1ae49fa871cb86d9f6d7c70e26 DIST llvm-project-89ed5255b9ee88119e409a6d986eb1ad0e8f08e3.tar.gz 248431210 BLAKE2B b98dfe5ae46190a5a2460c965f0ec51d2f65a9d1d14f82afa19a10f00a2c29520c52309ee66d71efed6361aa675abcc9bd1b5e61e1c3b1aa9bac4984050c2bc2 SHA512 f860f529f4eb67f4a5875d9931accae2f48b88486dd6715a2ca2add7d5aa1541a30e323612394162e65597054d61a879a9ba94e4dbf417c3fb5f8ff069c2d924 -DIST llvm-project-f059d2bac034acca39ad60a1b13aaec6afa0a3d6.tar.gz 248627883 BLAKE2B e1603ba38fcf70e7f3794a30a42057d0052a422bd0aaf423c65d1fd8f9ec7d3981cd651f309dc3ab5c28183291241732373b9bdb75fc2a11fc8d9f238388b8c3 SHA512 63a1627a8b3cc8f240cefe2066d7e306cab5091317f97dd808b9ad887d4e6eb2d21af3f79bccfdb9387f5f7a5ed0b772013b0261a647c8d50ffaa55914362dfb diff --git a/dev-python/clang/clang-21.1.1.ebuild b/dev-python/clang/clang-21.1.1.ebuild deleted file mode 100644 index 0b43b8ec6779..000000000000 --- a/dev-python/clang/clang-21.1.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang/clang-22.0.0_pre20250910.ebuild b/dev-python/clang/clang-22.0.0_pre20250910.ebuild deleted file mode 100644 index 4dd3bb26996f..000000000000 --- a/dev-python/clang/clang-22.0.0_pre20250910.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang/clang-22.0.0_pre20250923.ebuild b/dev-python/clang/clang-22.0.0_pre20250923.ebuild deleted file mode 100644 index 9c57b6c8dbb9..000000000000 --- a/dev-python/clang/clang-22.0.0_pre20250923.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/{bindings/python,include} ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 52a8fa8838bd..00669f28fd85 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST python-api-core-2.25.1.gh.tar.gz 210551 BLAKE2B 32f631ba3ecc01d9c903add37253fc53951615bebb018e12fdd188be4eaed6a03e5b4545f47e6f0dce03b85b98a3e2dcc2576bc295cae34d0ea5b430a59cd40b SHA512 dba10e287ded497690437e701cb3fa8703fb87c4e52d80f84014fbede52d43168c8e575a969b97922e389598143d0afc0a9d9326b70810f5f4c249a75fc6bdf9 +DIST python-api-core-2.25.2.gh.tar.gz 211677 BLAKE2B 7c3b6a0429b20e2baca8f1c3ebab77c5956807be9deb8676b5af3ca8880b7275693bda07d81aeb8a6388ec03299e853311079e6ef5b6f8125a6855772d60e9cf SHA512 24f2715f8ef52318619d076416975644c888d1d7ee4967de885ba975a3ff5519c0b2a69ee9995054f19e301340bbaacf1784f7d2364d04c42c1992acb1f9b8f7 diff --git a/dev-python/google-api-core/google-api-core-2.25.2.ebuild b/dev-python/google-api-core/google-api-core-2.25.2.ebuild new file mode 100644 index 000000000000..561417e3f0d4 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.25.2.ebuild @@ -0,0 +1,60 @@ +# 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/rsa[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +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 + epytest tests +} diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index a78354bba7d3..75215605a404 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1,2 +1,3 @@ DIST gssapi-1.10.0.gh.tar.gz 112079 BLAKE2B 7b52005994f7a93430ff6af124aacf1de7a8fff8867807497d1e770264d876184c0bfa3ed4d7b678a7e3bc3f1942ce5a6134ae1026e7b2150f647365179abded SHA512 49fcd1d658955dffb5fab1745ec3fc835ac475b77afe87cb81ed7f5ab9cf8a1d804954e99c81a31cf7e2ee8ad65038cbcabecf852762fa1c0ea4f6e41be23147 +DIST gssapi-1.10.1.gh.tar.gz 113109 BLAKE2B b8ba68b31881adb5c5a4d111791a10c9f0fb91bb685660a321e0c56c09d93d3faa4645ca95227ac9f3a6366fd21c564afb25f717047f5f62cbb76f85c2707b9c SHA512 742b80c1638df010d4a63e9eb94ff75b89a20ceaea073e355a67cf0aa78a8b64f7ace4f183ef52c1356e6182be6ef37e7c26eda5820c18ea599f13dc1d2d9dd1 DIST gssapi-1.9.0.gh.tar.gz 112822 BLAKE2B 4a91c2639a5186afa408b35540e248b5d17e74957669fbe8274e9619ef30172507559612f6a425df383145e5ac10e16d243fec9dbdc0a10e43ef29aa9f208c12 SHA512 05ca208d37eb3af3cba91607b61c4472a0d83e92f43342994e0fca575290c47b67c7c46440e95d3712c2409f43280a1e95b906e1e8918ebd9da7e6f46e4031fc diff --git a/dev-python/gssapi/gssapi-1.10.1.ebuild b/dev-python/gssapi/gssapi-1.10.1.ebuild new file mode 100644 index 000000000000..561855962790 --- /dev/null +++ b/dev-python/gssapi/gssapi-1.10.1.ebuild @@ -0,0 +1,47 @@ +# 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="Low and high level wrappers around the GSSAPI C libraries" +HOMEPAGE=" + https://github.com/pythongssapi/python-gssapi/ + https://pypi.org/project/gssapi/ +" +SRC_URI=" + https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}"/python-${P} + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + virtual/krb5 +" + +BDEPEND=" + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + virtual/krb5 + test? ( + dev-python/k5test[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs gssapi +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 749fa24b6d8c..25ba2d736642 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,3 +1,2 @@ -DIST identify-2.6.12.gh.tar.gz 101966 BLAKE2B bf8b9faf5b045d616c6c67051b218bda4b50cc0fc929a45e594fd831408f2a24976d79ebed40c36096dd63c01dfc7fa8a0a9eb4c06f5e3b23e4d9e6ba7523f3c SHA512 54f979248629435fadaf991c66855c9fa78a26e4f09e29798643b69c2a6c4f4d436c19cdd2dfc3b11dc4776c1d8e83eb199317e00104e1eadd9aaf60a8235a0a -DIST identify-2.6.13.gh.tar.gz 101964 BLAKE2B 342b31a87bb03b40357c84cb2c2e781de49809564caaf50b8c78dad2982e20970121e6805bce6e0c24718f20f5e84280a1cb382ede3853f71bd39de844602640 SHA512 a9ca7443cc7d24d80035105d5393f683509c07bae3fd81c1ecb8a89f9cb235ce697e82a57ac95f18aadbf5011f2ef46317d3adbd1322f53a5b7af883551a12e0 DIST identify-2.6.14.gh.tar.gz 102021 BLAKE2B ad1dad02796d23e7786b063d02799710cc6893ae9b0c8897cfc59ca13e33621d134ae4902c2cec351498e5353f73892a68e941f2616e9caab1ce58bc24f7a1be SHA512 3fd6a669824adfbea77fab483d8cdba9e4b4665cbca1e705e83de3f4bf540e07a376cdca5d2a690fec305b1b8f41174fc734d630fe2034937763ad365e17a6e4 +DIST identify-2.6.15.gh.tar.gz 102033 BLAKE2B a6b0481e1e48bcd437ea6f491e472e2f214c655700289abe5cd354b87de50ae087b1459644ded714a3d9f46648a179905a62b8ccab8c3db6cc9243fb063b88da SHA512 9394b8b60d763c4b882b8bed0e08f79a4d58e98ef9edd081da56c11b33cbe480f8a64a89bc0539d7c11d2ede165c59b6e9a90f59c31d3d489a50c0c1cb68a90e diff --git a/dev-python/identify/identify-2.6.12.ebuild b/dev-python/identify/identify-2.6.12.ebuild deleted file mode 100644 index 3fc5c43bd1fd..000000000000 --- a/dev-python/identify/identify-2.6.12.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# 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="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~hppa ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/ukkonen[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/identify/identify-2.6.13.ebuild b/dev-python/identify/identify-2.6.15.ebuild index 5be62ae9f633..5be62ae9f633 100644 --- a/dev-python/identify/identify-2.6.13.ebuild +++ b/dev-python/identify/identify-2.6.15.ebuild 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..98b2b0bf8d0b 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-2025 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_{11..14} ) 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/lit/Manifest b/dev-python/lit/Manifest index 1fca96741050..877d4c3d80d5 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -10,10 +10,6 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 -DIST llvm-project-21.1.1.src.tar.xz 158891056 BLAKE2B 5801ba4ea64e9c55fd1e6a83e1ea463cfb1d2b12c1f25a488ca63fd88254f20388c5e986492e413d795306bc37782487b80485240939227f3beeea860091825c SHA512 a120895e75942d848cc763fd1cb4aeb184e9d4509d69064e8e3f5679fbeb09c73bf916e33d04b842778537d2331067ec9190e0ad75d591d3ba57871770e19bce -DIST llvm-project-21.1.1.src.tar.xz.sig 438 BLAKE2B 8fdf614e67e31382c65d70a551ef94893b8e4914e855fa96fc3a4a0a4ac916d646758be1c1c9a74028acd776d5d93b77f678d29dc75179ae95909d525d263c85 SHA512 1b9a2c51feaca75ef2f82a89c8e8d741a0b5f05f0dd8ca244d6997deb00f8ded3c37a5cbc6012a4ba8632004383ab4677756d9defe8855fff458e02380d77bd5 DIST llvm-project-21.1.2.src.tar.xz 158926856 BLAKE2B 1b5684586297ad637c6da0976854b24d746679e9d125a19e321dc28fa7f83949cc431f4b630e4976496660389e7abac09962c21e45b88dff7d0900ee1bda51d7 SHA512 f810ba8706872257715c05f80c304ceb396cf38b3a8e0bfb50e474e8d0a3417740b9afea170a7c06a33927037753a190471917e83d6740cb18bc50fd50cf4f3d DIST llvm-project-21.1.2.src.tar.xz.sig 566 BLAKE2B 6209caf851c681e6f63ed1bd9589ac139c104d6ee21f463aacda472e30a847c32f3bd74a04208af05bb6203d8fa31bdc0028c0e72736a3037940e75eda615415 SHA512 dd8aa57451752a9207c276117a4b8a86f41263ea3ccc4fa198cd40d6fec79acd0ba126c4b84a1acbb52bbb2bce029fbc336deac8131be94747dd04e4a0f69331 -DIST llvm-project-70bd610e43853d575e22be1cda46614fe9f0072f.tar.gz 247904536 BLAKE2B f0ae7bd39d921ce28adb6e2aadd8b2b94ba7a48ba344ea6ea236b2507430fb1a0e23cd6186d79d445de31d46580e2ac9ec400fc686cd9a7513e0ae2d0f479c1d SHA512 1201acbcec20d00979e7f06075756926161123cfb11da146a3bfa5c81d607b61d94c645d0abba839614cbe5d44cacb0b1c754e1ae49fa871cb86d9f6d7c70e26 DIST llvm-project-89ed5255b9ee88119e409a6d986eb1ad0e8f08e3.tar.gz 248431210 BLAKE2B b98dfe5ae46190a5a2460c965f0ec51d2f65a9d1d14f82afa19a10f00a2c29520c52309ee66d71efed6361aa675abcc9bd1b5e61e1c3b1aa9bac4984050c2bc2 SHA512 f860f529f4eb67f4a5875d9931accae2f48b88486dd6715a2ca2add7d5aa1541a30e323612394162e65597054d61a879a9ba94e4dbf417c3fb5f8ff069c2d924 -DIST llvm-project-f059d2bac034acca39ad60a1b13aaec6afa0a3d6.tar.gz 248627883 BLAKE2B e1603ba38fcf70e7f3794a30a42057d0052a422bd0aaf423c65d1fd8f9ec7d3981cd651f309dc3ab5c28183291241732373b9bdb75fc2a11fc8d9f238388b8c3 SHA512 63a1627a8b3cc8f240cefe2066d7e306cab5091317f97dd808b9ad887d4e6eb2d21af3f79bccfdb9387f5f7a5ed0b772013b0261a647c8d50ffaa55914362dfb diff --git a/dev-python/lit/lit-21.1.1.ebuild b/dev-python/lit/lit-21.1.1.ebuild deleted file mode 100644 index 2c41baf16b31..000000000000 --- a/dev-python/lit/lit-21.1.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-22.0.0_pre20250910.ebuild b/dev-python/lit/lit-22.0.0_pre20250910.ebuild deleted file mode 100644 index fdf920bda34f..000000000000 --- a/dev-python/lit/lit-22.0.0_pre20250910.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-22.0.0_pre20250923.ebuild b/dev-python/lit/lit-22.0.0_pre20250923.ebuild deleted file mode 100644 index fdf920bda34f..000000000000 --- a/dev-python/lit/lit-22.0.0_pre20250923.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lxml-html-clean/Manifest b/dev-python/lxml-html-clean/Manifest index 3bae46daaaeb..fae081c4b402 100644 --- a/dev-python/lxml-html-clean/Manifest +++ b/dev-python/lxml-html-clean/Manifest @@ -1 +1,2 @@ DIST lxml_html_clean-0.4.2.tar.gz 21622 BLAKE2B 796db28e480e88baffc6f57bc9d1c9c47b898afa28349a65456c46cef61a3ba73d88c8c241857e134da9eee1854877df32d69b795186b30d6806b866d11823e2 SHA512 6d4e55e17dfb174694dc0ba9159a8d59581b8cc374546ed286a4c5fb8f46f06169959a0dca43406126d486ccdfbe079aba18ab4975b04682f76eb95554090c52 +DIST lxml_html_clean-0.4.3.tar.gz 21498 BLAKE2B 1005bbeb906090542e648e7c4d08b5735160fe530c498c82f856f421a13a9de454a28fbeeedffa641d7fca19eb52e0649514dd538523e408aa9fd6e6c8dbe606 SHA512 677037adeaa2649c5209015498672e11b131fc14a799b6fcda8eec9552fae626942f0905f7bc6e29f03075f48e0b5915f214c4afe8b22d72d035907afb9a099e diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild b/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild new file mode 100644 index 000000000000..f4f7865d5058 --- /dev/null +++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024-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 pypi + +DESCRIPTION="Separate project for HTML cleaning functionalities copied from lxml.html.clean" +HOMEPAGE=" + https://github.com/fedora-python/lxml_html_clean/ + https://pypi.org/project/lxml-html-clean/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest + "${EPYTHON}" -m doctest -v tests/*.txt || + die "Doctests failed on ${EPYTHON}" +} diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest index cf1b77dc9f3b..c049fe5e5645 100644 --- a/dev-python/pillow-heif/Manifest +++ b/dev-python/pillow-heif/Manifest @@ -1,2 +1,2 @@ -DIST pillow_heif-1.0.0.tar.gz 18270881 BLAKE2B 7d0e1add32a5e851c8d6eafe2270e505bd1bebcb08336db28f8230c95987c38a5b86e6c83ef6c963ca141b81364db3a21ca17fb9aac05b41db60262cb0bc3f9a SHA512 92f4b629e77501b73acbbd6a810179dd9526f08a44e98a00be4c47401db04b2d654f849142282dcdb91319bb5bc150fa68a83b56e29f8613e1de29215b312819 DIST pillow_heif-1.1.0.tar.gz 18271020 BLAKE2B 15f151625c1f253a44c451bd24da0f643353b6881cebbb3823e8682c5b518abf846c6850bc50462cbfe1e9e5afa1f69e1f5223e0f494cb92644b38cb9c39e7ba SHA512 50c576f52a16c96dd812718a397d75f0c564d009cbaa6abe499b43d3e70834212f1295e411c6e6babbfb526997c5963b1fc022f0829fa2b8298ae3871f130474 +DIST pillow_heif-1.1.1.tar.gz 18271952 BLAKE2B 34655ef5aa85911cdef2b71a06fe0bfb16758c75d706d329aa8deca86a6994025dff8a6ba188bcd7ae5cc40eb4f43459e3b1960f02503943d808aab921e12647 SHA512 39b6c085e0ac64506cefc888a000187b5836ffbc3bbc725883c55abe064bf7759db39b1654f55bffcb7491773490dd457e5ef5c7163e8f21da77726eb99d5ffb diff --git a/dev-python/pillow-heif/pillow-heif-1.0.0.ebuild b/dev-python/pillow-heif/pillow-heif-1.1.1.ebuild index 688c902d2d8e..6fe12603b995 100644 --- a/dev-python/pillow-heif/pillow-heif-1.0.0.ebuild +++ b/dev-python/pillow-heif/pillow-heif-1.1.1.ebuild @@ -19,19 +19,15 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - !test? ( - dev-python/pillow[${PYTHON_USEDEP}] - >=media-libs/libheif-1.19.5:0/1.19 - ) - test? ( - dev-python/pillow[jpeg,lcms,webp,zlib,${PYTHON_USEDEP}] - >=media-libs/libheif-1.19.5:0/1.19[x265] - ) + dev-python/pillow[${PYTHON_USEDEP}] + >=media-libs/libheif-1.19.5:= " BDEPEND=" test? ( dev-python/defusedxml[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[jpeg,lcms,webp,zlib,${PYTHON_USEDEP}] + >=media-libs/libheif-1.19.5:=[x265] media-libs/opencv[png,python,${PYTHON_USEDEP}] ) " diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index b3ee716ca7f5..6651e589e98f 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,2 +1,2 @@ -DIST plotly.py-6.1.2.gh.tar.gz 10193925 BLAKE2B 21daa8e49c382bee311ebf4e976b233992d91d011b425e2294f7ce211c33a3c1113d23f4c5230ec6a8eb84e954ab035bc505f722ae3acfc858a0c9aff8740234 SHA512 bb614105fee5660bd1e530f3bfa361bd2d5306145d0cf8a9bac69f893f73d9754dba0b7edacd1f75d9734820a7e1f2f5ced9f0ac77c1265c621f89a37206a089 DIST plotly.py-6.3.0.gh.tar.gz 10089966 BLAKE2B 1aed2cd325098fc06e39c0643e6cf6be330b60b50043ab625530fc51f6cf10d1302bc8335969ae115b445ca057b992b28c3a21e6634f7eca4e29fad7684e0084 SHA512 4923c78ca44388e17c36e00a4482c58d81deabe968a4b4d66da44d25abc8ee6ff10f28b11dfd18455abf8894478310e2872e6f10b358555c8a758958910dae98 +DIST plotly.py-6.3.1.gh.tar.gz 10209372 BLAKE2B 164e8c163767027e30e0feaabce7f509293b0b48fac73eac6f2ffb8ae2d1d4472f0aca2ad07edaa45b920c9137578ba10d7fbf0e44c630cfc30eb9d26e928dcb SHA512 cf15610eeea9eba4743f6c5468c9c92a6107616ab7879effe4908931143773d920fda27fd7335e82ade8eb20384014a0eac8c451719b63a354529255f3c441b4 diff --git a/dev-python/plotly/plotly-6.1.2.ebuild b/dev-python/plotly/plotly-6.1.2.ebuild deleted file mode 100644 index 8a60fcc5032a..000000000000 --- a/dev-python/plotly/plotly-6.1.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -MY_P=plotly.py-${PV/_} -DESCRIPTION="Browser-based graphing library for Python" -HOMEPAGE=" - https://plotly.com/python/ - https://github.com/plotly/plotly.py/ - https://pypi.org/project/plotly/ -" -SRC_URI=" - https://github.com/plotly/plotly.py/archive/refs/tags/v${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" -# The tests are not included in the PyPI tarball, to use the GitHub tarball -# we have to skip npm, which means that the resulting install will -# unfortunately lack the jupyterlab extension. - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/narwhals-1.15.1[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jupyter[${PYTHON_USEDEP}] - dev-python/jupyterlab[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scikit-image[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -# There are sphinx docs but we are missing a bunch of dependencies. -# distutils_enable_sphinx ../../../doc/apidoc - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Do not try to fetch stuff with npm - export SKIP_NPM=1 -} - -python_test() { - local EPYTEST_IGNORE=( - # requires polars - tests/test_optional/test_px - - # requires kaleido - tests/test_optional/test_kaleido/test_kaleido.py - ) - - local EPYTEST_DESELECT=( - # requires polars - 'tests/test_plotly_utils/validators/test_fig_deepcopy.py::test_deepcopy_dataframe[polars]' - - # require anywidgets - 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget0]' - 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget1]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget0]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget1]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget0]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget1]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget0]' - 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget1]' - - # minor matplotlib incompatibility - plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle - - # fails in non-isolated env - test_init/test_dependencies_not_imported.py::test_dependencies_not_imported - test_init/test_lazy_imports.py::test_lazy_imports - - # TODO - 'tests/test_plotly_utils/validators/test_colorscale_validator.py::test_acceptance_named[Inferno_r]' - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/plotly/plotly-6.3.1.ebuild b/dev-python/plotly/plotly-6.3.1.ebuild new file mode 100644 index 000000000000..5dfd6b1c5203 --- /dev/null +++ b/dev-python/plotly/plotly-6.3.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +MY_P=plotly.py-${PV/_} +DESCRIPTION="Browser-based graphing library for Python" +HOMEPAGE=" + https://plotly.com/python/ + https://github.com/plotly/plotly.py/ + https://pypi.org/project/plotly/ +" +SRC_URI=" + https://github.com/plotly/plotly.py/archive/refs/tags/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" +# The tests are not included in the PyPI tarball, to use the GitHub tarball +# we have to skip npm, which means that the resulting install will +# unfortunately lack the jupyterlab extension. + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/narwhals-1.15.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/jupyterlab[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scikit-image[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +# There are sphinx docs but we are missing a bunch of dependencies. +# distutils_enable_sphinx ../../../doc/apidoc + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires polars + tests/test_optional/test_px + + # requires kaleido + tests/test_optional/test_kaleido/test_kaleido.py +) + +EPYTEST_DESELECT=( + # requires polars + 'tests/test_plotly_utils/validators/test_fig_deepcopy.py::test_deepcopy_dataframe[polars]' + + # require anywidgets + 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget1]' + + # minor matplotlib incompatibility + plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots + plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle + + # fails in non-isolated env + test_init/test_dependencies_not_imported.py::test_dependencies_not_imported + test_init/test_lazy_imports.py::test_lazy_imports + + # TODO + 'tests/test_plotly_utils/validators/test_colorscale_validator.py::test_acceptance_named[Inferno_r]' +) + +src_configure() { + # Do not try to fetch stuff with npm + export SKIP_NPM=1 +} diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 1a1287b63f29..0cefdf5d8868 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -56,9 +56,7 @@ DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST pydantic_core-2.33.2.tar.gz 435195 BLAKE2B 8ac251da2eb8b9f4e54a55ca79945f18d5a229c76386b6076bc3c7e33f2a18f4e47b430afc952b4b19e48d3d5bb8d7b8ad1aca012a8b0707445c06c00a649a0a SHA512 253609ca32aa0a1f0e15271982494832e02f2b4e072439d9a9372ead3d914edf60d6ab50e38bbeea17c233eb20a938948631e1c704bc31785d7e81442d043893 DIST pydantic_core-2.37.2.tar.gz 443903 BLAKE2B 01aacc0d23a3ae8db396c6bb4bc2b0da02d4df2a2ef498a0a644a427dabd4f2fec5e2a1ff325fe41fc9484182b5b1b22bf2682ca41ff49edcd99e75f6103cb74 SHA512 7fd9a47079d101633d56e781a627d6a99c6a2a362332b89d30fd6e773004776783fd7cf2154206c9df748c94d52747a18b548e2771dd113aeeabf18262cc27bf -DIST pydantic_core-2.38.0.tar.gz 445460 BLAKE2B 1d19f345b12dcc20f5ce6a8970cef950c6e7a571094cbae4c448c9d00548f5e2c378fd2aa9cbafcb1638540a8d3aebe3bf441319a5001aefb719b11a05c7c817 SHA512 6694f7d139a82fac19a599ec0614bcb5c2477a5eda6c2c4db3c7640f9846a36bd1a8383e9922c04e7651bec428f678859d5c9a770b331961b484af6e44e53ebc -DIST pydantic_core-2.39.0.tar.gz 446231 BLAKE2B 7160ed010fd8b1f7fe8ae228ea4ecbba06106055e4caee9af62f0ff2bd78ada497de005548bbc993d222c1b7fca3d1c5a2052c28dd5cf53d84f37310bda2dad2 SHA512 de645af17b159d587a63754aff533946211574907a8700e074f1d49754a6a0e3a9bc11ab1fea669c66e439c9985f031b096100d2f32fe63c38f57ebf15b4e5fb -DIST pydantic_core-2.40.0.tar.gz 452450 BLAKE2B e73c11654735d13c4a7e3977c267876ec061f26215c5bd7048a88e63d94877b401d7428c74151295ee680b2a0a46f1363ff9a5645234b8fe03a5a782cdb2e17b SHA512 a49e360badf52d10820d6716c78e01683217e35f0c82ec2de13ee4a1834ca226ff0cbe6d2b143e24c181b1ba9ffaaf852a915136f08100858310a54f75e50509 +DIST pydantic_core-2.40.1.tar.gz 452466 BLAKE2B fe52aa03c4ece26b431f27e3f8d4c7420991c6ac68727ed346a4fcb70c66bea0b690c58d9be2d23ec3f1fca5710ccce8d76e08791534e9dbd80fc35532693c3a SHA512 9aaa0aed05e22ff39bcad0dfce2326998f18427b9e08312a6c3c221dc151bd85e3ef57d0921ff7a5b8744f539b5c1f42655eb650ff7d5d426807c93fddcde70b DIST pyo3-0.24.1.crate 1113050 BLAKE2B 5a203f8c845b08b40ed64561d385d2e4134a38916723ef6b0b4be8f44fa9de594c4eca138c318ad83a156f66273b20b55acb19897dca3eba5d479e6333be815e SHA512 6c2a8f9d554a3cf151a796ee20610b596ebdbf9e642d6b2ddc35d0142841d7be51e739ddef4332cfa8c4625c972d9705eae5f694b4d8907882bec4add7c6c6ed DIST pyo3-0.25.1.crate 1121993 BLAKE2B 79a982131fc4c4f9292e97bc8d938d236ee9cefb99bb90646a84703660ad506aee8ae1f1e626d985aa62c695722510f2697544581fa5c3a01f193be2bc2779fe SHA512 9c842c89d274dba0c8a3085a8524736245d65f07e5c05bc13fc89167cfdeb1a4ff2b4a9da9467eee918e45d01777473f39bda11efe0052859969d4fdeac1adc6 DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 @@ -94,7 +92,6 @@ DIST serde_derive-1.0.218.crate 57782 BLAKE2B b2244847b41f1aa396352bcea886d6a28d DIST serde_derive-1.0.219.crate 57798 BLAKE2B 071f02019f829a2753769ce915d11df8f0d202ca67314fe83b42e1f1f3d07bc91b7e7c38fe498a0513714f80d3a3dbf2b447b1f85762de06dd021119801afa89 SHA512 1676bbf09e11273705a35c540d52d35d1bba7cdf1f347d40a364d7ae9269167f9f0f62ff4fa384aaa613c83e432a8eb3c016587ea643bb11434c00664a5c116b DIST serde_derive-1.0.228.crate 59605 BLAKE2B 166ee2f9ff9f7a0928d0a65a72db3d9226c377bca2a1771956e8ecd9c7faf0544673c9c21be2a5553e621b55c74c7b958052592a1cf6eb6427a2d4f3e3dc6bb8 SHA512 8bfdfeee10ee7ef0670972aa963ef63b13e8eb2c8a09b9e0b717f92551aa89b3dd2a0dcbae6ccf20a1caece07e6adb18f0db56fdac020e4e0281b0d24e376003 DIST serde_json-1.0.140.crate 154852 BLAKE2B 733aecfb88fc37de37b60fdd33a45fecc2bf0ac2165b81bdb12665de7e26633836160e927be5d538eb2056a799e85ca4a1008cbd30af23b72a594643c6015f22 SHA512 bafa26fd43ba30cbf73572b8203292b1f275995636e9dfc3d47954939453fe4ecf0c60f25d2af1ec16c7cb0e7ce3b96cc07507d1b53b7db566fe7cb2624f0e12 -DIST serde_json-1.0.142.crate 155363 BLAKE2B e4bea16f092dd38d09d0bd8bb8f375bbab7fbf22c567c19222243bfa181f8103fec872b13552ac5927741146b9dd7d1a1719f84ecf317d7aba258250f5fc46d8 SHA512 dc4dbfd356e7cf3bd82dc463dcae7a563be2146dae22230fc2586e3481a4e5f59314b7b00345da6d9ced2b15557acbe1380b127144c70cb708291f72a19a7ab0 DIST serde_json-1.0.145.crate 155748 BLAKE2B fdb06251cf3a18f2f3685823585f4ac16f2f3b762e528e3f815168a6d7991d384eb140698f9f5c39c4ce04e17fbe062f3f9c07cfea9915415a7e1f9046b6a83e SHA512 e2054b7914e6cde0c58e952d9c129f7fe8c55981b74a9700cb282480688868ebedeb44281c1e3ccef2e2a04a9a18fbdafc8a4d43169f4d09ce905808e4e056be DIST smallvec-1.14.0.crate 35561 BLAKE2B aa8ee61800a6d13eda5acb4e9dc03543160849479a96a72c50ab38013b23e9593a665773b455a09777038edd436d7a35b501f6d4a0e16ff49544be60345a1e50 SHA512 90de38f208f551cdbf4980fda2314dee57d4e2bbf769a01c47bc849189e9243474932052faa92fe0ca59ecc9c5d1ed84091ef87f724343d38ebbbf710ba232be DIST smallvec-1.15.1.crate 38116 BLAKE2B 8dd779d7726694672945e928399e0459f4973d284a6c2d664c2fc757ebb1177658f47c812d9800e982479cbd7413fd4283c64a4d248ba5cff6397f96b758676e SHA512 c26b097a063353beedfcc921129cd0fb838c1c9420218993a05b2655b47b6ec16f11e0054312018658b4abd893beee140c5d2739401a5e5aea2e64575f237047 diff --git a/dev-python/pydantic-core/pydantic-core-2.38.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.38.0.ebuild deleted file mode 100644 index 7eac83492aed..000000000000 --- a/dev-python/pydantic-core/pydantic-core-2.38.0.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# 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 - bumpalo@3.19.0 - 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 - js-sys@0.3.77 - 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 - log@0.4.27 - 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.1 - pyo3-ffi@0.25.1 - pyo3-macros-backend@0.25.1 - pyo3-macros@0.25.1 - pyo3@0.25.1 - 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.142 - smallvec@1.15.1 - speedate@0.17.0 - stable_deref_trait@1.2.0 - static_assertions@1.1.0 - strum@0.27.2 - strum_macros@0.27.2 - 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.17.0 - version_check@0.9.5 - wasi@0.14.2+wasi-0.2.4 - wasm-bindgen-backend@0.2.100 - wasm-bindgen-macro-support@0.2.100 - wasm-bindgen-macro@0.2.100 - wasm-bindgen-shared@0.2.100 - wasm-bindgen@0.2.100 - 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.14.1[${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 - ) - - 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/pydantic-core/pydantic-core-2.39.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.39.0.ebuild deleted file mode 100644 index 0718e5682587..000000000000 --- a/dev-python/pydantic-core/pydantic-core-2.39.0.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# 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 ) - -RUST_MIN_VER="1.75.0" -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 - bumpalo@3.19.0 - 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 - js-sys@0.3.77 - 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 - log@0.4.27 - 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.1 - pyo3-ffi@0.25.1 - pyo3-macros-backend@0.25.1 - pyo3-macros@0.25.1 - pyo3@0.25.1 - 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.142 - smallvec@1.15.1 - speedate@0.17.0 - stable_deref_trait@1.2.0 - static_assertions@1.1.0 - strum@0.27.2 - strum_macros@0.27.2 - 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.17.0 - version_check@0.9.5 - wasi@0.14.2+wasi-0.2.4 - wasm-bindgen-backend@0.2.100 - wasm-bindgen-macro-support@0.2.100 - wasm-bindgen-macro@0.2.100 - wasm-bindgen-shared@0.2.100 - wasm-bindgen@0.2.100 - 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.14.1[${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 - ) - - 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/pydantic-core/pydantic-core-2.40.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.40.1.ebuild index 707eed0d99b6..707eed0d99b6 100644 --- a/dev-python/pydantic-core/pydantic-core-2.40.0.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.40.1.ebuild diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 73cbcebe6587..d4d129e99603 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -2,3 +2,4 @@ DIST pydantic-2.11.7.tar.gz 788350 BLAKE2B 4767f593beb649fe3139f3b22e3814a9f5679 DIST pydantic-2.11.8.tar.gz 788452 BLAKE2B 91c967ddf3f6ad6ec3713e1503e35d43adffc3160d9a4df2710db4ccab4c313ef8009de379473f7438d3f0ce716408b924963974d381bf27232aafb5afb960b1 SHA512 f06b821d84cecc6b1b9f364d35ae67cd79fd25dc356922d4af4418ad77dacc57ba327febc7fd33dee5cf070f8e9018ee3362c8f0aa8a5802a6af2ff327018254 DIST pydantic-2.11.9.tar.gz 788495 BLAKE2B d22e4aef09d65c30829dfb31d161c82511cc8e1a1b57dde08008462f42a23e4653979ff0578ab571314538d1267b8628bb4ab0eb4fe9af59ed2023c83f33a530 SHA512 32bcaf1de12d2df2344222389c8deefb88432886449ad52b420b4ff760b7b882522d416996fdea4d44a6cf4d24f96b2aec55d003e9772e28b2cacd654eed64fb DIST pydantic-2.12.0a1.tar.gz 802751 BLAKE2B e0e8a9ed89a7cb3a8a8d4f09e81965a98ceb9d68a74fc6c60417d49fc9f86f7e99077f7209a737d8c8defadc2fa7312b83dbae1ecb8781d6595b4a5f48f66941 SHA512 ce78aee6ebe98eb40ebde832e82e75688e82bd9b2d703ef8d86044ae904d1760ad920d7d4c9b2efe2e61d9e476499c9c038ffd3dfc3ee9a1b3218a84d94dad30 +DIST pydantic-2.12.0b1.tar.gz 809613 BLAKE2B a2c324b35dd30a0a3747ff5c6304806e98569a8f667cc5d55f7ca8e05407814b0318480413bbeed2ef1e64814a465db67f5e9b0a8ed832eb0b65062b22387b20 SHA512 3948f17ca8e8eccbc11629cb20431fec3174ae115837b157bc29c35e54cbaa467e6f01bddc8492b8fd32ad513c864e13cee1dc655ed0292cf31712d376b8fce1 diff --git a/dev-python/pydantic/pydantic-2.12.0_beta1.ebuild b/dev-python/pydantic/pydantic-2.12.0_beta1.ebuild new file mode 100644 index 000000000000..8f2f971f596b --- /dev/null +++ b/dev-python/pydantic/pydantic-2.12.0_beta1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-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 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.40.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.14.1[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # -Werror, sigh + tests/test_types_typeddict.py::test_readonly_qualifier_warning + ) + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_pickle.py + ) + fi + + epytest +} diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 6208e567847f..c79964b53abc 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,14 +1,8 @@ DIST selenium-4.26.1.tar.gz 967543 BLAKE2B 7e7476338a030083261199b725aaa38d03bb62f71c56c16495600428e976067b456c32b98d18a0fa4fcdcd6544ddb0043a8104b3c6c075917924ebb8466aee56 SHA512 08d75ee4b3b5d93ad5385c0755d1b9b4e604e491127da19ba3531c6de2213c6cbbdb768893168112643e6272019d4d761873039f42af1c96dffc7ccfb9fc3bab -DIST selenium-4.31.0.tar.gz 855418 BLAKE2B d06268cfc71cfde25718ecded62f4556768138b428b63009d747c4a5e88f6e72bb975ac3b576eee44a014f2e0b55c4ac4fa17e0ddcbac15140bfee44ad584b23 SHA512 478060d4a87d0c000edfb76bed1ff40e0806b226eda41caa0d9818d650abe6a735513bac8520097659b22e64f145cf31d753d4d2209680cfa15a8a86454d0626 -DIST selenium-4.32.0.tar.gz 870997 BLAKE2B b25ceff282c7be6de7e3a02c71769aa08db6d726010b879f4feb7e0f96b465ad5ce9d5942d941f3d1dd4c1c664faeb0e5be5b01c69150420dd1b15b19197971b SHA512 8c46e7e07b1a647c7901401a8d7a2930f95a5df5c4ed81d3364446b88a9c55de5c8401ede06aea6e142807025f890e2c026407b9468a44e239b5bed6a2ffdbb0 -DIST selenium-4.33.0.tar.gz 882387 BLAKE2B 62f32dc6aea5d7d16c546283d884d4f56b86911d7dbeeeb37a3f978d7b2161a8178e6d244b0dd6e6c5ca1a2eb29b0b758ed537d4b13cad5c71012b3d24c38b3e SHA512 c1f4969279d6df92f8537fe3d8cad1cd8265c6942a765399d8024aafeeb90dc0af6e7c11509dcead18a89f03c3486cd526448b27fae91bfc670fbaea7c6a37af -DIST selenium-4.34.0.tar.gz 895790 BLAKE2B 6f256ff92721eea31ec11dd0ced3d7ce7e1f79cb76664bed07297cfa872032652365ea17bc0a241a8417d3c47ea4242f520590a84024e5575e00e09cec5a9657 SHA512 374d5a321bbdbe260144e88b0cb1f10498e08368a3fc2142dbcb65e576a5188b5310dc3e0f5d8a114c5ac3a8ad9e5155c0cc5b66df13ea7fbd51a993b69472f3 DIST selenium-4.34.2.tar.gz 896309 BLAKE2B 094d3596a86e1cd50a6967a65b3e7b9a73300403f5d88163ded8b1d3a62cb09d77057e9b90a35b39f3a6000a8ba604bd71ecb051866cf7ad88c5ab9e21752978 SHA512 f5911f41bc4988e1af26812299cf37aba7e88820cf4e719e0e04a36a5dbdba5420422c52393c8d31c4e0f88efe779e9beec2c490892e4546caa0a920047e01fa DIST selenium-4.35.0.tar.gz 907991 BLAKE2B e2d0baade499b41cdb23bdbae0059163fb58157dc86c3bcf4d7b9c4d040bcec19aba4000a223a4e7dd0137d4cc321064e95cd12fe22beaa311237c18261518ce SHA512 09f9149b94974c7965d5b81ee1ca65cca7e7a1de775d7323335c21acbbdc21da17f0f6314a8162177c6a22fdbb23b4147c213b2c3a98bfd9a13ac077dc113812 +DIST selenium-4.36.0.tar.gz 913613 BLAKE2B cc4354d8c5a85aea2ed8c825b2ed06833db7f85276f99c8294b4dcaa1b58ad48f81549a8aafd4e93143b97eeaafd1c96d162b93c3c7bb7d45df6dbd7e9764f9b SHA512 9ad9a3fbe1234754d7eaac94ad07f876108f390414addb057b50fa3ae46107f40f1cc7b40683064d59b82ce081ca9ca0297be6a55f61e8c19d93a49b91bc6d57 DIST selenium-selenium-4.26.1-python.gh.tar.gz 77109265 BLAKE2B c0c5693c64fa65a627e5edf0cbbc051410fcddf59e4fd80c362b9a382c586fc3ad3d574674e5523ab284b40b6639e95e85fd1c8195f2f1a6f35ad6532ed667ce SHA512 7ace69332f17c6f7e28b81223f4c8c62cde1832b5acaf2fd1c777a08a5a9cfebb5d9c83daa10462eeb3acb9c7cb5038711f5acee51f5dad3910d7e29e4387d3f -DIST selenium-selenium-4.31.0.gh.tar.gz 52458288 BLAKE2B 649d585e116ccd82e68f3b74b50cbbda5b9ac02c6ab8e72473b5775265205dc31ec69c846b1b39c91dceb63234bb02bf4833b321d101227f5873db6ad8897038 SHA512 e440e1b8e15b9e1f592b2466738f3982355a0757458bd7c8ef7eba31548df2bd449e54cea273a47f2b6bd0e68a2d75a1af67a791eff0cf3f601e685c4b8b237a -DIST selenium-selenium-4.32.0.gh.tar.gz 52479399 BLAKE2B 01a2c0c172d4d25045b7f16d16c23945f4aaf48b422a9c926cdd6dbc728193a94d068c69f0317d3e5b8dd17df655581b3e5fd1e845cb18c1080f7a4aeb88d1dc SHA512 3beac9d23e9b92e54ff53195bb6376f6938019af9fdf9ad42210deb4bcd3b0fafe9e5098d4ba6e974d4d7f6bce6788622c0bd89ccf07117f3f7c7abad4e8831c -DIST selenium-selenium-4.33.0.gh.tar.gz 52518597 BLAKE2B 126fd55707580ff1e8a1df129680dcfb3f6edd11cacc335bb0163cf0af7b9f713a5c73d70e963089e0bffd14bede21c04dcec8eb99aaa5be6719717411c73088 SHA512 6392f952081cac1c2d9a5d9b1a93da270a6605f370d25fa3e79551b8df648f527b1936448e42d5e75d89613a7306a5d8f351e471b7c783ef35e7b22be9eb2955 -DIST selenium-selenium-4.34.0.gh.tar.gz 52524095 BLAKE2B 1fe7e662697039708ce84ef4941f028369ca54089cd4f5075b3df2aa0d08373a3779ca201daa29ff5c4ad3d139f751a4525e114bfa80e3d0d297901309bf3bda SHA512 6e431e82d1ef4cb5dd47f319a95a43ebf68924b73f5de8e562ba21a0420d58098dcf63578699d36e3da5a6180fe7e433a50389a362357eb7c7f6d0a5770966b6 DIST selenium-selenium-4.34.2-python.gh.tar.gz 52515190 BLAKE2B 319a7083d5942c1962b4f48f907fea12943a403e4490f74f3cd38662f1c63f57270b27b6039a5a8f29a980540cd0dcf1d1c7560c7ac126f07e491983dc0e81ef SHA512 5ca0b6e970ded3dc93cd55a2c1af7c43063d87f57f119a011313eb7d08faa4057896a56d4eac2e13d39857c94b54f04840a053153cc39008c76cbdd33c8ddbba DIST selenium-selenium-4.35.0.gh.tar.gz 52550104 BLAKE2B b7ed0fb513cfb2ed24aa8393497b349f930739c3d24a330e5942fbaa5505f31d7086396a430776a3a28a5f65927b92bf27c0a32e8c36d893b5d62ef73151d5ef SHA512 dc73829e3b0fcb7fb7ee1cc04574b95b63d23f67974575dbd66338e14a5cb2b06f983145ce874be0d7124e8828b0a41b99c75d3befb19e04cbf8d027d0bb983a +DIST selenium-selenium-4.36.0.gh.tar.gz 52567842 BLAKE2B e5e715ce0d4e491f2551ea13c2b9cd6c1021fafd6b0bf0dacba9b0aa4e3f479816cb910c66e286e8cb7b737063705caa2c843db3ccb83f964b4bd64ff174d935 SHA512 b95037df807c827c8f110d112ec0d062c7bb3c71b9faf31f5bfae59b5bfd1c2e20b035c3c3ab180b2319f8ba952042fb77966eb44db5b803a545fa18e0285bb5 diff --git a/dev-python/selenium/selenium-4.31.0.ebuild b/dev-python/selenium/selenium-4.31.0.ebuild deleted file mode 100644 index b9f86c761ead..000000000000 --- a/dev-python/selenium/selenium-4.31.0.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 pypi - -# base releases are usually ${P}, followups ${P}-python -TEST_TAG=${P} -[[ ${PV} != *.0 ]] && TEST_TAG+=-python -TEST_P=selenium-${TEST_TAG} - -DESCRIPTION="Python language binding for Selenium Remote Control" -HOMEPAGE=" - https://www.seleniumhq.org/ - https://github.com/SeleniumHQ/selenium/tree/trunk/py/ - https://pypi.org/project/selenium/ -" -SRC_URI+=" - test? ( - https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz - -> ${TEST_P}.gh.tar.gz - ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] - <dev-python/trio-1[${PYTHON_USEDEP}] - >=dev-python/trio-0.17[${PYTHON_USEDEP}] - <dev-python/trio-websocket-1[${PYTHON_USEDEP}] - >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] - <dev-python/websocket-client-2[${PYTHON_USEDEP}] - >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/filetype[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - test-rust? ( - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-util/selenium-manager - net-misc/geckodriver - || ( - www-client/firefox - www-client/firefox-bin - ) - ) - ) -" - -# xdist is causing random pytest crashes with high job numbers -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # do not build selenium-manager implicitly - sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ - -i pyproject.toml || die -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - # expects vanilla certifi - test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout - # TODO - 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' - ) - local pytest_args=( - # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 - # seriously? - -o "python_files=*_tests.py test_*.py" - -p pytest_mock - ) - if use test-rust; then - local -x PATH=${T}/bin:${PATH} - local -x SE_MANAGER_PATH="$(type -P selenium-manager)" - - pytest_args+=( - -p rerunfailures --reruns=5 - - --driver=firefox - --browser-binary="$(type -P firefox || type -P firefox-bin)" - --driver-binary="$(type -P geckodriver)" - --headless=true - ) - - EPYTEST_DESELECT+=( - # expects prebuilt executables for various systems - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac - test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os - - # TODO: these don't respect --*-binary and try to fetch versions - test/selenium/webdriver/firefox - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options - test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome - - # TODO - test/selenium/webdriver/common/bidi_script_tests.py - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities - ) - else - EPYTEST_DESELECT+=( - test/selenium - ) - fi - - cd "${WORKDIR}/${TEST_P}/py" || die - rm -rf selenium || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest "${pytest_args[@]}" -} diff --git a/dev-python/selenium/selenium-4.32.0.ebuild b/dev-python/selenium/selenium-4.32.0.ebuild deleted file mode 100644 index 540c85a8efa8..000000000000 --- a/dev-python/selenium/selenium-4.32.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 pypi - -# base releases are usually ${P}, followups ${P}-python -TEST_TAG=${P} -[[ ${PV} != *.0 ]] && TEST_TAG+=-python -TEST_P=selenium-${TEST_TAG} - -DESCRIPTION="Python language binding for Selenium Remote Control" -HOMEPAGE=" - https://www.seleniumhq.org/ - https://github.com/SeleniumHQ/selenium/tree/trunk/py/ - https://pypi.org/project/selenium/ -" -SRC_URI+=" - test? ( - https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz - -> ${TEST_P}.gh.tar.gz - ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test test-rust" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] - <dev-python/trio-1[${PYTHON_USEDEP}] - >=dev-python/trio-0.17[${PYTHON_USEDEP}] - <dev-python/trio-websocket-1[${PYTHON_USEDEP}] - >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] - <dev-python/websocket-client-2[${PYTHON_USEDEP}] - >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/filetype[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - test-rust? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-util/selenium-manager - net-misc/geckodriver - || ( - www-client/firefox - www-client/firefox-bin - ) - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # do not build selenium-manager implicitly - sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ - -i pyproject.toml || die -} - -python_test() { - # NB: xdist is causing random pytest crashes with high job numbers - - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - # expects vanilla certifi - test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout - # TODO - 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' - ) - local pytest_args=( - # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 - # seriously? - -o "python_files=*_tests.py test_*.py" - -p pytest_mock - ) - if use test-rust; then - local -x PATH=${T}/bin:${PATH} - local -x SE_MANAGER_PATH="$(type -P selenium-manager)" - - pytest_args+=( - -p rerunfailures --reruns=5 - - --driver=firefox - --browser-binary="$(type -P firefox || type -P firefox-bin)" - --driver-binary="$(type -P geckodriver)" - --headless - -x - ) - - EPYTEST_DESELECT+=( - # expects prebuilt executables for various systems - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac - test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os - - # TODO: these don't respect --*-binary and try to fetch versions - test/selenium/webdriver/firefox - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options - test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome - - # TODO - test/selenium/webdriver/common/bidi_browser_tests.py - test/selenium/webdriver/common/bidi_browsing_context_tests.py - test/selenium/webdriver/common/bidi_network_tests.py - test/selenium/webdriver/common/bidi_script_tests.py - test/selenium/webdriver/common/bidi_session_tests.py - test/selenium/webdriver/common/bidi_tests.py - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities - ) - else - EPYTEST_DESELECT+=( - test/selenium - ) - fi - - cd "${WORKDIR}/${TEST_P}/py" || die - rm -rf selenium || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest "${pytest_args[@]}" -} diff --git a/dev-python/selenium/selenium-4.33.0-r1.ebuild b/dev-python/selenium/selenium-4.33.0-r1.ebuild deleted file mode 100644 index 6690c973616c..000000000000 --- a/dev-python/selenium/selenium-4.33.0-r1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 pypi - -# base releases are usually ${P}, followups ${P}-python -TEST_TAG=${P} -[[ ${PV} != *.0 ]] && TEST_TAG+=-python -TEST_P=selenium-${TEST_TAG} - -DESCRIPTION="Python language binding for Selenium Remote Control" -HOMEPAGE=" - https://www.seleniumhq.org/ - https://github.com/SeleniumHQ/selenium/tree/trunk/py/ - https://pypi.org/project/selenium/ -" -SRC_URI+=" - test? ( - https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz - -> ${TEST_P}.gh.tar.gz - ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test test-rust" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/certifi-2025.4.26[${PYTHON_USEDEP}] - >=dev-python/trio-0.30[${PYTHON_USEDEP}] - >=dev-python/trio-websocket-0.12.2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] - >=dev-python/urllib3-2.4.0[${PYTHON_USEDEP}] - >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/filetype[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - test-rust? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-util/selenium-manager - net-misc/geckodriver - || ( - www-client/firefox - www-client/firefox-bin - ) - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # do not build selenium-manager implicitly - sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ - -i pyproject.toml || die - # unpin deps - sed -i -e 's:~=:>=:g' pyproject.toml || die - - if use test; then - cd "${WORKDIR}/${TEST_P}" || die - eapply "${FILESDIR}/${P}-pytest-ignore.patch" - fi -} - -python_test() { - # NB: xdist is causing random pytest crashes with high job numbers - - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # expects vanilla certifi - test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout - ) - local pytest_args=( - # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 - # seriously? - -o "python_files=*_tests.py test_*.py" - -p pytest_mock - ) - if use test-rust; then - local -x PATH=${T}/bin:${PATH} - local -x SE_MANAGER_PATH="$(type -P selenium-manager)" - - pytest_args+=( - -p rerunfailures --reruns=5 - - --driver=firefox - --browser-binary="$(type -P firefox || type -P firefox-bin)" - --driver-binary="$(type -P geckodriver)" - --headless - ) - - local EPYTEST_IGNORE+=( - # requires some "python.runfiles", also bidi tests generally fail - test/selenium/webdriver/common/bidi_webextension_tests.py - ) - EPYTEST_DESELECT+=( - # expects prebuilt executables for various systems - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux - test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac - test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os - - # TODO: these don't respect --*-binary and try to fetch versions - test/selenium/webdriver/firefox - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns - test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options - test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome - - # TODO - 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' - - # TODO - test/selenium/webdriver/common/bidi_browser_tests.py - test/selenium/webdriver/common/bidi_browsing_context_tests.py - test/selenium/webdriver/common/bidi_network_tests.py - test/selenium/webdriver/common/bidi_script_tests.py - test/selenium/webdriver/common/bidi_session_tests.py - test/selenium/webdriver/common/bidi_storage_tests.py - test/selenium/webdriver/common/bidi_tests.py - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs - test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities - ) - else - EPYTEST_IGNORE+=( - test/selenium - ) - fi - - cd "${WORKDIR}/${TEST_P}/py" || die - rm -rf selenium || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest "${pytest_args[@]}" -} diff --git a/dev-python/selenium/selenium-4.34.0.ebuild b/dev-python/selenium/selenium-4.36.0.ebuild index 89316f7c6614..e25f69f56609 100644 --- a/dev-python/selenium/selenium-4.34.0.ebuild +++ b/dev-python/selenium/selenium-4.36.0.ebuild @@ -16,7 +16,7 @@ TEST_P=selenium-${TEST_TAG} DESCRIPTION="Python language binding for Selenium Remote Control" HOMEPAGE=" - https://www.seleniumhq.org/ + https://seleniumhq.org/ https://github.com/SeleniumHQ/selenium/tree/trunk/py/ https://pypi.org/project/selenium/ " @@ -50,7 +50,6 @@ BDEPEND=" test-rust? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-util/selenium-manager net-misc/geckodriver || ( @@ -69,7 +68,7 @@ src_prepare() { sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ -i pyproject.toml || die # unpin deps - sed -i -e 's:~=:>=:g' pyproject.toml || die + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die } python_test() { @@ -80,6 +79,7 @@ python_test() { return fi + local EPYTEST_PLUGINS=( pytest-mock ) local EPYTEST_IGNORE=() local EPYTEST_DESELECT=( # expects vanilla certifi @@ -89,15 +89,13 @@ python_test() { # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 # seriously? -o "python_files=*_tests.py test_*.py" - -p pytest_mock ) if use test-rust; then local -x PATH=${T}/bin:${PATH} local -x SE_MANAGER_PATH="$(type -P selenium-manager)" + local EPYTEST_RERUNS=5 pytest_args+=( - -p rerunfailures --reruns=5 - --driver=firefox --browser-binary="$(type -P firefox || type -P firefox-bin)" --driver-binary="$(type -P geckodriver)" @@ -128,6 +126,8 @@ python_test() { # TODO test/selenium/webdriver/common/bidi_browser_tests.py test/selenium/webdriver/common/bidi_browsing_context_tests.py + test/selenium/webdriver/common/bidi_emulation_tests.py + test/selenium/webdriver/common/bidi_input_tests.py test/selenium/webdriver/common/bidi_network_tests.py test/selenium/webdriver/common/bidi_permissions_tests.py test/selenium/webdriver/common/bidi_script_tests.py @@ -147,6 +147,5 @@ python_test() { cd "${WORKDIR}/${TEST_P}/py" || die rm -rf selenium || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest "${pytest_args[@]}" } diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 1e6541ac98e0..395cb32bf731 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,3 +1,2 @@ -DIST spyder-6.0.7.gh.tar.gz 15831723 BLAKE2B a9f3760415cc979f00ceab0d2ec5cd0d51ac4052bd61d17c611dd5ed380a79f78bb64f6765a19d6591dcbb630e4ae80d6ab37be0a2a32f50404dde1b0fcfdbab SHA512 29753fbc666999dbc289337589907e3752230e46cf10913d19d18245eec28dc70719464c135e1096aa37e525779d64b3ddba97df8e04a53447fc4c83131a45d5 DIST spyder-6.0.8.gh.tar.gz 15831723 BLAKE2B 0f9feb6f6a2178799f5dc8fc20c8130fdc66a861902f6c2984ad4ceabbe6dc6bb9468289cfb702f7ac25b465b340d6e928f5dfcf59f4754720d5a50bd92cd474 SHA512 555ad56fcec1926626a18f8edc71aedfdbc0a85fa0bf4e5a69935489434b6d4a83d37a600b5720a34d37f6da967684dd7c890c9e6e5d66283a301fba164e833c DIST spyder-docs-98004cb46d97fa9fa1cfc3f469919928761e7054.gh.tar.gz 93375891 BLAKE2B c98d391bb33b1ba70bf9c8e8072073e87437541aacd4be42140711b786e8ae07bf5a7ca53dffdb826922b5523150fa2950b04117c335dc57f7c2c22eb693c23f SHA512 55e13f9a55075aed007be32581af954d406703dd9586352084162e01865f943c5aff3aa11b50bdc9813dd8a3a52f8fa8f961c73cfc3f96d95930f2a7b823a1d1 diff --git a/dev-python/spyder/spyder-6.0.7.ebuild b/dev-python/spyder/spyder-6.0.7.ebuild deleted file mode 100644 index 2db0edb41bc6..000000000000 --- a/dev-python/spyder/spyder-6.0.7.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature xdg #virtualx - -# Commit of documentation to fetch -DOCS_PV="98004cb46d97fa9fa1cfc3f469919928761e7054" - -DESCRIPTION="The Scientific Python Development Environment" -HOMEPAGE=" - https://www.spyder-ide.org/ - https://github.com/spyder-ide/spyder/ - https://pypi.org/project/spyder/ -" -SRC_URI=" - https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz - https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -# Missing deps and broken -RESTRICT="test" - -RDEPEND=" - >=dev-python/aiohttp-3.9.3[${PYTHON_USEDEP}] - >=dev-python/asyncssh-2.14.0[${PYTHON_USEDEP}] - <dev-python/asyncssh-3.0.0[${PYTHON_USEDEP}] - >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-4.3.0[${PYTHON_USEDEP}] - >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] - >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] - >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] - >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] - >=dev-python/ipython-pygments-lexers-1.0.0[${PYTHON_USEDEP}] - >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] - >=dev-python/psutil-5.3[${PYTHON_USEDEP}] - >=dev-python/pygithub-2.3.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] - >=dev-python/pylint-venv-3.0.2[${PYTHON_USEDEP}] - >=dev-python/python-lsp-black-2.0.0[${PYTHON_USEDEP}] - <dev-python/python-lsp-black-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] - >=dev-python/pyuca-1.2[${PYTHON_USEDEP}] - >=dev-python/qdarkstyle-3.2.0[${PYTHON_USEDEP}] - <dev-python/qdarkstyle-3.3.0[${PYTHON_USEDEP}] - >=dev-python/qstylizer-0.2.2[${PYTHON_USEDEP}] - >=dev-python/qtawesome-1.4.0[${PYTHON_USEDEP}] - <dev-python/qtawesome-1.5.0[${PYTHON_USEDEP}] - >=dev-python/qtconsole-5.6.1[${PYTHON_USEDEP}] - <dev-python/qtconsole-5.7.0[${PYTHON_USEDEP}] - >=dev-python/qtpy-2.4.0[${PYTHON_USEDEP},pyqt6,quick,svg,webengine] - >=dev-python/rtree-0.9.7[${PYTHON_USEDEP}] - >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-3.0.5[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-3.1.0[${PYTHON_USEDEP}] - >=dev-python/superqt-0.6.2[${PYTHON_USEDEP}] - <dev-python/superqt-1.0.0[${PYTHON_USEDEP}] - >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] - >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] - >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] - >=dev-python/yarl-1.9.4[${PYTHON_USEDEP}] -" - -# BDEPEND=" -# test? ( -# dev-python/cython[${PYTHON_USEDEP}] -# dev-python/flaky[${PYTHON_USEDEP}] -# dev-python/matplotlib[tk,${PYTHON_USEDEP}] -# dev-python/pandas[${PYTHON_USEDEP}] -# dev-python/pillow[${PYTHON_USEDEP}] -# dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] -# dev-python/pytest-mock[${PYTHON_USEDEP}] -# dev-python/pytest-order[${PYTHON_USEDEP}] -# dev-python/pytest-qt[${PYTHON_USEDEP}] -# dev-python/pytest-timeout[${PYTHON_USEDEP}] -# dev-python/pyyaml[${PYTHON_USEDEP}] -# dev-python/qtpy[${PYTHON_USEDEP}] -# dev-python/scipy[${PYTHON_USEDEP}] -# dev-python/sympy[${PYTHON_USEDEP}] -# )" - -# Based on the courtesy of Arfrever -# This patch removes a call to update-desktop-database during build -# This fails because access is denied to this command during build -PATCHES=( - "${FILESDIR}/${PN}-5.0.0-build.patch" - "${FILESDIR}/${PN}-6.0.3-no-dep-on-importlib.patch" -) - -DOCS=( - "AUTHORS.txt" - "Announcements.md" - "CHANGELOG.md" - "CODE_OF_CONDUCT.md" - "CONTRIBUTING.md" - "NOTICE.txt" - "README.md" - "RELEASE.md" -) - -distutils_enable_tests pytest -# TODO: Package sphinx-design -# distutils_enable_sphinx docs/doc \ -# dev-python/sphinx-panels \ -# dev-python/pydata-sphinx-theme \ -# dev-python/sphinx-multiversion - -python_prepare_all() { - # move docs into workdir - mv ../spyder-docs-${DOCS_PV}* docs || die - - # these dependencies are packaged separately: - # dev-python/spyder-kernels, - # dev-python/python-lsp-server, - # dev-python/qdarkstyle - rm -r external-deps/* || die - # runs against things packaged in external-deps dir - rm conftest.py || die - - # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5] - # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine] - # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server - # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder - # Do not depend on ipython, this dependency is carried in spyder-kernels - # The explicit version requirements only make things more complicated, if e.g. - # pyls-spyder gains compatibility with a newer version of python-lsp-server - # in a new release it will take time for this information to propagate into - # the next spyder release. So just remove the dependency and let the other - # ebuilds handle the version requirements to speed things up and prevent - # issues such as Bug 803269. - sed -i \ - -e "/'pyqt5[ 0-9<=>.,]*',/d" \ - -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ - -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ - -e "/'parso[ 0-9<=>.,]*',/d" \ - -e "/'jedi[ 0-9<=>.,]*',/d" \ - -e "/'pylint[ 0-9<=>.,]*',/d" \ - setup.py || die - # -e "/'ipython[ 0-9<=>.,]*',/d" \ - sed -i \ - -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ - -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ - -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ - -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ - -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ - spyder/dependencies.py || die - # -e "/^IPYTHON_REQVER/c\IPYTHON_REQVER = '>=0.0.1'" \ - - # do not check deps, fails because we removed dependencies above - sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ - spyder/tests/test_dependencies_in_sync.py || die - - # skip online test - rm spyder/widgets/github/tests/test_github_backend.py || die - - export SPYDER_QT_BINDING=pyqt6 - - distutils-r1_python_prepare_all -} - -# Calling pytest directly somehow passes the pytest arguments to spyder -# causing an invalid argument error -# python_test() { -# virtx "${EPYTHON}" runtests.py -# } - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy - optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy - optfeature "Run Cython files in the IPython console" dev-python/cython - optfeature "The hdf5/h5py plugin" dev-python/h5py - optfeature "The line profiler plugin" dev-python/spyder-line-profiler - optfeature "Vim key bindings" dev-python/spyder-vim - optfeature "Unittest support" dev-python/spyder-unittest - optfeature "System terminal inside spyder" dev-python/spyder-terminal - optfeature "Jupyter notebook support" dev-python/spyder-notebook - # spyder-memory-profiler is not compatible with spyder-5.2+ yet - # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler - # spyder-reports not yet updated to >=spyder-4.0.0 - # optfeature "Markdown reports using Pweave" dev-python/spyder-reports - # Plugins with no release yet: - # optfeature "Manage virtual environments and packages" dev-python/spyder-env-manager - # optfeature "VCS (e.g. git) integration" dev-python/spyder-vcs -} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index cab923fa776d..2ce25f86dc4e 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,5 +1,3 @@ -DIST tox-4.28.3.tar.gz 199617 BLAKE2B 4bccdf5e4202bb5ea27868ebbf9aadb9f9447a474540a7c41f2b960ef685c8ff7a273da5a920c998eff62cbea891170dc7f3a6b6f814149d37e69560902231d6 SHA512 149a303b3af65987f165e1237dc0f7591bc4970cbb8c5002b6bd927afafb3f76c748757f5b3014f754903b191587181148c17ca83fd1337b7e96bf0cd087bd2a -DIST tox-4.28.4.tar.gz 199692 BLAKE2B 0cefd242537cf1f8bd29dac7d3b2553c019b9878d9abbd8388047f6b276287996274f4957ec541e814d5db175784d25ad4e56605d962b9646b66b1e37b13e51b SHA512 f1f19cb41f54a63036cb32e4f4e8ee281b687f71b8baab9cd0d06287af52e84a75eca99a27b5b450105753c1a31cc9b2a53c8cff8e60878a93275dfaf42c94c0 DIST tox-4.29.0.tar.gz 200853 BLAKE2B 6b9ea0be59a0a73d71b87f4f7b5aa5ca075b80316d5ce2a52a093a717c63eef7cf250efb692a4d962abdeb6f421628cb726b41eb674bebc1f43573813545ad85 SHA512 9f1a88c42d90717f59a414490052107f6f2d357bf981ad6d0c63569af31d2215e626a28c1b3fcdd7e30883f0df5fda0207ed12f91683b0d3261b69af630fa84a -DIST tox-4.30.1.tar.gz 202209 BLAKE2B 4f6eb88e771efb738575540a3ca4a3fb0d261ddc2ded7938576034f5950d26f5fa41dfd01a235d2c6b180fe345d94c4e26ccb0628be15210033b6010f096eaaf SHA512 55fd7a07d697faedde4fa3ed586b56cc6bba4c9ab73620ee9f6a33dddff674af0bb5d58897b3bd844aefa5b8cae0b1c159407245f9c4457c4fa77201b2cbbb0b DIST tox-4.30.2.tar.gz 202622 BLAKE2B adcfcca1d9b41cdf7fcbd287f387948607615a344dc97046fd873bd8348447e40e8a9eb265c301e2fe31c24c9b74b38b82fe5b35e663d9147993673e548c9144 SHA512 abcae2d0a28e54cdc6a6f149c06a10bc3a1eaedf81f6125dea82c5aa02acdab560877061de9fd12535e25c0bdce20839a36083e01f103d941980d20d4755ddcc +DIST tox-4.30.3.tar.gz 202799 BLAKE2B 761819260390f6255cb6ae4cf600d5994a3221b2f9d089eb41c13520630908a6bcd0dd769ae60dff6c96db5aff204168fd7d48cdae28260048a3b2e689caecec SHA512 c4ef909b7e369844042f26ae4c492ec4c78cd0efe11af80f36159304166cd6e77b75b8191de0e78870f414c921230402bccdfda5ceeb56e4194abc66f076f720 diff --git a/dev-python/tox/tox-4.28.3.ebuild b/dev-python/tox/tox-4.28.3.ebuild deleted file mode 100644 index 1075397a1c27..000000000000 --- a/dev-python/tox/tox-4.28.3.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-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 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,xdist} ) -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - python*) - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) - ;; - pypy3*) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - esac - - epytest -o addopts= -} diff --git a/dev-python/tox/tox-4.28.4.ebuild b/dev-python/tox/tox-4.28.4.ebuild deleted file mode 100644 index 40f54eaddd32..000000000000 --- a/dev-python/tox/tox-4.28.4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-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 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,xdist} ) -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - python*) - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) - ;; - pypy3*) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - esac - - epytest -o addopts= -} diff --git a/dev-python/tox/tox-4.30.1.ebuild b/dev-python/tox/tox-4.30.3.ebuild index cba3047518a2..cba3047518a2 100644 --- a/dev-python/tox/tox-4.30.1.ebuild +++ b/dev-python/tox/tox-4.30.3.ebuild diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest index 24e3121be2b4..d27845468a25 100644 --- a/dev-python/xxhash/Manifest +++ b/dev-python/xxhash/Manifest @@ -1 +1,2 @@ DIST xxhash-3.5.0.tar.gz 84241 BLAKE2B efe3fcfa02b15afd1539aa8667878868430337a9fe1decca03ae402893c743fd6f2e8dbbfae747e54a9bc6b65ba5cf5f4d2170181b88a820e9d4615b2b902ec7 SHA512 0242589264cba67eb535a0fffbfa8f171fe8c1991b8a90a1484311f283c9f49c81cae8a86552c43232aa9ac7ba66c989fda0a21bb403b3e8219b32db53941b2e +DIST xxhash-3.6.0.tar.gz 85160 BLAKE2B b4a084b3495ec53431150ed5fd3adc6badcaec2553faec0db40cb49c5abe5a5bf0bc9ef3c0f6bbb636bbe97afbb5be75185d2e74305baa3dbc384e3e87fa28df SHA512 c82f7d108708b944e01fe2fad19654b274b6888cdf653420094049b84f0b63f1b249262d2310496d7f647c82c50ef62db583862b83d36a16a4e5ddf7633fee1b diff --git a/dev-python/xxhash/xxhash-3.6.0.ebuild b/dev-python/xxhash/xxhash-3.6.0.ebuild new file mode 100644 index 000000000000..3d89a44b8342 --- /dev/null +++ b/dev-python/xxhash/xxhash-3.6.0.ebuild @@ -0,0 +1,38 @@ +# 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 pypi + +DESCRIPTION="Python binding for the xxHash library" +HOMEPAGE=" + https://github.com/ifduyue/python-xxhash/ + https://pypi.org/project/xxhash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + >=dev-libs/xxhash-0.8.0 +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +python_configure_all() { + export XXHASH_LINK_SO=1 +} + +python_test() { + cd tests || die + eunittest +} |
