From 8bf02d8edf7e8947a205e2dca77bee4c4e31739b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2024 12:28:43 +0100 Subject: gentoo auto-resync : 06:09:2024 - 12:28:42 --- dev-python/Manifest.gz | Bin 271519 -> 271550 bytes dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.35.13.ebuild | 53 +++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.35.13.ebuild | 76 ++++++++++ dev-python/bottle/Manifest | 2 + dev-python/bottle/bottle-0.13.0.ebuild | 42 ++++++ dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.12.4.ebuild | 70 +++++++++ dev-python/cramjam/Manifest | 2 +- dev-python/cramjam/cramjam-2.8.3.ebuild | 6 - dev-python/ensurepip-setuptools/Manifest | 8 +- .../ensurepip-setuptools-74.0.0.ebuild | 24 --- .../ensurepip-setuptools-74.1.0.ebuild | 24 --- .../ensurepip-setuptools-74.1.1.ebuild | 24 --- .../ensurepip-setuptools-74.1.2.ebuild | 24 +++ dev-python/google-api-python-client/Manifest | 2 + .../google-api-python-client-2.144.0.ebuild | 50 ++++++ dev-python/httpbin/Manifest | 4 +- .../files/httpbin-0.10.1-optional-flasgger.patch | 4 +- dev-python/httpbin/httpbin-0.10.2-r1.ebuild | 54 +++++++ dev-python/httpbin/httpbin-0.10.2.ebuild | 54 ------- dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.112.0.ebuild | 103 +++++++++++++ dev-python/more-itertools/Manifest | 2 + .../more-itertools/more-itertools-10.5.0.ebuild | 24 +++ dev-python/nbdime/Manifest | 2 + dev-python/nbdime/nbdime-4.0.2.ebuild | 63 ++++++++ dev-python/pure-eval/Manifest | 6 +- .../pure-eval/files/pure-eval-0.2.2-py313.patch | 63 -------- dev-python/pure-eval/pure-eval-0.2.2-r1.ebuild | 43 ------ dev-python/pure-eval/pure-eval-0.2.2.ebuild | 37 ----- dev-python/pure-eval/pure-eval-0.2.3.ebuild | 2 +- dev-python/pydantic-core/Manifest | 2 + .../pydantic-core/pydantic-core-2.23.2.ebuild | 167 +++++++++++++++++++++ dev-python/pydantic/Manifest | 2 + dev-python/pydantic/pydantic-2.9.0.ebuild | 64 ++++++++ dev-python/pytools/Manifest | 2 + dev-python/pytools/pytools-2024.1.14.ebuild | 33 ++++ dev-python/setuptools/Manifest | 8 +- dev-python/setuptools/setuptools-74.0.0.ebuild | 127 ---------------- dev-python/setuptools/setuptools-74.1.0.ebuild | 123 --------------- dev-python/setuptools/setuptools-74.1.1.ebuild | 123 --------------- dev-python/setuptools/setuptools-74.1.2.ebuild | 126 ++++++++++++++++ dev-python/sqlalchemy/Manifest | 2 + dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild | 105 +++++++++++++ dev-python/stripe/Manifest | 2 + dev-python/stripe/stripe-10.10.0.ebuild | 92 ++++++++++++ dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.4.6.ebuild | 114 ++++++++++++++ dev-python/yarl/Manifest | 2 + dev-python/yarl/yarl-1.9.11.ebuild | 37 +++++ 52 files changed, 1337 insertions(+), 672 deletions(-) create mode 100644 dev-python/boto3/boto3-1.35.13.ebuild create mode 100644 dev-python/botocore/botocore-1.35.13.ebuild create mode 100644 dev-python/bottle/bottle-0.13.0.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.12.4.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-74.0.0.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-74.1.0.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-74.1.1.ebuild create mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-74.1.2.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.144.0.ebuild create mode 100644 dev-python/httpbin/httpbin-0.10.2-r1.ebuild delete mode 100644 dev-python/httpbin/httpbin-0.10.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.112.0.ebuild create mode 100644 dev-python/more-itertools/more-itertools-10.5.0.ebuild create mode 100644 dev-python/nbdime/nbdime-4.0.2.ebuild delete mode 100644 dev-python/pure-eval/files/pure-eval-0.2.2-py313.patch delete mode 100644 dev-python/pure-eval/pure-eval-0.2.2-r1.ebuild delete mode 100644 dev-python/pure-eval/pure-eval-0.2.2.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.23.2.ebuild create mode 100644 dev-python/pydantic/pydantic-2.9.0.ebuild create mode 100644 dev-python/pytools/pytools-2024.1.14.ebuild delete mode 100644 dev-python/setuptools/setuptools-74.0.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-74.1.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-74.1.1.ebuild create mode 100644 dev-python/setuptools/setuptools-74.1.2.ebuild create mode 100644 dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild create mode 100644 dev-python/stripe/stripe-10.10.0.ebuild create mode 100644 dev-python/uv/uv-0.4.6.ebuild create mode 100644 dev-python/yarl/yarl-1.9.11.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 12394d6a01b9..eab751931bdb 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index de83b49ae917..0d43b8e6f4fb 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,10 +2,12 @@ DIST boto3-1.35.0.gh.tar.gz 851637 BLAKE2B 485b17616fed53a88280aad92d2e4219d8bcb DIST boto3-1.35.10.gh.tar.gz 856679 BLAKE2B 03e7be74455b487a79188405796fc08bd940962ca4ef8c36398ee8f955c2677e57a528626ef31e5e54ce2c1b96c82cef857b54dcc16248178c60c14fd14de3f9 SHA512 99c0e0b67a590a06713eeb98eb485b055ee6fa1bd181f996d24bdf88698d7885efe0a5f1e9883083655b12a474112a03f8561c66c4c5b5a0e6db56d5733db77b DIST boto3-1.35.11.gh.tar.gz 857616 BLAKE2B ffec2fc8c2a0c12d21ac84e6cbe0ea967e83aab3764720046dcbb16ad7af6bcb8fcefe1e5686be0b2442cb0ebe58c5b5e9b3c41c38292069b0115c7d6cd00616 SHA512 4b6a494737be338ef81581de6372605bb75c99dcd83bb905af460d50deb3c2cbb929f0f89cf46e53d92dd302eb387baf7c0d898e5aecf96bafc8b099c75a9e0b DIST boto3-1.35.12.gh.tar.gz 858007 BLAKE2B bdf0110d9bf0f6a0c9804a6cc69d2d5d6f7593cfd6fd6a62cf3ab57ef9ba6715fe9e8a12cff8d9d750df78b22e0ab15a667b7f2189634e1a736b7017f5301a03 SHA512 6eb42fed0d33c51675888c0f0bf0b325a766433263fd700b68e75c0d3b1996b449de4f92052e581981629a073a571ab741cc337edab052600b29d4e20d9d6027 +DIST boto3-1.35.13.gh.tar.gz 858752 BLAKE2B 9ca6c8a06bfe3d9db9f57a584e63f44253645fa76864b490ad05bafc2c93370fc8787e508525cd2db20a325912e73e99984cb6ccdc42759e81bffe6ecb0a39e6 SHA512 c30581554be7a5a770fee01ff3230c6546cbff167acf8795cfe81ffc6501b3e59df0162077c7b720cb41224ce412b06ed7b9a868a934dc780e87acf6bf5806e6 DIST boto3-1.35.5.gh.tar.gz 854016 BLAKE2B f94d738e310725cd5f9c7b405a094155f3ecf640f02045662ed94ab3689ea549fde7eee19ae2be450768560ad705b8740fda78b79ed42cf536231626d247e09a SHA512 fc1106abbb306bacb80dce825bf71303e71b0d0698d7e3bb4dcaca4ea6e4f7a97e70753367200294f334b351e764bca57f2316afec854d2e46db4644dfefc25b EBUILD boto3-1.35.0.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.10.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.11.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.12.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.13.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.5.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.13.ebuild b/dev-python/boto3/boto3-1.35.13.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~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.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 65521e15a90d..aa8b83865f27 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,10 +2,12 @@ DIST botocore-1.35.0.gh.tar.gz 13294975 BLAKE2B a0cbafd1b0da5cd7150ea7a2e21b1209 DIST botocore-1.35.10.gh.tar.gz 13328544 BLAKE2B cecad54696210597a09f4316a88b8335bc441a6429ddbc7f3c6e539a1aaee4312b855ec93b99971c8241b2431a920085f4f3b38545d607609a8d6a94d36676d8 SHA512 cf6bb103aea0af9ed2e43762848438eef89ab5bf8eec856cb8cd70204dd36f143ab9b8defd6ecd849a542332351feb499d8c34e7382bde558eac3ad19b1c5757 DIST botocore-1.35.11.gh.tar.gz 13332112 BLAKE2B fe540370c3f0256788621c96778b8f6d905c6d4e5a435567e09a10af577669ba6196734d9e58c7e61d20d662bcb383d4028dee104a64746406be67526ede428d SHA512 0541ab8eef9793b5e35779f2f97b69d4f55140f4653bf7d07a2973e63fdd09f3ed377b97640e0d7d0c031276b21bc9586799453ef5f5bed8909456498d4c2f20 DIST botocore-1.35.12.gh.tar.gz 13335825 BLAKE2B 2b128dba80061708524eedf33ea636ade8420aaecb9935f697211c369bec710ca6cdcebab105d30c331a03ea360f3085f2377f57fdaeba7576f7bcd09d8b08a8 SHA512 59d9c3c9235ba6b0ebd9dd8d1c10262e07fe7dfd577970eb2621272f74633f0905325c888ec7e4d5f0e10748e6e081ba2b9ed1d12e47d7de90742413f4376784 +DIST botocore-1.35.13.gh.tar.gz 13340405 BLAKE2B da1bca16706cbbe7e80771691c32c85cd6f8dbd22b1e9212cfcecd7673673b9b8c55f76ceb81d7254bafa74939f9629320ca3bf50700e5f1e5ec0dc903bf26c3 SHA512 8e5d9ad5215e8341c007a26288e3dd5fcf1463983ee6f071c597ca9a00887430e173376c8442ea1e7cb0758d3202d4d62464141883a9a692789906046b2209ea DIST botocore-1.35.5.gh.tar.gz 13303437 BLAKE2B 0a95351fbc93074bb0398871773120a194fe581a26f9a74c1101a5ea57bb3acb9a33937fc2d5a39a065988cdcc6dbe253bd2227cf93e670602ccc67ab82d8845 SHA512 5527420017a4a23d5593f5b3a0eb8caf15357642ed90cd73e0fe22774cc8f9f3637028286063e3e2810e5dafe52e882928269e5c82f6369be9af99bef18fb365 EBUILD botocore-1.35.0.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.35.10.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.11.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.12.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.13.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.5.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.13.ebuild b/dev-python/botocore/botocore-1.35.13.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.13.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/bottle/Manifest b/dev-python/bottle/Manifest index fb71874d662f..596148b33009 100644 --- a/dev-python/bottle/Manifest +++ b/dev-python/bottle/Manifest @@ -1,4 +1,6 @@ AUX bottle-0.12.25-py312.patch 1086 BLAKE2B fb0b854bca7b7671046647c3bd3048053db5500de86bf9bbf11c59ca37a161914804012a6379509bea2bcc4cb82c1c9f5faf97aca95d970297a0e72326605208 SHA512 85c9090dcad1edc8098c451b4dc1afc0f6edb5e7e38cfa3901f50a13ba9066dac338660e1419fd4eb7f0ce6d9ae496c89d7cfa47cb55f7038bd957a581132663 DIST bottle-0.12.25.tar.gz 74231 BLAKE2B 2856d94e1525f21e272d70ca3101188ea65417179342d7b3e971c5d1a3be77265e4197e5d29764a5739adbd984883ed121524f29e6a5933b8681e2c34b511a57 SHA512 14b8ed1ffd58f9667d451872ccf73a6f4bf8f7ffb9329f55314f90c770630cfe3f9956f786bcc7fd5f67fde22d14961952969af405912ebe71f019ca6599c975 +DIST bottle-0.13.0.tar.gz 99295 BLAKE2B ad97db9c0d9313d836fc166809205b0b812e1d7ac3de05b5610aada01a19e8c785ccf8254304223fa77606f283d2e4621c5db2c5f36e950756c5ffef0bda4fa9 SHA512 17951d723c960ed045500c3721b0cccb3015c69f9e3cd2813e29984dbc16cffa63b108f18f36e0b3cf32b25bf9d900603f58569e1ab65bf53096c056d6ea6714 EBUILD bottle-0.12.25-r1.ebuild 1356 BLAKE2B 69aadff2903cc50319c8330e1ab4f03067dd3ef4506b9874f6959a39f62aa8df9c6cf31385fd7dbcaeb76aed9996889771c24850ab02272567b204c220c83f9e SHA512 41db5da4a759412e40f30127002520f91710e78ab5700421a6e7918292989127d793deb6140a598e2eac6fbd2c7f7ca36ca7d13f1a22fcee1d7f6fffa2604f8b +EBUILD bottle-0.13.0.ebuild 1086 BLAKE2B 6f04447f7749c11837e9fd7286edb2a9c56cd842df4303ac81ff1d23d8018bdb3d499ade46c0bb13f269991cc102975ff363a944b75226c6d26d5ba2265349dd SHA512 fcb0cead9f7023cddb077b169d98d434d43c4a08e99b2220844a2dc90177d4e13a0c928e9f682ea20756e90ce82acfcc2875cf7ab01d6c2a6d1d43a644dad4ba MISC metadata.xml 389 BLAKE2B fa960ae3a5dbead30cd7bc7617f87d5f2597716f6edef3a2af4ab15a7f45cfab6db98d77335a24fd792a6161dde7b7ff183d934e19cf69f7e1b2c72485cafd00 SHA512 06b65bd22b74e1e77597e65872d6ecc471e97848b05c02a0e2d35f98499d4c56164a15093ea96b9e55a59ed2624bed2adfb45d58d4a79c426087ca2ddf89f6b4 diff --git a/dev-python/bottle/bottle-0.13.0.ebuild b/dev-python/bottle/bottle-0.13.0.ebuild new file mode 100644 index 000000000000..617c841c54a0 --- /dev/null +++ b/dev-python/bottle/bottle-0.13.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A fast and simple micro-framework for small web-applications" +HOMEPAGE=" + https://bottlepy.org/ + https://github.com/bottlepy/bottle/ + https://pypi.org/project/bottle/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +pkg_postinst() { + optfeature "Templating support" dev-python/mako + elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" + elog "we do as most other distros and do not install the script anymore." + elog "If you do want/have to call it directly rather than through your app," + elog "please use the following instead:" + elog ' `python -m bottle`' +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index b6e3e8535fbc..87cff13b5044 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,9 +3,11 @@ DIST cfn_lint-1.11.1.tar.gz 2415408 BLAKE2B c164f6cd520e4106ff9cfaaffdcb66860c3e DIST cfn_lint-1.12.1.tar.gz 2614931 BLAKE2B d72638fdce0a5f72778979bf4ef1fc809a48e4d8bad2daf98bd6d5ebf323360e900f5b8900117999ebf6d89bedfe15667cf2a2a1e31be5b72af1e34a65d15b88 SHA512 9a0e9124536b13dbc24e8e60228ae2afac853560ac0f2cda394b4c6a65bb43e2f8f5319148c5c5f4902109d75d90a5e45197503bbb5f78904eec4604123dbe8f DIST cfn_lint-1.12.2.tar.gz 2615220 BLAKE2B 1037d7f5c8c598eec52570821f9f8bc1458321ea54af46a695fbf29dffb27e34cb4ee92ca982fa646cebf5b47d89ae8f093224951b501f2958d4aec07839a983 SHA512 6aaae4e0003e7547903d3bddd9a5ebd0600f245456ba00967a903658d761c7efe696c18bcb9f092ee6b88053b7665c1822e20933e0f6bd6931a09dbb7e520230 DIST cfn_lint-1.12.3.tar.gz 2616778 BLAKE2B bb17cb966103680ea0bb0cd18719ef7988e2d0e442d1c001338451eda806d1262a790fcf732ffdeda4455fb0ffc8a614cba9c03f78e75916675c55f51d6002e4 SHA512 11aea72628a5b7ad7e2521379a0c63fab44704ad57ddacb593337007814ce7ef6b3d22db3c3fe13eb7fc4d96a42db1dad01a392ef865331168f2bcc8e0c3c4d6 +DIST cfn_lint-1.12.4.tar.gz 2870663 BLAKE2B 90b1c2682a143108f077b1239171cb410657a33f1970e1f9fbc06774d1301ad0c28e364d7cf60163cb1d62a3c24221595e722db1fda5b79aebfd4fb321008396 SHA512 04092142a5de5da4cf2e94fe425c696cee3fd438fb569faa16bd390f3f3b8bfee63397a2aeedca99950eb656916b04456d59f2069c8479ce4c8acdffae01018a EBUILD cfn-lint-1.10.3.ebuild 2173 BLAKE2B e5d36838ac6fdbef143deed68652896c380d7d3a143a0c6f9b5e4efd38283f98a50f8169bbedba9fe826c1c306b56efc0f7f28c1a911cb85305748f996127c1a SHA512 262134549b6fa7a30a83feeed58ea5cfbb45a1f778b116238f5603c2e4e22243b5d63b2ce979c05a8d21990f3887e86dabc28f5ff08edb36cb44f2b866e53c3e EBUILD cfn-lint-1.11.1.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.12.1.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.12.2.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.12.3.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a +EBUILD cfn-lint-1.12.4.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.12.4.ebuild b/dev-python/cfn-lint/cfn-lint-1.12.4.ebuild new file mode 100644 index 000000000000..086f03ea08df --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.12.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.91.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/cramjam/Manifest b/dev-python/cramjam/Manifest index 75f09f1c3961..bc870472971d 100644 --- a/dev-python/cramjam/Manifest +++ b/dev-python/cramjam/Manifest @@ -141,5 +141,5 @@ DIST xz2-0.1.7.crate 23892 BLAKE2B fd4b65cc82405f28a3d9fcc3db9dbffac41ae8ec7e767 DIST zstd-0.13.0.crate 28911 BLAKE2B c2045cb42d2ac27af4231cc9b6a1734a8ec44121e91ccf3672fe11acba7627986705816fbfb0228121276b1557e7c96a6a44a89716e979f699b069154256b1c0 SHA512 daab48e7479826dbc14e7594b3c97c06eb2903f2ef94af419f0f5bb201931ecd917935d27049da363c9edca7cbc3b5d0ad3dbf3805376627df63862c658d17cd DIST zstd-safe-7.0.0.crate 20463 BLAKE2B 8c4cb034d1a12ae54abeeb8f12101f09ef82115ec26630103e7fad29ce1d0045e59dbd8ae301dbe8f47c90515ab9575288137ced98aea667a9cdd7ad0e2a6234 SHA512 2f0d66c874f7880d05fce39f4bdec5e217e8e18b44bfe97b4ea33c7d5c8719c5bd9615f7274f0b19734a465eb2477993fb8ae8d60abc7da36eac361e8fc4a437 DIST zstd-sys-2.0.9+zstd.1.5.5.crate 728791 BLAKE2B f08f8730d9cc1efc5520f223e9bfb0854b3a67a2907e47c38e0572d8eca688c1bae61560e11e664834dbff1bed3d40608b23d08f102ce6cd7f1af72b48446e4c SHA512 604c01eae4975745aca1dc1d351db98fec34f7036143e59dfeb4d36e6ee18ac9f3871a288557c8ebdc9e816967a008da43154dc9a0eb3cac85071ccb05bf58aa -EBUILD cramjam-2.8.3.ebuild 4282 BLAKE2B 2871506f06b9e8197b9ce731ff357a85619774fa5531e64ec721d0569c39321a7aaf51a2eb63a63373495bc0cf13b3369c93b6c39d45225c16ddd522f2a7fc1c SHA512 0bd14ba81101b77b4e1435a74819f1d575d258d750c44757964bc996ef6c94607e3fb3e7be8b05c84da600cdc076fe61e819d3b01e8ab7301c6e3dae3b3b5488 +EBUILD cramjam-2.8.3.ebuild 4107 BLAKE2B 3c05d8bb7c7c28404c493959cc94999d711609ae7520f91132260901e29b6770c0fc2e17ab22823879997824a49cd6fd289eebd3745d145728b962d61189bda7 SHA512 f2f2661cb5842b80ca6151fd4eb795331882af43fb4b64fe9a302ae3c727ec3e7c9c7799c81f3374a62d3392d9fffe1b3cd5e8495ca63e3bbd6ec398f12d89a4 MISC metadata.xml 349 BLAKE2B 3209b3af385f157b917f2fa0413b5e6b8cd6d3d7278ef37b3e69032606d01b1cf185642b257c12fb01887428578a64e60225313f5da2f075fcb31167b7531735 SHA512 9850dc46103ce6d542eb6221e4be635b456fc6aeccec1a67957a9f0181807ff1a28cae1da8d3ae9c31e14554e44d930fddfb9ecfe6a63d32f00bc21ce972c552 diff --git a/dev-python/cramjam/cramjam-2.8.3.ebuild b/dev-python/cramjam/cramjam-2.8.3.ebuild index 9ecf01a66f3b..73bb943dde59 100644 --- a/dev-python/cramjam/cramjam-2.8.3.ebuild +++ b/dev-python/cramjam/cramjam-2.8.3.ebuild @@ -204,12 +204,6 @@ src_test() { } python_test() { - local EPYTEST_DESELECT=( - # random health check failures - # https://github.com/milesgranger/cramjam/issues/141 - tests/test_variants.py::test_variants_different_dtypes - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest tests } diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 886f4566b3e9..6eedee47a6fe 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,11 +1,7 @@ DIST setuptools-72.2.0-py3-none-any.whl 2336658 BLAKE2B d46adb6be347ee6107ca90850ad1c8df60723e1cb93e402b53c02316a07b7cb71dd8d657cb3beb8c926fa23308d4e8fca7221b52e5f59fbfa744d6758b603343 SHA512 e7730427e7ff342a52f638fe1d457cdb906971f33dd87bb01a26b2d01b134f561397b7a6ffbe078ba5867306ba14bd8316995ab823f9b1c806646c2f242209c6 DIST setuptools-73.0.1-py3-none-any.whl 2346588 BLAKE2B 74c84539d1c3592aca5678ecf3c7c71c57fffa877fc5dcc42701c7b2f58613d3767ca10b190c37b30dc24ca9a6b67b76e1e70f63b188d9228f1b73b17f4a3198 SHA512 cef43928c8eebc673ca1befb1df1dc230eab8cf10fc66b06f02a0d459e78701457b8024bdc4ac33082e85e07dd5a63e031fcbf13e0b94d6bc9ccc90931060841 -DIST setuptools-74.0.0-py3-none-any.whl 1301729 BLAKE2B 2711e6bd9ccb3bd32850b81031c78c046ed155c8426cc8072fa38583e8819179a8d810a5ac863a64f644931f3c64babf3d5b927d263d5fc7ff89fcc893212e04 SHA512 909484ddc43ee4487e16182b3bae620c2ae27a0f5a0d43088ccb9f09dcc11dfe73381513e13b2ad7c380d72377be850da76ce2574572f175a9787c38b3c3d52d -DIST setuptools-74.1.0-py3-none-any.whl 1263585 BLAKE2B 4b1cb1b73a8d41c765ea0530e98e275a8a5a95cf0b1c114350b0f2f136cc2a68d68917fb59becea6e5bdb793a46138487c57c3dc1818e2e27fb4d858d9dfa025 SHA512 a166a9988b873017002cb4acfea9e4aa3d6735bad2f9e239b4395494e304aa60199a382cd6132f90819a78a0f47178c97bb6847323d24d7e74f7b8435638940b -DIST setuptools-74.1.1-py3-none-any.whl 1263655 BLAKE2B 979e3ef363498f227c43fcd144c71cff428fe16c3e336482137732148c803faa224c6673bed43828c179441f18aeea3f7a3fea25f925e8d81d0c870da416d554 SHA512 39eb5f632cd06753a4aae75472571336d0e45c88b3a455a125601b3ada853bebd01ea0641b843f70cadccbf8b38f6f67aa748bde3089bb46f435595be76531a5 +DIST setuptools-74.1.2-py3-none-any.whl 1262071 BLAKE2B 4cee06ae5a71241deda83ecdd3a6ee806d67dddac56cc3f19cf58e6b7e9e5c9e441187a82d17674fa91d172496291ad9482e1b458e1f0968cb62ece3f62278bd SHA512 90eaf02616d82b22a69310d772f6737f4ba807ad7d53e371235fcf4f21c4034ea78d4a5ff0e2e93fd0623b0adc43208f427df91551d4a9bb3c94e08d1ae8394f EBUILD ensurepip-setuptools-72.2.0.ebuild 610 BLAKE2B 30d5981f264556c7910d7d2984d37173e3f2b30fc4c08a041e3e4bbf57ceeae35b02582112fc7b190320fccdf55f25e59d9966fa75bfe39fa23fea1986954a14 SHA512 6923031a97ac255e828fecc00f7c7ad99828a0aab5fe17ee3855462a0e8ec422d96cad81b6e938c2d0fc4eed197a22dd38b31c0e38c2e99c5854f171c8a706b9 EBUILD ensurepip-setuptools-73.0.1.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a -EBUILD ensurepip-setuptools-74.0.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a -EBUILD ensurepip-setuptools-74.1.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a -EBUILD ensurepip-setuptools-74.1.1.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a +EBUILD ensurepip-setuptools-74.1.2.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a MISC metadata.xml 316 BLAKE2B 17947c657b45cb01758e222aa6051a459bf0bd9a026a73c0df0ae0c3a0c901f6e2315d459ee37036ecd283481a8d97791d64688c108a0706e745a739e3f9e8f8 SHA512 af18f4ae51b253552752e14210789988c815d0dbf0e1d8ff7057e48a09303c4abc1fb240d6f7f15fc0993b33e4c8ee395c2755754b3a2cbfd4c3a3f0dad41cfe diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-74.0.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-74.0.0.ebuild deleted file mode 100644 index 97aca4a61872..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-74.0.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared setuptools wheel for ensurepip Python module" -HOMEPAGE="https://pypi.org/project/setuptools/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - ! -Date: Wed, 15 May 2024 10:14:31 +0200 -Subject: [PATCH] Fix compatibility of check_copy_ast_without_context with Py - 3.13b1 - -Resolves: https://github.com/alexmojaki/pure_eval/issues/16 ---- - tests/test_utils.py | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/tests/test_utils.py b/tests/test_utils.py -index 172f50e..3a9cc9b 100644 ---- a/tests/test_utils.py -+++ b/tests/test_utils.py -@@ -58,7 +58,16 @@ def check_copy_ast_without_context(tree): - dump1 = ast.dump(tree) - dump2 = ast.dump(tree2) - normalised_dump1 = re.sub( -- r", ctx=(Load|Store|Del)\(\)", -+ # Two possible matches: -+ # - first one like ", ctx=…" where ", " should be removed -+ # - second one like "(ctx=…" where "(" should be kept -+ ( -+ r"(" -+ r", ctx=(Load|Store|Del)\(\)" -+ r"|" -+ r"(?<=\()ctx=(Load|Store|Del)\(\)" -+ r")" -+ ), - "", - dump1 - ) -From 89645cfd19d1480d586af50842f0ac264a036fa8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Sun, 9 Jun 2024 21:45:31 +0200 -Subject: [PATCH] Explicitly remove the ctx attribute in - copy_ast_without_context - -Python 3.13.0b2+ defaults to Load when we don't pass ctx -See https://github.com/python/cpython/pull/118871 ---- - pure_eval/utils.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/pure_eval/utils.py b/pure_eval/utils.py -index a8a3730..19ead65 100644 ---- a/pure_eval/utils.py -+++ b/pure_eval/utils.py -@@ -184,7 +184,12 @@ def copy_ast_without_context(x): - if field != 'ctx' - if hasattr(x, field) - } -- return type(x)(**kwargs) -+ a = type(x)(**kwargs) -+ if hasattr(a, 'ctx'): -+ # Python 3.13.0b2+ defaults to Load when we don't pass ctx -+ # https://github.com/python/cpython/pull/118871 -+ del a.ctx -+ return a - elif isinstance(x, list): - return list(map(copy_ast_without_context, x)) - else: diff --git a/dev-python/pure-eval/pure-eval-0.2.2-r1.ebuild b/dev-python/pure-eval/pure-eval-0.2.2-r1.ebuild deleted file mode 100644 index 3268f08fd3f0..000000000000 --- a/dev-python/pure-eval/pure-eval-0.2.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Safely evaluate AST nodes without side effects" -HOMEPAGE=" - https://github.com/alexmojaki/pure_eval/ - https://pypi.org/project/pure-eval/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/alexmojaki/pure_eval/commit/42e8a1f4a41b60c51619868f543e7b3ee82ac42f - # https://github.com/alexmojaki/pure_eval/pull/18 - "${FILESDIR}/${P}-py313.patch" -) - -python_test() { - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # https://github.com/alexmojaki/pure_eval/issues/15 - tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict - tests/test_utils.py::test_safe_name_samples - ) - ;; - esac - - epytest -} diff --git a/dev-python/pure-eval/pure-eval-0.2.2.ebuild b/dev-python/pure-eval/pure-eval-0.2.2.ebuild deleted file mode 100644 index 2e9546fd7db9..000000000000 --- a/dev-python/pure-eval/pure-eval-0.2.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Safely evaluate AST nodes without side effects" -HOMEPAGE=" - https://github.com/alexmojaki/pure_eval/ - https://pypi.org/project/pure-eval/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # https://github.com/alexmojaki/pure_eval/issues/15 - tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict - tests/test_utils.py::test_safe_name_samples - ) - ;; - esac - - epytest -} diff --git a/dev-python/pure-eval/pure-eval-0.2.3.ebuild b/dev-python/pure-eval/pure-eval-0.2.3.ebuild index 5402bfb5358f..c2a1591db028 100644 --- a/dev-python/pure-eval/pure-eval-0.2.3.ebuild +++ b/dev-python/pure-eval/pure-eval-0.2.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index c53e2554d946..42242162a227 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -72,6 +72,7 @@ DIST pydantic_core-2.18.4.tar.gz 385098 BLAKE2B 6bea502397c327f38a000e9ea3b59b7d DIST pydantic_core-2.20.1.tar.gz 388371 BLAKE2B d8c66cddd93fe4a56a901e5f06fe86c0c87b11397567e5400bf89e5884e13c98d37bbdc42ccd0bdd67c552370c17ed26d9a7897303544a816022d8a47ee8bc18 SHA512 fb5362a07282a54be9cbcf0773b5492dc1773c71d96979586885d920d794b13860a32a8165e7b5e023f9f0f7a3c85aa5098dc66d6626d5d290d3ab63fa70453f DIST pydantic_core-2.23.0.tar.gz 398665 BLAKE2B 4d62c6956f8309d8e03d3838dd9da7045b64f69836117b82bc0453ca2765053f37e8760076dcb9163729fcca7cfa36b2c7750031d4b5df7eda8234e99485c0f0 SHA512 84e7f5d8c2e1085575284d9d386194abe959b09c1b3bd6f16b79ac06b2a9104b52e01d1758f6a056590e138e2a33e73eaaf9539cb24a4ffbd1916e41cf8b81b8 DIST pydantic_core-2.23.1.tar.gz 399302 BLAKE2B 36dbdb817ae44aa19572c85f380499ae60e5722863de728b5b67c11627b352ac9dd14120cbb471f9dbd3ba8e8ad20a0356d52e950d4d6df2b01996c3fa95f97a SHA512 d09bec6d1452a6cc6b947cea7744a49860bde00b9481c37dc5c72b0ba4426fa0cd6eb73e080cdc4d69c986094d5ad0c02171d23b3199ba7ad60aafe205bc2a97 +DIST pydantic_core-2.23.2.tar.gz 401901 BLAKE2B 5cb8bd0a52cb32a226d7dc711bc6db1b33d8e5236069cc3f8881123cc0387e37c88aa6d898c434490c97814dc2df0296979d6abac52714f883159984d2f215bc SHA512 65ac846c6028e77cf53a95be2d45ffc1ef8bd691d1738c13f96b1823853f282bf64e876cc1e02ae99a967076578b0ba3c73572b441034850e9d49a1242e1bfa1 DIST pyo3-0.21.2.crate 504574 BLAKE2B 1b8bf374d1b61e3e4bedce6344338126051a6d951ea87d258e5ed92d4c0e13b0202f2e7e56500277c54743dd16c9b4587f436cf2058567501c8a9ac7c6b6c17a SHA512 5f88cda423e82b62698a74ceaa31fc27e5c1f1d417928accddb2e00337d163fda622f774ae6e24c1cb73c467d6b01e9a2ba866e4454338b1fbfc892ae14ffc53 DIST pyo3-0.22.0.crate 535742 BLAKE2B 772a4f8b718bbec32faa3dac4cad07a5b452fb366280753c3316d932663bf367192483fb5cd0bd405321128e67157b982eaa89264685739a141e021f0f7e2b72 SHA512 44e0237fd3a8d4c7b082c48a5c8a52d8f4cc4673d134f680e29504bb46d870015fa210da34de4c1998defbcd4afdf2aaea4e148fbe093e4b2c8b0d064cd48da4 DIST pyo3-0.22.2.crate 538342 BLAKE2B faf347695117f9fe0ebe5cd7f6aa1b0dcfe718343875d6c06438046deccc1075f104d2a2413dcda41ae9827bc363aa147057b45968f6634f577a6a4510a4bb8e SHA512 e8bae09059f50ffe477dad44499cedeaf3a734665f0fd8e8bd4b44f48578d21e4bdb8d55ceea00c5a27da750761842ddf89cfcecdecb2e7a4a17ab192259be9c @@ -172,4 +173,5 @@ EBUILD pydantic-core-2.18.4.ebuild 3289 BLAKE2B b9449f3cb7c97c29db006b02d3d80f7d EBUILD pydantic-core-2.20.1.ebuild 2939 BLAKE2B 9cb79f9eb31432014884bd1b817fe95f2f53cf0e07f10b4f421750b3900e8e1580b10aa0c729e75a54d9a2b2cc1204b6115d5e1ead25db074823353e93065668 SHA512 49f5e96b79b2a5b00fbec93dbe24717c083e855d389facc90a73e076c6ca42c16aaa1d04564c8f1cb55e2a27ec1593a168bdc9c6e9f52f780eaae102cc7974cd EBUILD pydantic-core-2.23.0.ebuild 3491 BLAKE2B f744b1c2afb5b6ef5b5e7780375ef6708e72f9bb26abc6ddeb1aa85e812b53c176c5d664a3472ac266e489808975ed950c095e086274196d179654b80f7d8839 SHA512 53240efa637d6414668d55d5f91c0b26e07ffd1f307767a723d90d004d8b1940197f121c90ef58f1a36a037302e1b0f6b0bfee854142b85e3e69c9a9b60bbf47 EBUILD pydantic-core-2.23.1.ebuild 3513 BLAKE2B d6cc852c1829d88db41bb10fc94d640445db2c88396579e818a9dca1406b117bdc113fd5299239198d0f3df7a441cc919cc19ee73156a62e64cc7242faed20c1 SHA512 4f709fb86c1a909e5218c63e124d2b99eeafb9f32337feca54884b4cbb5b3dc43c0e68ccb10a6d8c9fb718be04f3cd2929c55f168a10d96b4dff55120d36c0a4 +EBUILD pydantic-core-2.23.2.ebuild 3513 BLAKE2B d6cc852c1829d88db41bb10fc94d640445db2c88396579e818a9dca1406b117bdc113fd5299239198d0f3df7a441cc919cc19ee73156a62e64cc7242faed20c1 SHA512 4f709fb86c1a909e5218c63e124d2b99eeafb9f32337feca54884b4cbb5b3dc43c0e68ccb10a6d8c9fb718be04f3cd2929c55f168a10d96b4dff55120d36c0a4 MISC metadata.xml 379 BLAKE2B ac0fa1abd0aac6436f234dfbfdb1517cdef2f7636c019a16257619d1a1a95a31b67061daa6606b47b68332d03bd213fa9bf67017b0e4af9733a26ab4828cf206 SHA512 7e3b5785628be025efc5360924e31a5a5becab941c9db255357b966dd5d3aca733e96485e92e78533bcde95379c59c36a601d4b407550c5ff1c649f09c3a21a6 diff --git a/dev-python/pydantic-core/pydantic-core-2.23.2.ebuild b/dev-python/pydantic-core/pydantic-core-2.23.2.ebuild new file mode 100644 index 000000000000..6c5c58be8e4e --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.23.2.ebuild @@ -0,0 +1,167 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +CRATES=" + ahash@0.8.11 + aho-corasick@1.1.3 + autocfg@1.3.0 + base64@0.22.1 + bitvec@1.0.1 + cc@1.0.101 + cfg-if@1.0.0 + displaydoc@0.2.5 + enum_dispatch@0.3.13 + equivalent@1.0.1 + form_urlencoded@1.2.1 + funty@2.0.0 + getrandom@0.2.15 + hashbrown@0.14.5 + 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@0.5.0 + idna@1.0.1 + indexmap@2.2.6 + indoc@2.0.5 + itoa@1.0.11 + jiter@0.5.0 + lexical-parse-float@0.8.5 + lexical-parse-integer@0.8.6 + lexical-util@0.8.5 + libc@0.2.155 + litemap@0.7.3 + memchr@2.7.4 + memoffset@0.9.1 + num-bigint@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + once_cell@1.19.0 + percent-encoding@2.3.1 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + python3-dll-a@0.2.10 + quote@1.0.36 + radium@0.7.0 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.5 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.204 + serde_derive@1.0.204 + serde_json@1.0.121 + smallvec@1.13.2 + speedate@0.14.4 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + strum@0.26.3 + strum_macros@0.26.4 + syn@2.0.68 + synstructure@0.13.1 + tap@1.0.1 + target-lexicon@0.12.14 + tinystr@0.7.6 + tinyvec@1.6.1 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unindent@0.2.3 + url@2.5.2 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + uuid@1.9.1 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + write16@1.0.0 + writeable@0.5.5 + wyz@0.5.1 + yoke-derive@0.7.4 + yoke@0.7.4 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + 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.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=virtual/rust-1.70.0 + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + sed -i -e '/--benchmark/d' pyproject.toml || die + sed -i -e '/^strip/d' Cargo.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + local EPYTEST_DESELECT=( + # TODO: recursion till segfault + tests/serializers/test_functions.py::test_recursive_call + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3 ]] && cargo_src_test + epytest -p pytest_mock -p timeout -o xfail_strict=False +} diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 4b20c48db0e2..59fb0d681071 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,7 +1,9 @@ DIST pydantic-2.7.4.tar.gz 714127 BLAKE2B c9d6df84799d1c8a69bf7d203609db3ba533380919d1f47ae84eb83186ef9ffbbab5bea9b9c4918c65d35d4b2103107df3c7e5e314195bd84807d216226490b6 SHA512 9a36041a24306761f2528aaca196d0b3e160cf46d71596fcd3df0169b9dd68ce810b88bcbe15dc9c0126551d0d7e33e4c3014b97daaf5d68ce68c0f8d6ffaf81 DIST pydantic-2.8.2.tar.gz 739834 BLAKE2B d0168db26e02ac9fcf01fe85cd70c982e74f185dfce5075d4b365dba510d871550478ae98550882c425cdecfa3e31e674076906d8f71d1de947cc8d2cb55d3b8 SHA512 9d3b795ee43ccc4976a07c3770769758f023cc6763b8ef9ce4475d22c49d4dba80c8326d42106075b54a5d82c84722735e6017644755672b0f1cb0a4b624340a +DIST pydantic-2.9.0.tar.gz 768298 BLAKE2B f196274c37af4b14b0ee17a5274d784a56ad2b2721ca022f572209348edb7e342ace1744e980ac5a8df0d8d7f9642d3157297f3cad24073b133ebb328b589673 SHA512 e4e2b961e831c1461446c1914176a5fca4b573ed5df7a4e5f1fe956b94568bf982e0ed0ee3ab8e08b518817b40dc76a24aaff95453a25e736890e5f0b30549d9 DIST pydantic-2.9.0b2.tar.gz 767194 BLAKE2B 407bbadc4cb8f962cb331a9ccdfa70dd96729830a4c5532962105889536ac436f50552d3d6bac4e6840d44fc7c0ef2e94e1cab4b54be1565ac636436ca8a9b0a SHA512 a0d2491c14f58bbd376545551b128c0c396713a4a73786ac004ee4a0ff9b65a220c22f93aaa11239181bd87a600bc9b10c7d594b23286b909e8e6ea397eea81c EBUILD pydantic-2.7.4.ebuild 1300 BLAKE2B f9e8c50194cd43dcf1303f42ac88733e016c2dc0a57dbc3ba1a61de39dc3a7bd86c13bdcc70305712e982118f73bea84e798a1abd3960644ee68c6f0341d2a01 SHA512 ac3c61d6d7f9d4013fc53444da4b71eeadf615cdcb6443cc66924cac8ef2cfe23722ed23499039b05fc467c149bc05e87478f9fd6ade7857b799ed09de09c6ee EBUILD pydantic-2.8.2.ebuild 1426 BLAKE2B 8d1071f5c38274577792f876fc27243e0bbde838b1db0eec4e554b633f5c9b8ba54830f1f52e67de087135fe9e9a671e5d9dc6192c9d40f64a0dbb3bc5705f7b SHA512 193c322a51dfc1a07fe06ca9793f903a25a465f94129d8fe7cc074b94258bebb343827d0d50a9c2591dd99bdc27ef029c74cbf58f286147f718e6d5ef065878a +EBUILD pydantic-2.9.0.ebuild 1552 BLAKE2B e25eeb7a5a0a68ae41ccbe60b5f814a71f7458a5fda404f51a798b1851c54cdce024eda89b84029a2898453cd21f17ea96e396f0e03c8e683221fb36a509dc22 SHA512 d129e73dd41775665dad2541bee6f5b048eaca38ff6591aaea777e5be847013ace1548b9f49917591b40cd80d98d6a6fa08e8de426f1009c614e8891eafc1391 EBUILD pydantic-2.9.0_beta2.ebuild 1552 BLAKE2B ab62a9e4029a748c3bcc559c944321e2764341118d92411f3b44db848d4d7b49220dfd4a56e78a18731fb7c6e004712f544f623650d9877d5a4579786edb4bb0 SHA512 f74781b0b875270174b0c8f92a3a8d675d83b21b6e5cc9166252c834a3fb8e8802c99bf2f1a7e3d29c3453dfe28f7e5fc028fe6bc9b49f9eabc7b01db8fbefc9 MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855 diff --git a/dev-python/pydantic/pydantic-2.9.0.ebuild b/dev-python/pydantic/pydantic-2.9.0.ebuild new file mode 100644 index 000000000000..71f250503608 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.9.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.23.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/cloudpickle[${PYTHON_USEDEP}] + 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/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + 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 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index e3eb042a221e..678a2613696e 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1,5 +1,7 @@ DIST pytools-2024.1.13.tar.gz 82559 BLAKE2B c9b2d43a9538eb4a0daaf623345961e839cd227de22dc141923129418315947dc813b67d78c39d84062ef712842dfad63ef7d519d672960f25594e7f8bd5b0e5 SHA512 dc5d8e9ef291afc9cfab39450ecd886c3ca5776cb9f29b675ae7459a5ef2bdf29cc9978fe3991ef86b11516902d04c7de861947ea9f2d261735d52db2bfefc5c +DIST pytools-2024.1.14.tar.gz 83715 BLAKE2B 7670a6876f908097b07322fcce1acbebce9d4cbb9a955425544fe9f456895606629b84df894eb156eced9990f2f033301b48ebd511ee7dcbc06d1558dba4847a SHA512 07a4b2066553e0f2db5227e7f55db749e38c77afd566dcb45c65665a444451e8209ef028b7fdd3f855447bbac712e290211f3908b72335099057ff11371efe4a DIST pytools-2024.1.6.tar.gz 81344 BLAKE2B ff68e2606170bf54e3f609ee7f4cfe58e063f43dcfb2706d5ed7659ea2fde863e6315d0d81dff2e62a3378f195413561a927b0c1e7bedc06388cf4893c07b873 SHA512 a9e934f1cbaf0ace32420f9b74224a06ce8421ee291b837292133969c6788c4cc8bea01446cd4d1505aca9fa81e8ae0d3eacf60d3285186e66d67d5abe10ce3e EBUILD pytools-2024.1.13.ebuild 820 BLAKE2B 594af8d0b538aa6d003947a7b527547c5bb8f21d3cbb1a2f2d8181932baf01550ed07c80472bf99c5c6a9e16769fead687aec885092c0d1c8826fda2303d9efd SHA512 b3beaeec7852291c0233ad7e3e50104f87238917d7d441acfc2f596f069055a39ddd59b45eb12288c5695f1f5458b4783e82778ba66fcdf235c200a4aa3c9c2d +EBUILD pytools-2024.1.14.ebuild 822 BLAKE2B 8abfc2a77652d27d6cd81a709d85b7e1fed7e790f1a11b2928311fc761dc17b9f332909d3476302af290d5306030481e0f5eea547ddf6527c3f4642af4eae6a4 SHA512 08b4f732ad6d33c601b325851fcf0d67e657a023b1bffb2d56fd0fa588a56c70a31e2749d302b153d787bb213b8c538c2fbd6e55bec34810733484507f44427b EBUILD pytools-2024.1.6.ebuild 831 BLAKE2B b0402da628468a2977e2975b84cd0ce0060604d2de7864bd21d45d88270e7819decb9ee8d78078deb352107780da13461e36e0909ac68686c526d32a9e311243 SHA512 1fa17b25019dc6487332bf36042629b08b4214b4fb68e4f54e5b032f11cdc0eab6737ae731d86f5c4188b18a1d5dfb39ce056ff1b0c77aa612429d91e36ca528 MISC metadata.xml 390 BLAKE2B 3cd3f1c6df2c112e3828b55f4a4282495c24fb5f1869ee1c105710e517de738a767e30388c808432ce7e41ad5d14be4d56fb6ee7bcd62f9990262b145413ab20 SHA512 c28d8640d0b0c7d77ba18367ae5379b11747a67ace55a6f5910c2f5a4dd5d5816bb1a256a27e78fdad909de2947e5db84c16283604e216b393b5cde5c39e6b24 diff --git a/dev-python/pytools/pytools-2024.1.14.ebuild b/dev-python/pytools/pytools-2024.1.14.ebuild new file mode 100644 index 000000000000..05030eb43d28 --- /dev/null +++ b/dev-python/pytools/pytools-2024.1.14.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of tools missing from the Python standard library" +HOMEPAGE=" + https://mathema.tician.de/software/pytools/ + https://github.com/inducer/pytools/ + https://pypi.org/project/pytools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +# NB: numpy & siphash24 are an "extra" (optional) deps +RDEPEND=" + >=dev-python/numpy-1.6[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2[${PYTHON_USEDEP}] + >=dev-python/siphash24-1.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] + ' 3.{10..12}) +" + +distutils_enable_tests pytest diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index ad47be50cb88..464cb095cfd4 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,12 +1,8 @@ AUX setuptools-62.4.0-py-compile.patch 3704 BLAKE2B 9a5e70d2556b059be0ef060abd1db71298cd0e9aa1e2795d92cea5cdbaf0c82f4433e1a0c3095f4bc41bc72a457b63142253fe46c712afa1d7855a5d43607bca SHA512 48d7c065e2d8c29ce6e498effe6d79f9caa0f37d7cf6cadd0ed02c48d196a4d8a10a73cfa26744d6f74b48c63cd28a4074b161a6aae18c6169f6d8fffb044b1e DIST setuptools-72.2.0.tar.gz 2419230 BLAKE2B f04c196d13f62302e7c6f30a1021598fe22955cc8c980ddf22efa65f4d398c25273552b1a19b8719e2fee722dc44e9f1a2e339c5b6da8f4ca4ae8399cd27b2e1 SHA512 029c711be2953cc7fd88b6a0a00715e05ac04414e085e0b2387d58757c970a3316afb6e13426fa10dcc53785b98c8543ba48d49acf223a6332399a39a4924732 DIST setuptools-73.0.1.tar.gz 2526506 BLAKE2B 766453a7f6f3e34bdc63628b8c0321730c66381cc6048d01fbf9dbf76eb9900cd5cfa6dbd7c55c95ada3e01065d43bf7cd9029793e0735cae989b3cb1b95287c SHA512 5def2d817329524e610c7981fc3a84687ea4d2e0a72799341a706a16ec61df3efc16c4622f8b88746ad4cb52f92f2493c23a99a21cf3607ed48da480dedd200b -DIST setuptools-74.0.0.tar.gz 1389536 BLAKE2B 11a9c4a6e175cc1d48b4bfed4f57f38e0e2f1e9c1de08706afc8199860c61325c85eb1f0772f30a47d7dec1923ea866eeeeb3cf51e74d7396bd291769cae42cf SHA512 c8116bb2cd6b39c74a03bf267eb44289ab54a8b6acb91882e0159f9bd57f369d686e44dda8bb6b2466baa50abad684f939df914bfb5c2564cc9596bc602c7388 -DIST setuptools-74.1.0.tar.gz 1357694 BLAKE2B 3f92282df36df2ef16c10a0f10ff4a5100a4ec7a38798ba0fa4eb918f63d6994a6d646a31c49f53bc55991c03eec5d508613f8c91c3891c1efaf970134257fe4 SHA512 166f1bf28134c1b4a6e49e84d9544db57f2861dee417d4bcc6b9c9afdb1e8f975e4a8932921b3baca03cf70f16defdd5df5a7bb4c4c49a67b51453f0e6710c2d -DIST setuptools-74.1.1.tar.gz 1357738 BLAKE2B 6718001c5a267a1e6d1dcf5b1409fb6867888ce7797109f36e18fcc1809034daf2322860b0a96c3edf8bb82803e08e5372eba5aa811de939964c08f21c21ab20 SHA512 6d793dc56944449896735264d6d8fb5464d829e7201fd7dd4aa04e196ce1f6a4b582f7eb3354966535901a451c40ba978dab529f5e4adf6cac045288383b344f +DIST setuptools-74.1.2.tar.gz 1356467 BLAKE2B bc625e323f94ba9166f2c9747610d71c0ef7ad2a07f6b3e0cedabcbac67bba6d05679a7bce3c3e761807727c10e111801d486c01f3cdb7e22ca4324370c2cfb9 SHA512 581cc51bf70fe378ca8dcdb2cbed6056de4c335c7e997ed126cc707a84c52571dfa0379f34e2f8bebf50ab27f4c20c718dd854f1378e3c6d4cf75a094e57a77c EBUILD setuptools-72.2.0.ebuild 4420 BLAKE2B 6e85d262b4fb84a6191680cb7e73dc1deb21ed2386c1100715888328a9bfd20268247211a244ff3a80b9a679319692773e093638b2981abd53bc844d7fa84ee5 SHA512 48e4bacfd344c126ccfc39ddeea7ff1c8d942eac669e98cbe97410538441a7d7df2ac9265fce3cc61ceb354802e7bd30e9d6f72c4cf2a15a3f3715832df0671b EBUILD setuptools-73.0.1.ebuild 4372 BLAKE2B d1adf6c88761065855de60e4e3e2636b02372b96813650b1e5f60541faf179ab9a67a9fb145e79b65be8ae2579c73e979df63e2f97cfc70c243a755fbd649169 SHA512 2e7974293b764156a0fbd0254203ad39b9736b8b0ee077c154337fbcae2345d9034bff62707087aba8e2ed58eb143020539f560131905a1c0feb1fa7c37e1b7a -EBUILD setuptools-74.0.0.ebuild 4454 BLAKE2B aa82ac6ee45f26cfc486a86000f0690703883b8ad5080997f3a48a9073a7ce5a2860291306bc35def00b5c738f798fb3649243f050cde9a65abf9a65f453b6df SHA512 019405dfd516dfcd66f3af10ffc09ab9f27e87aeb5be8a117e72605287b6ba336c505d8c4d8da07f5d3c4b8293278065061462dab2d5a4e6194dcd3217490f22 -EBUILD setuptools-74.1.0.ebuild 4338 BLAKE2B ccab22f6b768662a25f9f11d53e6e745843ea5321def1451f2301ebd4efc358cd3704eef37acb45489aa5a28e0ddd9471002cb7db331e7932bdf3f8fb4e440d1 SHA512 e0952eead06177a9a29e920caca43e7372cca1239ca17b5613bd73567a222fd733fbb2578c2b765152ac7ef88b0b2b178a180e7923b4ad59856f789759503981 -EBUILD setuptools-74.1.1.ebuild 4338 BLAKE2B ccab22f6b768662a25f9f11d53e6e745843ea5321def1451f2301ebd4efc358cd3704eef37acb45489aa5a28e0ddd9471002cb7db331e7932bdf3f8fb4e440d1 SHA512 e0952eead06177a9a29e920caca43e7372cca1239ca17b5613bd73567a222fd733fbb2578c2b765152ac7ef88b0b2b178a180e7923b4ad59856f789759503981 +EBUILD setuptools-74.1.2.ebuild 4474 BLAKE2B 2b0c9e11b9e8a1968a0988c9f4b461ca66d1ff9ad978bd877873a6490bed75e61715881949c34349c867a6c7c3814b42935b7659820dc2274ba926475d5d5397 SHA512 499dc7021a4ffc3a8020fa0f287f76418f8646695748ac6e6f10d6d9f82ba92d67f62fc35bb532599af4d10de20b557724210e604d0654ae7eb1fa2c0802cb63 MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/setuptools-74.0.0.ebuild b/dev-python/setuptools/setuptools-74.0.0.ebuild deleted file mode 100644 index 9cb620d24ab3..000000000000 --- a/dev-python/setuptools/setuptools-74.0.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-24[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - >=dev-python/build-1.0.3[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/jaraco-test[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] - dev-python/pytest-subprocess[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -# setuptools-scm is here because installing plugins apparently breaks stuff at -# runtime, so let's pull it early. See bug #663324. -# -# trove-classifiers are optionally used in validation, if they are -# installed. Since we really oughtn't block them, let's always enforce -# the newest version for the time being to avoid errors. -# https://github.com/pypa/setuptools/issues/4459 -PDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}/setuptools-62.4.0-py-compile.patch" - ) - - distutils-r1_src_prepare - - # breaks tests - sed -i -e '/--import-mode/d' pytest.ini || die - - # remove bundled dependencies - rm -r */_vendor setuptools/_distutils/_vendor || die - - find -name '*.py' -exec sed \ - -e 's:from [.]_vendor[.]:from :' \ - -i {} + || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - # broken by unbundling - setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata - # fails on normalized metadata, perhaps different dep version? - setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config - # TODO - setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist - ) - - local EPYTEST_XDIST=1 - local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} - epytest -o tmp_path_retention_policy=all \ - -m "not uses_network" setuptools -} diff --git a/dev-python/setuptools/setuptools-74.1.0.ebuild b/dev-python/setuptools/setuptools-74.1.0.ebuild deleted file mode 100644 index e1b22ccd2771..000000000000 --- a/dev-python/setuptools/setuptools-74.1.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-24[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - >=dev-python/build-1.0.3[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/jaraco-test[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] - dev-python/pytest-subprocess[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -# setuptools-scm is here because installing plugins apparently breaks stuff at -# runtime, so let's pull it early. See bug #663324. -# -# trove-classifiers are optionally used in validation, if they are -# installed. Since we really oughtn't block them, let's always enforce -# the newest version for the time being to avoid errors. -# https://github.com/pypa/setuptools/issues/4459 -PDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}/setuptools-62.4.0-py-compile.patch" - ) - - distutils-r1_src_prepare - - # breaks tests - sed -i -e '/--import-mode/d' pytest.ini || die - - # remove bundled dependencies - rm -r */_vendor || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - # broken by unbundling - setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata - # fails on normalized metadata, perhaps different dep version? - setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config - # TODO - setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist - ) - - local EPYTEST_XDIST=1 - local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} - epytest -o tmp_path_retention_policy=all \ - -m "not uses_network" setuptools -} diff --git a/dev-python/setuptools/setuptools-74.1.1.ebuild b/dev-python/setuptools/setuptools-74.1.1.ebuild deleted file mode 100644 index e1b22ccd2771..000000000000 --- a/dev-python/setuptools/setuptools-74.1.1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-24[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - >=dev-python/build-1.0.3[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/jaraco-test[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] - dev-python/pytest-subprocess[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -# setuptools-scm is here because installing plugins apparently breaks stuff at -# runtime, so let's pull it early. See bug #663324. -# -# trove-classifiers are optionally used in validation, if they are -# installed. Since we really oughtn't block them, let's always enforce -# the newest version for the time being to avoid errors. -# https://github.com/pypa/setuptools/issues/4459 -PDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}/setuptools-62.4.0-py-compile.patch" - ) - - distutils-r1_src_prepare - - # breaks tests - sed -i -e '/--import-mode/d' pytest.ini || die - - # remove bundled dependencies - rm -r */_vendor || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - # broken by unbundling - setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata - # fails on normalized metadata, perhaps different dep version? - setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config - # TODO - setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist - ) - - local EPYTEST_XDIST=1 - local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} - epytest -o tmp_path_retention_policy=all \ - -m "not uses_network" setuptools -} diff --git a/dev-python/setuptools/setuptools-74.1.2.ebuild b/dev-python/setuptools/setuptools-74.1.2.ebuild new file mode 100644 index 000000000000..21479a9f0955 --- /dev/null +++ b/dev-python/setuptools/setuptools-74.1.2.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) + !!<=dev-libs/gobject-introspection-1.76.1-r0 + !!=dev-libs/gobject-introspection-1.78.1-r0 + !!=dev-libs/gobject-introspection-1.80.1-r1 +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/jaraco-test[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 409f24f31adc..8a4678c28a47 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,8 +1,10 @@ DIST SQLAlchemy-1.4.53.tar.gz 8468030 BLAKE2B fd03cd7a1a8f26b22d33cee038e6e15c59ba24e32a4465e3e3cda74583a333e627b732f5532aaa2c0fc3356a96dab8efbc4f6a51275315f78451d63a4ec20bbf SHA512 2a33b2c0348efbf312994394da3dac0f86be60e9e0929ce96117a02f49d9e06388ec5b016c1bf229f89d5ee561cbdcf8526b9c33428b7041923cd5d73d87a88c DIST SQLAlchemy-2.0.32.tar.gz 9546691 BLAKE2B b6b28fa513e9dc6066db210cee8cbc94dd7c5dfd4f391d4a0ac6987241213afa547458b99df6373b2d1771e264fcedd1186fbd5a483382a7d09185f0f2fa9052 SHA512 12ac1804ba2ad9218d5307f4da87bf7c78b75525bd4b32770e77326eff6fc2ea679e595a1d367f8def3ab7e02ca954622ff16490c277ba6b8edca21efda7da62 +DIST sqlalchemy-1.4.54.tar.gz 8470350 BLAKE2B 0d97beb4edde38455c03dfc1238655d1cb63aa6e042b941913ec68dca3654de07087ab967f208fda495f048a5068ced70d642c4b8b80ab32e5346fcefa3bf9bc SHA512 e7ea4920d81914d362134a3c6fd4a2dd4fdb75f6ce17358528d568e2b2ac0ee711a71f6beb894e61d6d1e4e5833034ebde651d73a13f873c682f780e1831b427 DIST sqlalchemy-2.0.33.tar.gz 9555649 BLAKE2B cc76c9cd61805089bc32d49c183a4b8d2be1f8def08fdbf7c516174c3bae7baf8fa6c99e5e059e93f6c1b76244b3e319e3aa2e65f38a8ebb2378d21e02cd6f27 SHA512 d6b830897216cab8df4f337e21634b7df9aa722294ee9945a28a549d8c423716146b2f7b9bb23c276f413c3b8c388c3502fa6301fe4d1cedc5266a687e571a47 DIST sqlalchemy-2.0.34.tar.gz 9556527 BLAKE2B cefe606a05f99cc1f4522022969c503b46192092602ce26474f09bf3710d98618876aa34ffbb6da4e1bf4c3d11e9bb6ca58eac7a04ecae7f26c58427e482f503 SHA512 fd585ed9a78a86deaab1f84b5ff29f37120c08f3c8c93566786b73d74ce67f1f71097e43d42b0999be1aca493ae1c55d5a0c2d49386b65dcca566c036401232b EBUILD sqlalchemy-1.4.53.ebuild 3437 BLAKE2B 47754cd23746113310cc0042cce769cd923205a62874521b53f9cc7bdbe0dcc3e2a384c2ca7c1c060b657e28872be4d7500d74946efae43006cfcd0949b0f57e SHA512 83519c2618215d5d35560277a30927693209f532816fa4912f8dd73b7881f98b81c4cc18ecf6d8d9e6a979b4b9610f6d4784167800ed758b112a4a9d95946b9a +EBUILD sqlalchemy-1.4.54.ebuild 3360 BLAKE2B cf90fcbf6010a5f652483ac2a4600774b25ae24d7e28f4479c20d38ddfb25c3b777d5b3e1331e49bb53f610e9639ddc244990588b2dc187036f0a7a6f84862c0 SHA512 2648fd6c869974277dadcd305ece828caf296774754796bade0a56311732a94cb9853908828ee1390314ca85983f3637e75ac97bfad00cdd62bb0e09a3a98ba6 EBUILD sqlalchemy-2.0.32.ebuild 4103 BLAKE2B 4245146921d68f774ead6ffff0792805d9d68c2f3569468656fa081fef6c242b44089a1864b11ffcc3b9e8490222d2bdf6570d4123c0dd336845be736c700614 SHA512 72ae29f5bd28952f6382079066f01139f48956460e75cb8090b27d8e1f8b00ae63ce6f59b5506dafc9dc04f662924ff0db707f74db885b412619af0ea8b681e4 EBUILD sqlalchemy-2.0.33.ebuild 3888 BLAKE2B 7951c115547d526015ffb9c647d5846bcad1b230458b0d677e346dccb5fd9a1a01235662bf8451ae4a53f4298f96e10b2ee2906b25918c4a5038b5555939cd28 SHA512 d0329e1e8793a24ea5fb8e6f3e695173bc55a1763563547572894dc4b6ff29e9ef3556c36064f69e6646f3098e58a71308ce8d9e3e9480519286115318f6fa34 EBUILD sqlalchemy-2.0.34.ebuild 3888 BLAKE2B 7951c115547d526015ffb9c647d5846bcad1b230458b0d677e346dccb5fd9a1a01235662bf8451ae4a53f4298f96e10b2ee2906b25918c4a5038b5555939cd28 SHA512 d0329e1e8793a24ea5fb8e6f3e695173bc55a1763563547572894dc4b6ff29e9ef3556c36064f69e6646f3098e58a71308ce8d9e3e9480519286115318f6fa34 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild new file mode 100644 index 000000000000..fe97a2309bc3 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=SQLAlchemy +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + + # TODO + 'test/orm/test_cache_key.py::EmbeddedSubqTest::test_cache_key_gen[memory-_exclusions1]' + + # deprecations + test/engine/test_parseconnect.py::TestRegNewDBAPI::test_wrapper_hooks + test/engine/test_parseconnect.py::URLTest::test_component_set + test/engine/test_parseconnect.py::URLTest::test_password_custom_obj + test/engine/test_parseconnect.py::URLTest::test_update_query_dict + test/engine/test_parseconnect.py::URLTest::test_update_query_string + ) + local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + # https://github.com/sqlalchemy/sqlalchemy/issues/8762 + test/orm/test_query.py::YieldTest_sqlite+pysqlite_${sqlite_version//./_}::test_yield_per_close_on_interrupted_iteration_legacy + ) + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + # note that we can't use xdist because it causes nodes to randomly + # crash on init + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 8e05cb08b39a..b67cbdd3ba91 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,5 +1,7 @@ +DIST stripe-10.10.0.tar.gz 1313050 BLAKE2B 6a37c70d8faab0a23a52505edf722cbdb8b40f89fc2bfd9d73ce94c3c40877ca6080ac4f8973d9ac01fd7a1d67f8e62366b3dd498673fadbd29e8dbd3a0c1d8d SHA512 1049a27f07c0fb870735786cf8e971cf91095f3799e094cf81e3529839f1710f10133ccd20d2cfe249c460ee7753cb255e876e864e56ac1bea7f280771df197c DIST stripe-10.8.0.tar.gz 1312236 BLAKE2B 72c8c111f86388a0e19ed5c5688ac8c8e5437251b1972aa4316dadccbecad03ad7db625c73110d6c617553eae15e1a5a7c571ff209ffa1ca4fa40f091c171361 SHA512 520df4a0866defc2efdaf4ad0aa5351df04669e9283298ff862a78f4d5894e5422eba48b4bb0654e1a1a41973dcd245bc4e37c3166210135c5864470fc0f7db8 DIST stripe-10.9.0.tar.gz 1312738 BLAKE2B 6be3b40695842c164620a8abab4a8753c44cb68dcd39b7e8f62e5a359ae5ffa0faa6a8890a1b0965dd1b1f32c95fa857abe44003c94043d2e76c59a9d52fc152 SHA512 39946c7efcf7597347835495f80810987f6812be337b2f9d84bebe029b2f6d326c9a73ef0c06f3c86786f59a1fb7d227e6a0cb800b8101216df6d0fb05709ea8 +EBUILD stripe-10.10.0.ebuild 2482 BLAKE2B d41cf1130ba524c02435e623798554a866081bd5b1932ad5bac674b789ae68df6cb444b3a968ab13cefd73da7205c69860939f4cebdc28ad62680cea45dd53a9 SHA512 ece77ea1c315f239297549734c61b1e9645ba881bc2eb487ebf50cfe213f847e3fbc5551a148e8ad2d43db5ddb66e1d05d49732192204ee94881b1cca7d2b7e7 EBUILD stripe-10.8.0.ebuild 2479 BLAKE2B 8ab9df0009ae15ca658d143fb49e9d9f8507549074fae6f947a00be821a16d859f48c4faef9e5803ebbe64e442bda7bcad76e81999c8d599f6f0944230e18365 SHA512 aa50f6adfca871d93e842005baedbcd538e1a7879d4e794d0a7a71f169095c49410e99b68a29f306ea70854f5e31fdedc9df1f10d78e5d4b1f7a641180ae0f6e EBUILD stripe-10.9.0.ebuild 2482 BLAKE2B d41cf1130ba524c02435e623798554a866081bd5b1932ad5bac674b789ae68df6cb444b3a968ab13cefd73da7205c69860939f4cebdc28ad62680cea45dd53a9 SHA512 ece77ea1c315f239297549734c61b1e9645ba881bc2eb487ebf50cfe213f847e3fbc5551a148e8ad2d43db5ddb66e1d05d49732192204ee94881b1cca7d2b7e7 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-10.10.0.ebuild b/dev-python/stripe/stripe-10.10.0.ebuild new file mode 100644 index 000000000000..dce53ce91aee --- /dev/null +++ b/dev-python/stripe/stripe-10.10.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.188.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + distutils-r1_src_prepare + + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # exception message mismatch with aiohttp-3.10.0 + "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]" + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index f7c80803b9cb..0090eeccc5c5 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -7,7 +7,9 @@ DIST uv-0.4.2-crates.tar.xz 46277420 BLAKE2B 9f516f586a5e46bbd6c09e116f91e90b563 DIST uv-0.4.3.gh.tar.gz 2514550 BLAKE2B eae7a625869fe0821abb6c194cb72dc7a3ca2c11d40e731929b886e4b781ab0f7a1099986271c402d64f2eee4582ec57c9443eaecdf18f2d55b2640c8bd9bde9 SHA512 ccb8b125bd32c268cbbeb431fb538d63d700a910392afed8c38470175359dc4153367ba71a5326538e9c7188ddc8b649f23e67f1d2da59ddb17b61c71f33b40f DIST uv-0.4.4.gh.tar.gz 2529092 BLAKE2B 89c9aee07f55f2ac7366f66b9355ecbc20d76500b4a8e85a154c9613178bb000c513d3b310750f3d5aba835020797d93deade9e51eb5f742edd750836807a071 SHA512 2b8581b27377256f5ddf6681b7f66acf87454d476330627b76704d76860afbeffcf89e7bdb1a56f60789c0246fdb81d459991f52baa451bbadff5f79df3dad5a DIST uv-0.4.5.gh.tar.gz 2547342 BLAKE2B a87140ca17b9767b864a8ac2cca4e3dad1f1e0ed7ae93d49c650249a63b5e51f6f36c40f7aa75a710951d98f9e2ba9f7ebf7ae1cd3b7f2525a22e664ac75b613 SHA512 9db24ccde03a7ea665febbd2c707de4efaad560a1fdb3823aae5f4c212df37f3c1f646c7e7ae4cba0e5cc0104995b44f5a4cd130c5beaddd921e71abfc6cbd5c +DIST uv-0.4.6.gh.tar.gz 2553065 BLAKE2B f793c01042db0a45b53a57157852ed5035a96bfc58c2cf81eb3d6a59b9eb6315dbd675817e1bca0a34f9d348d10c0668f9213fd11f230f606386405ee4d51c31 SHA512 79b50783596c6307934c378f7f7b60628de3edd8fe75f6675efd406e7e4cb7cd049a3966eefcb2708f8ab925ee5b5e315f6540f2c25693ffe1ee29f2d501523c EBUILD uv-0.4.3.ebuild 2903 BLAKE2B 5ae8168fc28b260c15c095036baac453df47717a7852b2f1f3c784bd83821fdb6ca3e4b4e43a4d107f0fbf8f0d897fdc3acd38d8d5701ebdf36a220512f721d7 SHA512 7db67cc2e51569aa77ed8e7ae122cfc65496743dc04080060283df351eddad0bee832416d270425d6c04aa3882a8c5c0d529b0ff979ceb44a56a929f8a762da5 EBUILD uv-0.4.4.ebuild 2903 BLAKE2B 5ae8168fc28b260c15c095036baac453df47717a7852b2f1f3c784bd83821fdb6ca3e4b4e43a4d107f0fbf8f0d897fdc3acd38d8d5701ebdf36a220512f721d7 SHA512 7db67cc2e51569aa77ed8e7ae122cfc65496743dc04080060283df351eddad0bee832416d270425d6c04aa3882a8c5c0d529b0ff979ceb44a56a929f8a762da5 EBUILD uv-0.4.5.ebuild 2938 BLAKE2B 4c418853746d9d098e3558c8dca06ac539e32c937b7c6a754994bfaa4014b87f3478cd7b7934c05529d642b856a8e270214fe950d81b75b479352db620669160 SHA512 373267d4f0ea6d399ceb921358004c153c791bf4d205ff699b6004a7e1666da99235c5c67b088e0571086863deefcf34e95a3a71c36dc4f879a94f51b8868ca9 +EBUILD uv-0.4.6.ebuild 2938 BLAKE2B 4c418853746d9d098e3558c8dca06ac539e32c937b7c6a754994bfaa4014b87f3478cd7b7934c05529d642b856a8e270214fe950d81b75b479352db620669160 SHA512 373267d4f0ea6d399ceb921358004c153c791bf4d205ff699b6004a7e1666da99235c5c67b088e0571086863deefcf34e95a3a71c36dc4f879a94f51b8868ca9 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.4.6.ebuild b/dev-python/uv/uv-0.4.6.ebuild new file mode 100644 index 000000000000..3990f1fa30dc --- /dev/null +++ b/dev-python/uv/uv-0.4.6.ebuild @@ -0,0 +1,114 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;388685a8711092971930986644cfed152d1a1f6c;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' +) + +inherit cargo check-reqs + +CRATE_PV=0.4.2 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +BDEPEND=" + >=virtual/rust-1.80 + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${ECARGO_VENDOR}/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index b883841f411c..8a7eb83405c1 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,10 +1,12 @@ DIST yarl-1.9.10.tar.gz 155594 BLAKE2B b86fce589c0da63d94939a788fbc98f39efb233d4777c7753f23cf42c0c2df8a121a4171606a3b617e7e2539f7e151a1a717dae07d94c44d08b1fc466c0bfda1 SHA512 554fcbf6b39fefc2e2e5b309d989de071cebc285446df3cba3703100974d6832be894ff5ccce52e85a643b69282227d34787dbb21cee88039cf9f1021e967d12 +DIST yarl-1.9.11.tar.gz 156445 BLAKE2B a5af473f7e66b1a4e9f97a4ff4e323764a05289e899926c803af16df985d47bdce7aa87d0099015c3a6033eb5cb942feab9879ea135076fdecdfc3d0afa98b94 SHA512 226a357f202693bece39136d595a444221fdde2727bc9d5fe392ccd80e86c6a35cee7d0882c66649b288efae5b3ae4ba1bcabb9844b8f47654c9ccbacc8337c0 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 DIST yarl-1.9.5.tar.gz 151787 BLAKE2B ba23624f622894c316452ac888323f21d6c8c582c768b6c41fd44cfd3e5c245eb167bcdfa9f75e9d67236f0f4cc8113750c8e4e8e595e8ed15bef545af5b996a SHA512 82aeea18f811d6546d89b19140255bd022a4e4ce349dc5f3cabaf26795553ffefbe62f67fec337d0177562b4d937d98e2944e8e42b584e96b0e90593fee215f9 DIST yarl-1.9.6.tar.gz 151377 BLAKE2B bc4b348a458858b57a4ccbe1a05ce25006a79d1cd728d9e6a858c8ea0aaddc80c4f5bf783a5019669fdc881a5ebc247c097da067ddc6715b4c1d85c362ceb1c3 SHA512 edeed5ac73077f35e0c93135e0e8d23a4be2f155c43537275418c6d0354c379026fbfa7972b91669beb1856e1d1e65c9bffa56c6d9ee3fb9c4d246e0af3d3b2c DIST yarl-1.9.7.tar.gz 153261 BLAKE2B 745145258d9a3ceb7d41f46b07c56418c2f294537544c310eea49752e7f9d83cd9cdb44c74fa4b2aa8e95ed72f12113ce634af745116100d9599c06b5fa873d4 SHA512 ffb07f1170a483e9018f0b497a44c7e086e41e76067a0ff9ad9941d422656fdb8ad0be04702d221767798233cf5f2c0e849226c8e82f1a64ff6e84eeb1ed6c5e DIST yarl-1.9.8.tar.gz 153867 BLAKE2B 587aa5532709dd118235ae6627ad1d332e482567306c04e74e2b7d9e5a033446c566b6f6151dc15a7e14daae18bb6c25aaad8d06b20a147d91bbf448ba271dea SHA512 29be77dfe0bbf269efe73a16d6282cff579bd38ab3796b1f3d817b070c90bcafafecb29cdc6bae4bae034e672b7479d9901717478f4d1aa6df895f12fee1c253 EBUILD yarl-1.9.10.ebuild 803 BLAKE2B d023ee91fbb271c06df19f7e3a9e6c0f6fb5abc21e985546c7dc4a497f1faaa6e489036fd7880a0fe7a1c2b18721d401accd1c3c15eb5f2a6105b431cedbaf89 SHA512 f6db3a9b38352ed41057a43a73a10407763a1a7ae5afe6d9ac0dfe347aae630e54cb0f1842e67cf475d7527d9fbf78919d574bfca2c0b9d1572356a26f2e7dc4 +EBUILD yarl-1.9.11.ebuild 803 BLAKE2B d023ee91fbb271c06df19f7e3a9e6c0f6fb5abc21e985546c7dc4a497f1faaa6e489036fd7880a0fe7a1c2b18721d401accd1c3c15eb5f2a6105b431cedbaf89 SHA512 f6db3a9b38352ed41057a43a73a10407763a1a7ae5afe6d9ac0dfe347aae630e54cb0f1842e67cf475d7527d9fbf78919d574bfca2c0b9d1572356a26f2e7dc4 EBUILD yarl-1.9.4.ebuild 795 BLAKE2B 80021eb0faa63a42b310e19b19637b5be80bac5739d5340e337cc76c0560012438f172d65b4f2c7f2f0987cefe27e97f36e4f5f59ecd230c19b9b83e566dc2c9 SHA512 6caed8c2478998107d9e327e9fb80180dd08a83e007a266431519d8e3879fc876186743702d40344a9d99099773280d9c9f32808f7518ac3278f965f260b7267 EBUILD yarl-1.9.5.ebuild 803 BLAKE2B d023ee91fbb271c06df19f7e3a9e6c0f6fb5abc21e985546c7dc4a497f1faaa6e489036fd7880a0fe7a1c2b18721d401accd1c3c15eb5f2a6105b431cedbaf89 SHA512 f6db3a9b38352ed41057a43a73a10407763a1a7ae5afe6d9ac0dfe347aae630e54cb0f1842e67cf475d7527d9fbf78919d574bfca2c0b9d1572356a26f2e7dc4 EBUILD yarl-1.9.6.ebuild 803 BLAKE2B d023ee91fbb271c06df19f7e3a9e6c0f6fb5abc21e985546c7dc4a497f1faaa6e489036fd7880a0fe7a1c2b18721d401accd1c3c15eb5f2a6105b431cedbaf89 SHA512 f6db3a9b38352ed41057a43a73a10407763a1a7ae5afe6d9ac0dfe347aae630e54cb0f1842e67cf475d7527d9fbf78919d574bfca2c0b9d1572356a26f2e7dc4 diff --git a/dev-python/yarl/yarl-1.9.11.ebuild b/dev-python/yarl/yarl-1.9.11.ebuild new file mode 100644 index 000000000000..4f3c2c57410d --- /dev/null +++ b/dev-python/yarl/yarl-1.9.11.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest --override-ini=addopts= +} -- cgit v1.2.3