diff options
Diffstat (limited to 'dev-python')
66 files changed, 1676 insertions, 263 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 903c500f9d6d..61e8adeb826e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ad8742304176..11b4915dd0d7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,8 +2,10 @@ DIST boto3-1.34.149.gh.tar.gz 845064 BLAKE2B 25e77483b8ac8a52e7f5586794839dcab69 DIST boto3-1.34.153.gh.tar.gz 847038 BLAKE2B f29aec887fd57d2bc4b6be125787384438e0dba65dd01effcc91016b9301be2fdde315a2fbdc8f122350ae52f904ba1c281aee9a5dc52994ddd11b45ead3f8a3 SHA512 a8d8f75ef48ad8418aafddbdea4fb021f64b041e7beabf68a0c2f6c461c3aa0b3f2f20c33122ac87d57296fd0d14ee8834b96257085c522b556f6aa1d99ea0d1 DIST boto3-1.34.158.gh.tar.gz 848930 BLAKE2B 5db04b9eee08f5418a595e736f075fbe22b92adada9219e8a8cf2299c723d09e2edf88e5ebb3d09c1613a01e5d0d5c837e9545c6ee3110c430c521da10fa2bde SHA512 03f532e78a1a2b8ec01396f0b7f7bae7059165e35440eda47f4393e99d2a8ded229470cf3269a71c746b8a66dccd8626444f1e429e561df1dc1ec0f6b8653272 DIST boto3-1.34.159.gh.tar.gz 849599 BLAKE2B e21979dd33413d63dfb905cdde8351a89fb3a431ee0873ffc3cbb8e9681c207842c5d2c288622736c0ac7516ef0d607d6ee5caea9877c1b7f177c0cae7125f9c SHA512 6fe6528240b0f1ed78e1b4ccba104c238075d8daff3b2224f03912a48f9278d1d92d8caf13951128e25e19d49e895492e463dc8aaa3d903982ebbacbbf727b21 +DIST boto3-1.34.160.gh.tar.gz 850214 BLAKE2B 74e8bfecc23086301750ec55e265c57d9085ca292ed9155948e46deb2531860b01336ab341371421333b041f6ba4f4a9114926969d39620b2ba508541ee0fc90 SHA512 ad443616bb4a04fc9e3cceee462d4f06c17c5096853b69e4ccaf1c319bb48fd0bd0131cb3de496b7d05f194818e36c8a165578c5afc3304a7d628936ddc478c9 EBUILD boto3-1.34.149.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.34.153.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.158.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.159.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.34.160.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.160.ebuild b/dev-python/boto3/boto3-1.34.160.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.160.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 27b588fbcc38..bde0e93c806b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,8 +2,10 @@ DIST botocore-1.34.149.gh.tar.gz 13245965 BLAKE2B 6bc05c1d93eaa62fa9acb3c0e42acd DIST botocore-1.34.153.gh.tar.gz 13269606 BLAKE2B 1b2ec1af3b699c18c5761fe72b8488361f843e1b2abc5f311736e7c93a52574738a8e72708791657d0d86586d64ee3c85804514779c6dc75c6c2e37035517be1 SHA512 9a7b3359f4304bcb4d3605e2516514360e8898d7b8b1fdee8fab5dc6026a7d8197b09199da4e9aefcf1ab0b094a2e0e336ad13942ce0364f7b5ac87d86fdc4fd DIST botocore-1.34.158.gh.tar.gz 13282704 BLAKE2B c244a36093cdaf57ac82dc11a3e9d4268d7cce36b8119674530228825f6ec4053abbc909dd664a1ea10ec48e0c418b90803275aabc89a41a99eaba6e138a5a17 SHA512 b60c743bfd1a1f3806c6ae71158a998587b8e87f43bdbe88c960cee19bcef41a4b3fd2fe5f50408abc97b22200a689990f79cbb6e952347c747e4bc8c21ae368 DIST botocore-1.34.159.gh.tar.gz 13286596 BLAKE2B 76548a1a0dacbaeadb4cc95cdbb50f22bc8b61e8b9645caf1d36cde94fed824d0bcc7349626e33792593bcf715e4dd3978f2dc4d4dfeaf8a1bfcb428f99ee8a1 SHA512 1687ab7897dbe68189e812193c9c2134753c0bdd72af109516a2a3bcdda53c16edbb0e76b8f6cd7df0fd29e16de33f78135a3c560444b6d9c5291b3e558c2a03 +DIST botocore-1.34.160.gh.tar.gz 13290395 BLAKE2B 609ade4e363b1c65409457e187c09e8eea633ab7d482bae5be3580093ca404ae82363e9785d07b65dee3504c63e5c4dc6521717a6698c97f7a404f58103c8e8f SHA512 655348a9e7f88ad0abaab3d0b4bb380ca16c705a1035eedecf44e8b546583720f0f6d01136b0d333e5828069c4d45c7f27530ba4b7f8c3ee684bd4cd0e233ce4 EBUILD botocore-1.34.149.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.34.153.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.158.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.159.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.34.160.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.160.ebuild b/dev-python/botocore/botocore-1.34.160.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.160.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/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + 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/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 0173deb1d237..7ba561dd9c3b 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,4 +1,5 @@ DIST cfn_lint-1.10.0.tar.gz 2415724 BLAKE2B cf7193d56bd5a6957e6f76574bb9fa0b678a2629791787d19cd4fe5d192c2cb4e2814154534aa3eb01bd61cff6e608ef113e0daf3d5c187aa12fdfee50e11678 SHA512 3690f7deef98897a2da3f9cfcc5495fdc3b90e0b685a628d67625f4d75114975ee0d9c1117a54578df274d0223cf393fa04dbab79abe266dbdcba43843fd6616 +DIST cfn_lint-1.10.1.tar.gz 2415680 BLAKE2B 17b9216da0af3409b69ecea3222b65e414fd850cb603a9e274e3c90140a0287fe20d42330df1e704779693097676ee1e2ad16929b89d0de61093fd5f3d0a9889 SHA512 13de688bb8b08e592f4be82f62ddd2be76c8f373d7e7e38e42ee38c0e3f579a34b153954e13d7916d72461806847a5e7494af7b786080cdd4266f683728f4f9b DIST cfn_lint-1.8.2.tar.gz 2377269 BLAKE2B 8f4266c6d90f50f614f203a4b34ffc15397c973e8af07510c64e21bd80f1c4dd0f5bf6283268cbc69fbe505d6c945cc058ec0f06b05e868b3149941ab28b3948 SHA512 2605c5880960e3bce2822f2d9b9bd221d4ab7d77a4d9a1bcbdbf6df8f50492877daf704f84157946519a9da96f9d3de5ed5e65629d259726a10e1fb38c963950 DIST cfn_lint-1.9.3.tar.gz 2562556 BLAKE2B c8816021cfb83e2c0d915cc58e7c099bf8ff0640b0562ddf3a7bcfca250e7d4fa03480ff99b5eef4fb103a77aca9a2b3c5266a30b19cddc899f7c0ccb3ca88d6 SHA512 fd75a60b7249bb3f0865d4a37b70d5f64012879b332dfe240f7d7eddc5ae48674e7372b959dd6964f8d0c028c0b75dc78c25caf0ebb3e5186bb6b2b7004e1212 DIST cfn_lint-1.9.4.tar.gz 2563835 BLAKE2B 50694ee3982cda4e6df6aa2e8be2c0ae3182899947897d71764426f7fa14225ce44248af42e3d74e1b0159f216a02bc41f6675ab04dd09210bc66419913a5fdb SHA512 345d3aaa1dc6dfa1049061b4563c0f705510e69058e2184e7220f3dba776522967115a273e5044032a02b96c985a71acd4c1c31f7a71d819309d74dd60242456 @@ -6,6 +7,7 @@ DIST cfn_lint-1.9.5.tar.gz 2457425 BLAKE2B 37a065cc7e0462feae7d4fc0b599bf9e2c96a DIST cfn_lint-1.9.6.tar.gz 2519342 BLAKE2B 17d14674853cae9a8eb0c3dfc05486a42e9f5a6e435fbfdf9e34e6ba8cb59c5b508e395a46c788fbc220a0f3918bc5156eb69be6ac6f3c429f78cff474625eec SHA512 2e9cf33e333d3eb098525fe7c54db0f76c68e08a50a2b02a023798d8f4b33041a6e92790a93a6b13a7a10933911512ef1d49718577af49df049567499862cd4b DIST cfn_lint-1.9.7.tar.gz 2519610 BLAKE2B a454027a85bb55770b91ab4d801ffad807a2b9200e88872e2149485bb17196e050e0eea02db9be6bd705f7b427d825b5510cd0e78ff4d0db2cefa988be138782 SHA512 b6fff3b56f78b85d7335d33fa93e41003311c60f008ce56ae3f373ec32b2105ad40bc68210bd15ee88cc4bcb9f6cd61bfb1367773ff870cc4ec1807aec011100 EBUILD cfn-lint-1.10.0.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.10.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.8.2.ebuild 2173 BLAKE2B e5d36838ac6fdbef143deed68652896c380d7d3a143a0c6f9b5e4efd38283f98a50f8169bbedba9fe826c1c306b56efc0f7f28c1a911cb85305748f996127c1a SHA512 262134549b6fa7a30a83feeed58ea5cfbb45a1f778b116238f5603c2e4e22243b5d63b2ce979c05a8d21990f3887e86dabc28f5ff08edb36cb44f2b866e53c3e EBUILD cfn-lint-1.9.3.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.9.4.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 diff --git a/dev-python/cfn-lint/cfn-lint-1.10.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.10.1.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.10.1.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.89.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + 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/dirty-equals/Manifest b/dev-python/dirty-equals/Manifest index e91636ea094d..f2e19d2b8f1f 100644 --- a/dev-python/dirty-equals/Manifest +++ b/dev-python/dirty-equals/Manifest @@ -1,3 +1,5 @@ DIST dirty-equals-0.7.1.gh.tar.gz 49000 BLAKE2B 06c9a7522f1dda95ff682dc9c28207b29754d11b4afe7eeacd5439a9ae9f34ce0a2f5724703129aa90b5577f36646deafa5428120e823502aae616d57b3d8f0d SHA512 c50a15e4cee77b3db1b07ef9f7d1eb5b3ab6bed6d914ac5c9e2982f8cf9432beaecb5fd7997d46a94f405e0c932ea5a8d72f1c1d4b6dda86161c22cc772ab4d7 +DIST dirty-equals-0.8.0.gh.tar.gz 50468 BLAKE2B 5d5c58807c0ef26db80895a26b5246a0305ab55389f95d7e13586cad2adc4edd17d24905fad5e462c2bafb59cad7453b55400e4576e0f845ec75d617405f67bb SHA512 8fc6ee0eefe700c89acf5b2181e502422835a89e8f0bb771b07133bda48b804f09b18e452919c8eb7d50e579b032732edad3e9ec150cd7bc7a33a4db77d9ab5c EBUILD dirty-equals-0.7.1.ebuild 1110 BLAKE2B 4c15515fc311222e935d4014761fab0fb45695f048fb7532073e3ae6cb79084e73619caa673ea5dd39fe84660a26eb556d6dda56000a9fe6bab248d7423d3f5c SHA512 e53b14519eeed125c4616d35c1565d0d2b865df9397b29d623944658bd72401352f06d8873330229cf916baa04c581ec9cff2717347dbf30d134b0000adaa8f4 +EBUILD dirty-equals-0.8.0.ebuild 1113 BLAKE2B 307bdc9ad80262c8991bc8469110b09dd38729e7398c6e3c7b826d6a045c61188f9b466cf22d1b6c013d6cd9b03d5420a40f64a58a566b75428dcc830cbcadab SHA512 2eee18fdf5702acc8d603075b4652cdad16ba6553f04cca15ad5028f5e1cdfd4a1d2b1dab436e4fa1aec06af03f6936aa8e65f074f047615b0305eb573da3930 MISC metadata.xml 383 BLAKE2B 22601baf690733252965e033c617a835a8f06c17ef13ac4fa89a416252ebf09a0330912baa626f0e60b49c43ec6c31db3b25cd1a27c05a813114f45ec3a77993 SHA512 9f567ed60bab61ce20ad2c33f0e55978ac249e11e5e2c5b0348797a0fbd2ddc6767c298ade258453fa3d96b32a8be43ffad94cfa8ed4fded83c3bdb29f9cd3c3 diff --git a/dev-python/dirty-equals/dirty-equals-0.8.0.ebuild b/dev-python/dirty-equals/dirty-equals-0.8.0.ebuild new file mode 100644 index 000000000000..4ad91cb194b4 --- /dev/null +++ b/dev-python/dirty-equals/dirty-equals-0.8.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Doing dirty (but extremely useful) things with equals" +HOMEPAGE=" + https://dirty-equals.helpmanual.io/latest/ + https://github.com/samuelcolvin/dirty-equals/ + https://pypi.org/project/dirty-equals/ +" +SRC_URI=" + https://github.com/samuelcolvin/dirty-equals/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytz-2021.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # require unpackaged pytest-examples + tests/test_docs.py + ) + + if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_other.py + ) + fi + + local -x TZ=UTC + epytest "${args[@]}" +} diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index d5c915398029..4586dd2c3bad 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,3 +1,5 @@ DIST elasticsearch-py-8.14.0.gh.tar.gz 1092912 BLAKE2B 4ee556bc475d63e33cec318936b2dbf8b280236bcdfe28bc90a4beb7e1d024b8d63180c29e42096cb32bf3da7c771532c57190d763651118603779f816e95656 SHA512 9e9821102659b4c877959e25c33e1b1942f6eabe62bb6de73cda4875c248b0f9285d948e535e9426ca42552f7aa3e75c459f991bfa574c1d8400d78486ee5493 +DIST elasticsearch-py-8.15.0.gh.tar.gz 1163528 BLAKE2B 8ee26e504f09b4ed2ccd695c034f5e35bdc609c1de7055b1f93f279edc7b3b6ac72625e8645c25d126481d7d877a197ecb8d7b35771841b412291caa42d4ee5f SHA512 7982f8366d7b74c85fdcaf4761fcbd9e6e14f0ef2a4aff353bad0b5bbedf7251eabf933e86f1dc9734de0aa6d43a30e1f055cd3b9c7ff2c7864da8779f64bfbc EBUILD elasticsearch-8.14.0.ebuild 2467 BLAKE2B 71f500c6a0e7d9f629e89ccea51ff7861693eb92b0fd61e8582854496b299ab04d635e5838a10f448d0c21cb466556205f7e717e9ccf96d8d3de1e4216df9e27 SHA512 43964923af4a88cf471b70a07bc0103c16fa9b6717fe1ace5854c34de56074a34a4f377adc02571178a43d57055f5c383b6ab0cc1bd3f6a96b1963b71f33c4fd +EBUILD elasticsearch-8.15.0.ebuild 2303 BLAKE2B 9eb7fe67cfc592f89378e46e7aaa152b09f50b4f602f41f2dfe9e792d575b4c317da230d242be1b13d5695035e42cb1e1a8b77d0999314f890a548a3d25929e3 SHA512 32c4085f8089eed96fb96c9e34483bcd24bb4385275ac1d58d6117f1f0baa18c4862dae25f7fdd6e2fdc76e63b2529dc33f3a32e2d5d4816217ebac9b81ab4b9 MISC metadata.xml 617 BLAKE2B f87827e173c4284a6ac830c48f92384140ad388a1c35562e5522ffc7fa654a9fc1eca14fd55b4365aec7ecbe1ca54f1a58772e240f09c3a56aaf25114b807cae SHA512 dc52446e828b8506e5144fb77e2bf5f761afeed8dda67c1aa72f0f67a3df838712d3deceba12c434b2d53923130e55ba6a71086ec289d90d5577cb5950b46999 diff --git a/dev-python/elasticsearch/elasticsearch-8.15.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.15.0.ebuild new file mode 100644 index 000000000000..741cff10115f --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.15.0.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=hatchling +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/aiohttp-4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3[${PYTHON_USEDEP}] + <dev-python/elastic-transport-9[${PYTHON_USEDEP}] + >=dev-python/elastic-transport-8.13[${PYTHON_USEDEP}] + >=dev-python/orjson-3[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/opentelemetry-api[${PYTHON_USEDEP}] + dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 1bf78801a818..c3dbbddf79b0 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,5 +1,7 @@ DIST setuptools-71.1.0-py3-none-any.whl 2341722 BLAKE2B 5d2aa4205b91f619a5c6e9596d9ac77aaef4759a98d4a2ee1cd706b01febadf2b94cc891f92640da185ac565d315b141c66f628a213fa199a3ab282250250d34 SHA512 3c2a49f5a3953b525885635bbd93a503e6bc378914da2a2ff658b5800b27848e91ee268d652176c7034f55b8937db10d7e68f3d4d315ca03124ee3054f58e36c DIST setuptools-72.1.0-py3-none-any.whl 2337965 BLAKE2B 88954b396a47b4223b73313100b9ae0782a16f755660da1abed31316f056beca78401b151f1bec39a791b1c556da09479e527b2316f5d1391e6996f5433c0bc3 SHA512 ef9f855c8ca4d7f6e5eb79f3d40b44830eede4664ec5667415fc676a0b8230a64fb62fda49c1eef6a9c3f89d4724b0717e7d702be99ab61f8763d91feb9a6ea1 +DIST setuptools-72.2.0-py3-none-any.whl 2336658 BLAKE2B d46adb6be347ee6107ca90850ad1c8df60723e1cb93e402b53c02316a07b7cb71dd8d657cb3beb8c926fa23308d4e8fca7221b52e5f59fbfa744d6758b603343 SHA512 e7730427e7ff342a52f638fe1d457cdb906971f33dd87bb01a26b2d01b134f561397b7a6ffbe078ba5867306ba14bd8316995ab823f9b1c806646c2f242209c6 EBUILD ensurepip-setuptools-71.1.0.ebuild 610 BLAKE2B 30d5981f264556c7910d7d2984d37173e3f2b30fc4c08a041e3e4bbf57ceeae35b02582112fc7b190320fccdf55f25e59d9966fa75bfe39fa23fea1986954a14 SHA512 6923031a97ac255e828fecc00f7c7ad99828a0aab5fe17ee3855462a0e8ec422d96cad81b6e938c2d0fc4eed197a22dd38b31c0e38c2e99c5854f171c8a706b9 EBUILD ensurepip-setuptools-72.1.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a +EBUILD ensurepip-setuptools-72.2.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a MISC metadata.xml 316 BLAKE2B 17947c657b45cb01758e222aa6051a459bf0bd9a026a73c0df0ae0c3a0c901f6e2315d459ee37036ecd283481a8d97791d64688c108a0706e745a739e3f9e8f8 SHA512 af18f4ae51b253552752e14210789988c815d0dbf0e1d8ff7057e48a09303c4abc1fb240d6f7f15fc0993b33e4c8ee395c2755754b3a2cbfd4c3a3f0dad41cfe diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-72.2.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-72.2.0.ebuild new file mode 100644 index 000000000000..97aca4a61872 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-72.2.0.ebuild @@ -0,0 +1,24 @@ +# 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=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 613a5c75b812..0ba63223f8c2 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,9 +1,7 @@ AUX imageio-2.22.0-block-download.patch 1211 BLAKE2B c01e3fd7db7463bc11bf331384a21becfc3160d4880a2fd09e47bf0927d97e46787097f50a489b83c2626078b60a0cf8a0d896040981e78c107f1783c8e84c26 SHA512 170261b9fb07ccb7f7a7e058335326df1f72c8d098076bf6ca048a7ca6bac95ddb512b9e41740c385430bc25613249455203addd59931af4e70298e772303964 -AUX imageio-2.34.1-numpy-2.patch 1472 BLAKE2B 2a35f4e68f7ad4bd8f8805fdb28069b457c5df5e9ae983cb44900bdc5d88ef94456a02b76e5b2bf5c3d62f5fffada16e4f4f3481d04e6851e1624ef19b6123ad SHA512 76edd6b249016f578b76b28ab9fca70286a9ea33beecbc75f7c78328e3e14ef2b134fdbdfb5a6fdaa4d68c65178ceee0b5893089afa73952ab2581ab96ae5ab5 -DIST imageio-2.34.1.gh.tar.gz 413414 BLAKE2B 59371d0aeace317b9006a0b3b182b97259a53ca0d2288d8ee497234e4f2e7e253c1c27b40b2c5c1f531555a71c7f426ae6d4555043525aa88ca2818d26adfd7d SHA512 d7d1f99f735447e559c0b1fdc2dbe19f2991fb3c640cb9f1396d149c3c44f05e1c357ca8753fff8130625f8fb40a72f277ef09e7cec2b060d1a4f3a675e086a0 DIST imageio-2.34.2.gh.tar.gz 413832 BLAKE2B 1aec3797a5ddf1d644577246e5aab4cde84913aea6befa66d038e1819fac50006fa44bcdac68d46acb0de723b538a88bb7985aa0f855ea62a0403600334a5e43 SHA512 07e5f2fbb46ba653eb3de4f59d4c04d77405e4c7d680a4f853b9b95bc7de48f33866a53f37f56cc8ae0b9e0f505771ab1aa57db9dd975db90077ce8ba0060f9f +DIST imageio-2.35.0.gh.tar.gz 415875 BLAKE2B 5fc774c6e48fdd6a4171397cd7c8af8be323886979186507692754bfd439ceaf1434bc3958ec7f55570cb39ae0713d77b6999233339ba20c0f343abd9dd72728 SHA512 707aee7dea36d9292c867e551b0c1dd78e1b52e41c03238f28e77b133bc82c1f0e8de8c25200fefc65c69dbb47720e3878292abc697ed09c9e12dcea09c3da99 DIST imageio-test_images-1121036015c70cdbb3015e5c5ba0aaaf7d3d6021.gh.tar.gz 195497374 BLAKE2B 0083212fd63c196dc2e721bff8f89c177b6741317b6b1c6ae9d00a8dd5fb6366efa3f01b9bffafafac7177cfdaa4d700077a2bad42ada735f5553e97f651c4ad SHA512 1bb1f36a069bfaa0d0ffe5258534e02e49237fc6ce85fe3d3648650130165abc9b3d5ff0e7e5861ee1d94add00d4258575f9c2f8556debecf597bdaa5499efe0 -EBUILD imageio-2.34.1-r1.ebuild 2852 BLAKE2B c37aa3e789c3a902f52356d4ab89bc7dce5dd85f7335cdf8ea453b24ffa63b653d6e88ce168627c82aa56bb7acb5856d48a452ef31b519a5027cf846916076e9 SHA512 c47a30021b22dfdfb8099d1dc1cc5d62a2012a023e0f6fa1f76a4075dfc94f51b6f5800c61082ebaca9f9b627fc76610eba00e82a76f9fbd4bedd94c3c0b3b24 -EBUILD imageio-2.34.1.ebuild 2807 BLAKE2B 4a51d2c4e622d3ae5d1d97025f3598543b27fbf6249b3ff1be18f2c814d74d7f1bf2577997b00256e7b87c09d69d976ad3ed4a959f4c86961f547f9770dc42c1 SHA512 a7316ab4980c46020a86f3e2f4d6a1d1ef391e955fe3da04c3791ac1f3983e48c1ea708b58a32bf41830f36f5173f08f8b925f6ee58dd559b434d2a4a03b2b68 EBUILD imageio-2.34.2.ebuild 2809 BLAKE2B a7aa87dfb5c6f69a7e4847b4051a07eac377beea2f4e3e3fb407b96d91321dccaa79aefd56c842cf35ad2ec46a145b11b7c8d8defc2444b47952a9d1dbfd8b8e SHA512 8d735b249c75a7a1af2d828ced9e39ad15c1694a82c7bcf2772862a6cb71fca3b4d0979bd8cec7a9bbdbf4a9cd0c6cf6524062e152a14411af44511fda7c6b2b +EBUILD imageio-2.35.0.ebuild 2809 BLAKE2B eefd1ddee17b0066858d61ade38d9fe436c5f00d4d2fde73041c15827ac93f71390c234fa16fcf7cdb00b2e42b5b534feac0341242cbb0efbcaaac40c6bb157d SHA512 ca01c395c9f4ba0191cbf2cb32084684c14fde5b92d867f5a42785027b19a179a1d45e387641c8cb7b3d78291504dd00b4044e6926c84abe34959194b82b7663 MISC metadata.xml 702 BLAKE2B 646c6a83e6d8e345fddb9cbc42a83c1193b9590937cd652e293d03e6e9d4b240a69e6e86399f5edc9ef05f96d1d4c3713dfa65f8b13984f4483b2ce76a239429 SHA512 5e1e4db52fed55ab837c70ddb9ec81a7ce0b062064e2d33cb5771cd81d50a1a2164e446531c32a405bb9319acd736141765dcd00e36d6db770434a656ad925e1 diff --git a/dev-python/imageio/files/imageio-2.34.1-numpy-2.patch b/dev-python/imageio/files/imageio-2.34.1-numpy-2.patch deleted file mode 100644 index c5c8288da471..000000000000 --- a/dev-python/imageio/files/imageio-2.34.1-numpy-2.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 511ad9b3705fc09d4654d69e42bbafef97bcb0a8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Sebastian=20Wallk=C3=B6tter?= <sebastian@wallkoetter.net> -Date: Sat, 22 Jun 2024 14:56:11 +0200 -Subject: [PATCH] support numpy 2.0 - ---- - imageio/core/util.py | 2 ++ - imageio/plugins/_dicom.py | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/imageio/core/util.py b/imageio/core/util.py -index 6b2830421..bfb7e9fe9 100644 ---- a/imageio/core/util.py -+++ b/imageio/core/util.py -@@ -163,6 +163,8 @@ def __array_wrap__(self, out, context=None): - return out.dtype.type(out) # Scalar - elif out.shape != self.shape: - return out.view(type=np.ndarray) -+ elif not isinstance(out, Array): -+ return Array(out, self.meta) - else: - return out # Type Array - -diff --git a/imageio/plugins/_dicom.py b/imageio/plugins/_dicom.py -index 96fb6fcde..2f2f7ac51 100644 ---- a/imageio/plugins/_dicom.py -+++ b/imageio/plugins/_dicom.py -@@ -531,7 +531,7 @@ def _apply_slope_and_offset(self, data): - data = data.astype(np.float32) - else: - # Determine required range -- minReq, maxReq = data.min(), data.max() -+ minReq, maxReq = data.min().item(), data.max().item() - minReq = min([minReq, minReq * slope + offset, maxReq * slope + offset]) - maxReq = max([maxReq, minReq * slope + offset, maxReq * slope + offset]) - diff --git a/dev-python/imageio/imageio-2.34.1.ebuild b/dev-python/imageio/imageio-2.34.1.ebuild deleted file mode 100644 index 75d05d734168..000000000000 --- a/dev-python/imageio/imageio-2.34.1.ebuild +++ /dev/null @@ -1,103 +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=( python3_{10..12} ) - -inherit distutils-r1 - -TEST_IMAGES_COMMIT=1121036015c70cdbb3015e5c5ba0aaaf7d3d6021 -DESCRIPTION="Python library for reading and writing image data" -HOMEPAGE=" - https://imageio.readthedocs.io/en/stable/ - https://github.com/imageio/imageio/ - https://pypi.org/project/imageio/ -" -SRC_URI=" - https://github.com/imageio/imageio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/imageio/test_images/archive/${TEST_IMAGES_COMMIT}.tar.gz - -> imageio-test_images-${TEST_IMAGES_COMMIT}.gh.tar.gz - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] - media-libs/freeimage -" -BDEPEND=" - test? ( - >=dev-python/imageio-ffmpeg-0.4.9-r1[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/tifffile[${PYTHON_USEDEP}] - || ( - media-video/ffmpeg[openh264] - media-video/ffmpeg[x264] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # block silently downloading vulnerable libraries from the Internet - "${FILESDIR}"/imageio-2.22.0-block-download.patch - ) - - if use test; then - mv "${WORKDIR}/test_images-${TEST_IMAGES_COMMIT}" .test_images || die - # upstream tries to update the image cache, and invalidates it - # if "git pull" fails - sed -i -e 's:git pull:true:' tests/conftest.py || die - # ffmpeg tests expect it there - mkdir -p "${HOME}/.imageio/images" || die - cp .test_images/cockatoo.mp4 "${HOME}/.imageio/images" || die - fi - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - # uses fsspec to grab prebuilt .so from GitHub, sigh - tests/test_freeimage.py - ) - - local EPYTEST_DESELECT=( - # Note: upstream has a needs_internet marker but it is also - # used to mark tests that require test_images checkout that we - # supply - - # Tries to download ffmpeg binary ?! - tests/test_ffmpeg.py::test_get_exe_installed - # blocked by our patch - tests/test_core.py::test_fetching - tests/test_core.py::test_request - # Internet - tests/test_bsdf.py::test_from_url - tests/test_core.py::test_mvolread_out_of_bytes - tests/test_core.py::test_request_read_sources - tests/test_pillow.py::test_gif_first_p_frame - tests/test_pillow.py::test_png_remote - tests/test_pillow_legacy.py::test_png_remote - tests/test_swf.py::test_read_from_url - # requires pillow-heif, also possibly Internet - tests/test_pillow.py::test_avif_remote - tests/test_pillow.py::test_heif_remote - # not important, requires random system libs - tests/test_core.py::test_findlib2 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/imageio/imageio-2.34.1-r1.ebuild b/dev-python/imageio/imageio-2.35.0.ebuild index 7b5206ac9e00..9f86e40a6cdb 100644 --- a/dev-python/imageio/imageio-2.34.1-r1.ebuild +++ b/dev-python/imageio/imageio-2.35.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -51,8 +51,6 @@ src_prepare() { local PATCHES=( # block silently downloading vulnerable libraries from the Internet "${FILESDIR}/imageio-2.22.0-block-download.patch" - # https://github.com/imageio/imageio/pull/1089 - "${FILESDIR}/${P}-numpy-2.patch" ) if use test; then @@ -90,6 +88,7 @@ python_test() { tests/test_core.py::test_request_read_sources tests/test_pillow.py::test_gif_first_p_frame tests/test_pillow.py::test_png_remote + tests/test_pillow.py::test_webp_remote tests/test_pillow_legacy.py::test_png_remote tests/test_swf.py::test_read_from_url # requires pillow-heif, also possibly Internet diff --git a/dev-python/keyrings-alt/Manifest b/dev-python/keyrings-alt/Manifest index 779b677ffc12..b5d89a42aabb 100644 --- a/dev-python/keyrings-alt/Manifest +++ b/dev-python/keyrings-alt/Manifest @@ -1,5 +1,7 @@ DIST keyrings.alt-5.0.0.tar.gz 28346 BLAKE2B 10add32203dec361637bf723ddd12c0176a6999c8ebc7cda476ad174e54f0a770ceee81ed11aa325ba39b0813a45d9be21af12351f4bb3e98cca560507167423 SHA512 ba6171ffd9f5c549694f2d7bd27595efa0cbd4deae9561a5ff61114f15337f67923f6f3b003a611aa3342c49dd9c511946d28bbad492469bb393407dec81aa1d DIST keyrings.alt-5.0.1.tar.gz 28876 BLAKE2B 5d4ec5e5044de52c1bd197257b79fa49909b8f0ebfc604eaf672eccaf4f8fbe8aaa8bb0606bfd06bb7790141459d61e5a3d88ed1a9f8c95084fcd561f7986b12 SHA512 7fb082794f7d024fd61f64883ed325c84ea5b97a7fbeb33e7f83ad0139782610e4e611c79227b736fa7c7716a9c09154df403b4b3832b5867ad9a5d0f69da110 +DIST keyrings_alt-5.0.2.tar.gz 29229 BLAKE2B bcaaf9cc6c677fa45082ac75d8a8cd97b06b59c612e8dd9347467e24fd86875a9c444dc4d75c0eb3346058a74829a7ae4b8c3896411faa80a628459218b41ba5 SHA512 37d101d5315e6b592adcf72333dfc82d4b413e25a8efdec71add3a91e558aeae7af509c20861d6befc77e1989a23659d1e86923570084e738bf4870c1974cf61 EBUILD keyrings-alt-5.0.0.ebuild 846 BLAKE2B 34e4759d0f1c6a96cc30a94afaadc4cfb9525aabd6f89552c1a1ba4c5ff496f9d155e1c14ad2425d78cfda2044cb5e69614dec67079248a7de6196541817116b SHA512 bb6bf091d7ad68c89294a369a67cd2b1993d5dc3379ea3bf8a6f4dc02201daf47b9ab1d55b06b708fceae6f5e0897fa0755075458d3f3d680cdcfc81c7a607d6 EBUILD keyrings-alt-5.0.1.ebuild 846 BLAKE2B 7ea6b2f2eb66a751a28f8a84f84d298bafa2a5dd2f49f49c9f314513a9ae98742180ac11db81e613fb1848114f796d9d1f7accf474879768b48dccd3b8f3d01f SHA512 3d92aab8383382280d383db39f7d32d93ca96827b053d7a5116cfb79df65a6e7d4269ac75727f53494d7b2a16c6b27d38cbae993f56510959159548a7cc01914 +EBUILD keyrings-alt-5.0.2.ebuild 876 BLAKE2B 66c3f1e0604a9b53743a73c67bf06b5b72f5b256035d4c953ae875e4612e6e013f6136e300c1d61f190d9cfa669e1301fa8962475bde1dbf9efd385f898f5954 SHA512 a8f6216da8fca8312246e4beef75b35e21505009113b590df18e8ca40d9162df06afce8d4313790a2f43b6ba157d525d3448b56de99c87975b918c2bcc30c72c MISC metadata.xml 399 BLAKE2B f1c3c457bf69f46895f17663688f970b8801bfa9f3b95ff4a616db512576dd78288fed74e457d45057eebaf8afed7a30a2458d9eaa4316379687f8552e6cc2e5 SHA512 5c1d56440bf14be1cf7bef1047fa7faea74cb80965a72713c81f0c4cd1a0d94f62c7fab6c865c1be4c53cd2bda401140fbc7316da53b73fea12aff1f951a9883 diff --git a/dev-python/keyrings-alt/keyrings-alt-5.0.2.ebuild b/dev-python/keyrings-alt/keyrings-alt-5.0.2.ebuild new file mode 100644 index 000000000000..68cc8fc1deaa --- /dev/null +++ b/dev-python/keyrings-alt/keyrings-alt-5.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternate keyring implementations" +HOMEPAGE=" + https://github.com/jaraco/keyrings.alt/ + https://pypi.org/project/keyrings.alt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-context[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/keyring-20[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # oldschool namespaces + rm keyrings/__init__.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest -k 'not Cryptodome' +} diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 30e6286750de..f342cd39d5dd 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1,3 +1,5 @@ DIST lark-1.1.9.tar.gz 255451 BLAKE2B 0bdb34a75c17800cc6819413011de879a163317c7414b260e1a4a0ccc4b40d11636fad1ae84946e0408096525b6cfeb6f725c95caed8043d3dff3e318d15be1f SHA512 4d711451f129312a28cff84239a2928fdff96df1445f77ae7a9d882d13791a58e44663ef70fd064df954094878214611ee1313ce9315c8dcfb0833b003a3774f +DIST lark-1.2.2.tar.gz 252132 BLAKE2B 175f51930972f17051af6fefdf71ef4602f126d373888f30a630a703d038abe9bb2706da80564c72f19273f7d0bfbe351ab34e9d72fa1ad9dd7181232eefe61e SHA512 77cf3abf26b827cb60eae4c193de0c98780df7dfa3daa1c21ca5d73bc16387d77561d57e8a20c69ceaeb35531b7191fe765b9834587972e2697f3f07def96b6c EBUILD lark-1.1.9.ebuild 912 BLAKE2B 9fd9349cb26e576f41b76a8338105e865e1aec6dc5fab226ee88cdfdc220a26196598622156b8ebf91a3f7ea74d25597b3c62efa3a02afca9b8ec748c2e5acce SHA512 bf9bfbb9ee3a0e3d0728cbb10f5680e06d61d51a17716d669acb3233812f12916e16819fa900d96db200ada43dc8a3a8383705f10f11c741fdf15601937f8262 +EBUILD lark-1.2.2.ebuild 920 BLAKE2B b7afdb99bfb794f6fdb720a2789501ed70b532a65f05f3105774b6ca5aa42132095b8b57db44c1ab348ae803c5118fac06cdc0bb791e9ea75dc365adf07504ad SHA512 3f21635778408bfe02ce8c7f03b96dc98270476c3652f237063bbb98f705f260c1fdb5e22e1dd1339eb4108866287c09b91b60c87e382d583a231154c652bed7 MISC metadata.xml 388 BLAKE2B 705a273d593a97c10e06cf04bf146864ff3a5d955f30d0094ab6869fd12e6033612e361e55b9e934f052ab29de7beef928293a377d0f1abb917f9715e111cdd6 SHA512 76a47597d5a6f2a71907701dc53837b1fb175be2b2fb0e70a03dacd17974f4dbaf3caa56f5e4be07c6847245c313bc3911ae949c689056082edda7993405cc32 diff --git a/dev-python/lark/lark-1.2.2.ebuild b/dev-python/lark/lark-1.2.2.ebuild new file mode 100644 index 000000000000..61cdd4674361 --- /dev/null +++ b/dev-python/lark/lark-1.2.2.ebuild @@ -0,0 +1,40 @@ +# 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="Python module to propose a modern general-purpose parsing library for Python" +HOMEPAGE=" + https://github.com/lark-parser/lark/ + https://pypi.org/project/lark/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +# dev-python/regex doesn't support pypy +BDEPEND=" + test? ( + dev-python/atomicwrites[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # require dev-python/js2py which is a really bad quality package + tests/test_nearley/test_nearley.py + ) + + epytest +} diff --git a/dev-python/license-expression/Manifest b/dev-python/license-expression/Manifest index db313b25f169..5e47bb53f65e 100644 --- a/dev-python/license-expression/Manifest +++ b/dev-python/license-expression/Manifest @@ -1,3 +1,5 @@ DIST license-expression-30.3.0.gh.tar.gz 170159 BLAKE2B 6db3c9c3a1c6551fd22a338c74b75b595df5fe59fcde526baf2ddc52329b20cc4fd9848b986acc62709054c8d1f297879d0636e0c75ec30112cc654c41c7efec SHA512 10e141c9f7d05353ff2d76053497a72aebee6bbda6f263cb4fa69d1ab0ada8331bd0a126558b89bd7db428fc55a87bb5c88f1d5217cfb9640dbd10c1975bd08c +DIST license-expression-30.3.1.gh.tar.gz 170363 BLAKE2B a40882d006c92f6327b710529bfa8225d8565d17aeb977ba7b05970f620dd7f801c855c4198928be92109ef7727d92578b18add0afc44a08625f9a989693be5e SHA512 c5093cfd5dac3ba202610d9794368c5c93380927d7bc8bf57c93bd14bb91b62d1dcff56157a8994a94ca2d66e7a2cf3956cb931a7fa86cb46a04844db3ed7c65 EBUILD license-expression-30.3.0.ebuild 803 BLAKE2B 45cce81afbfbdcc025f95edf2a1465f79af71a8d4a8892c8369c3704c8315337cfe1912d37f86efd244d46794c9865704c974288076ed5a0c28ecef51dcac6e9 SHA512 7713b79d9014336cfba2f55d5d5a093b6aaba99bcb2d3c04c181fb97f0a1c11a2095918da5bb6f6e97c64002bec1e0f8933f4bfc88bed2ce40f9edee4c738fe3 -MISC metadata.xml 387 BLAKE2B 52d862f7ede77b8ab90dbd9ed2949f1c4a2b289458cff0f2e7042bf43be07b7d7e63ff94f0a10aa1db41027b3441be721656def8d59ba54155d3226e4bd30b57 SHA512 7ba89c3d94ef921fad190a85655d032a7e3a0c5794d0957c3a30ff73c75b717e87517f5f2547408426479d646ac3d157f7e659d66a18d4081689b6b41136b268 +EBUILD license-expression-30.3.1.ebuild 829 BLAKE2B 1bcf740a46b1833e741852244396b934bc18d5b8908a9e6bf80e9c7a1fce954b08867bfe509a765db007dca13bd5503efe40c132f9d9e0677c4e6990d4d615a9 SHA512 358e4a3e735a169fa762db4c5d1287d7fd922a089bf9703d26bd2790f5cf39766a8452137013653a1724eaf14879032c679a9abb7c451da7e0ec38d1b52430b6 +MISC metadata.xml 396 BLAKE2B ba063838ab7aa7f0feafbede8c9cb619799156d87294aa0f3a3f8f0652eb1f9233f8973fe9c8788fa151f06f5687f1fa37876f3689d895a9e969b0bed2e7f36e SHA512 1c2ab363d3502ff9f509c4577edaf743b4de619826e3916fe13521b1c93ab916eb19317927e80f87ffd2ba531c2e0445875f5730c231e4335ac1ba34f0428e4d diff --git a/dev-python/license-expression/license-expression-30.3.1.ebuild b/dev-python/license-expression/license-expression-30.3.1.ebuild new file mode 100644 index 000000000000..b434099e5604 --- /dev/null +++ b/dev-python/license-expression/license-expression-30.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-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 + +DESCRIPTION="Parse, compare, simplify and normalize license expressions" +HOMEPAGE=" + https://pypi.org/project/license-expression/ + https://github.com/aboutcode-org/license-expression/ +" +SRC_URI=" + https://github.com/aboutcode-org/license-expression/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/license-expression/metadata.xml b/dev-python/license-expression/metadata.xml index 8bdb7d68016d..608384b69dde 100644 --- a/dev-python/license-expression/metadata.xml +++ b/dev-python/license-expression/metadata.xml @@ -6,7 +6,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="github">nexB/license-expression</remote-id> + <remote-id type="github">aboutcode-org/license-expression</remote-id> <remote-id type="pypi">license-expression</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/nbsphinx/Manifest b/dev-python/nbsphinx/Manifest index e30a05f15736..d3307e0df2e8 100644 --- a/dev-python/nbsphinx/Manifest +++ b/dev-python/nbsphinx/Manifest @@ -1,3 +1,5 @@ DIST nbsphinx-0.9.4.tar.gz 179315 BLAKE2B 727e2d6e70bec199159940afdfc92409124d940e4a1bcfd0288e779c5ac9be41802e5f347d486df0ec54a641cc82b6e5cfecbdcf4dc3dbacf74d0a8c884b3018 SHA512 b643d749eef8ec8ac63594f75d38d13c7b623203f7a46d7190b5da2cc3a7882623a8cf54f240678488db1cf5e37091473002510079f7294a0bc5780982661c86 +DIST nbsphinx-0.9.5.tar.gz 179599 BLAKE2B ca7ec2a4b9665fe189c5c8020c345abbf60cff72b7434365359bf6ae1f569570bfb0928072a6d01227f685cc837d9fc75b31b1a2361788c6fa45a075c9d1f23c SHA512 2b1a1575af9ad462888992f3bc6792c014536e7abba5c4b20a1e36da385eae87b23a79e74d9e02cb122dfccfb93e15a817b794565371b5d69d857ca19d163a9c EBUILD nbsphinx-0.9.4.ebuild 706 BLAKE2B e8d2634c3138ad6522125190325d991ecf9af3b6e723b3417a76c11e181319adada58951f9893ba60fd2dd9b3ef95a4487c7e143e254096950fc37ef2d041e74 SHA512 720bbe36c0a9978c9345d120246ab91d177db41e1363f4128652ce99e449f6a8cfb69425604494b9bed89eaaa2a310487aab6cea6f3b4212c8a3a2faa57324e8 +EBUILD nbsphinx-0.9.5.ebuild 708 BLAKE2B d5a441b73a9547c93ca8f7e88585bd0fec82e42ed936a8dbf37806f5fe7c361f14792fab2c1cdddf7289895980c11213836ad222facebb2d9e73d490c37162b5 SHA512 5d0c6a30b08381411352c683275412864a2a2bff381abb94324358d17e18ed02a4961c373beea8be8e969aec83eb80b8534b641058eb05404c7507661f681996 MISC metadata.xml 835 BLAKE2B a3a10c9fb26688d90ad6f4e2ddb8b174eae9fdc2637d4aabdb86f63093982c7c9a42c4eaa3b2adee6ddb12ba2d537aec79d324c0a3c7355424a4255cea90eda6 SHA512 9ac5cebe164b19f80e0eb07f7c4fb5cb2cf5251af1f81290931f8fd01223261cb6224500387c131c7bc8738d7bb07eb790fd9ea426a295d0688489510e58d55c diff --git a/dev-python/nbsphinx/nbsphinx-0.9.5.ebuild b/dev-python/nbsphinx/nbsphinx-0.9.5.ebuild new file mode 100644 index 000000000000..bb191b4769e1 --- /dev/null +++ b/dev-python/nbsphinx/nbsphinx-0.9.5.ebuild @@ -0,0 +1,28 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter Notebook Tools for Sphinx" +HOMEPAGE=" + https://github.com/spatialaudio/nbsphinx/ + https://pypi.org/project/nbsphinx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/nbconvert-5.5[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] + >=dev-python/traitlets-5[${PYTHON_USEDEP}] +" diff --git a/dev-python/paramiko/Manifest b/dev-python/paramiko/Manifest index 8887f80759d6..a079b210a276 100644 --- a/dev-python/paramiko/Manifest +++ b/dev-python/paramiko/Manifest @@ -1,8 +1,5 @@ AUX paramiko-3.2.0-disable-server.patch 1771 BLAKE2B 3cab494873956d6f36b8ea85903141a49eb515fd92851f041f91418dc58acc77cdaf00a215c8e681d037d78eabfc7718a5670f2ca6af02fe357daece9a48819e SHA512 9f2f85518dec8668d096fa1db77ec5219f14fb6127c29bbdc2ba47f55e3526e9f1dbca421adb18033a8358c0efac7db723536b26bd8f45c8583503fb4ae58d76 AUX paramiko-3.2.0-nih-test-deps.patch 4289 BLAKE2B 4a77852f0ae3cda52eca8844f4bf2571c17a0935088973f48c46abf250081845a870fb52d8ebafb108f634dbe86fbe784eefd49d9240c50f911d56173d1e3d71 SHA512 4e0bed394e4c8be19108cc0a7253d6306a698a3cc09b40c18459c8e16591ff42c41cb4f385fc05dcf902161fa23ce2b7d00c665784b9106344a5ca42e4f2a788 -AUX paramiko-3.4.0-pytest-fixes.patch 1082 BLAKE2B bf12d79158c9d21c2db43e1e6ea85a5f7d67c97a88f6a0fa76f7bca1a3bf49d59f63dccd278a21a8556465c09676b2941a2ebd07303bcd75141a1d42e5334694 SHA512 338f493ef9e920618acc9351cee5a81303d7ed9dbb98215f5b8621a5bddbea61ebffedcd09991fbc80163c1ecf53433a2e1b4c860b8a4d204eb8b2b039b3b484 -DIST paramiko-3.4.0.gh.tar.gz 374441 BLAKE2B a6ea03d40e477cb02c1293c46025909251f8eec2be70638bf850638d9fe8c15bfe0e278697e41f3595f482b8f0755d911b905b11db2324eca597fc9be2a22f24 SHA512 f78fccf653d05acee78dfb76fb662c85fbfea7901fd94460a2d2e526c9b25169993051d20c16cfe0b7745008b1ea3a745fc9a280386d98a06689aaadf78f6752 DIST paramiko-3.4.1.gh.tar.gz 375155 BLAKE2B 576cc5b23010eaf46eec7dc98e5930c134948038b5588a2cf198289f11a9ab33978e582f273e39d3154fa5fa48109a9bb493745c658e2a2082af055a8f0bc80e SHA512 99026c1045a7f9f4aa7484d089a94dfff141c5d8c565d0bfb3f5c9b1387d963b8f8b3718a79668b1cfe1ec581ab3cb76af787f8011d254aa14c00a5496a805eb -EBUILD paramiko-3.4.0.ebuild 1392 BLAKE2B ffbae7f8e32c8e27329da800215992573720217e079a2cfa43495f53c3fa65cdca33abecb6286a9bb537013ab263310499468b44702670c3d6b97b1775492f16 SHA512 dc50e59d8943e425cffc5f2fc878be9e840465c9a1d9d4aa34d1c6d41c64ae605c2f8d05a6c212771decfc9fad1f67f6d0055912ccd8f3186770e060cb9e426d -EBUILD paramiko-3.4.1.ebuild 1527 BLAKE2B bf1e7b29d47356488013be45855e37826df5123501629fba79d8f8c743d182d5453cba283cd65b920acfc503e94c64d5f6e9e8198c234ccaa07822f886380fa0 SHA512 298afe9e1833d1916740292c911ee8ba76adf6a4d5c02b0d74c8fd184f96c046b04caba0f1fba6e809598001934f9cde6ba8416dd053fb29b701e043e1c4bcc9 +EBUILD paramiko-3.4.1.ebuild 1520 BLAKE2B ca1787431a18c4895b12b3e30e567299c5b80b1b34e6965c38ae059c21556a79f71a7c2fee7c8a68a4319aefb7887dfcceeea595208774fdcee45da9cb1050c6 SHA512 0b74eadbe15e39139ea168e47f1a2e089038b84cd74717648d7321930c9442c8bfa870f51c3be3f301a13a1cd286c29f054f5220fa3fccdc53ce90e09506ecba MISC metadata.xml 1222 BLAKE2B 46fb6385f6779cbc13fa54090dd5dfa0b5a7b5a753f728b133fa79a1e1c779a5652d6b38c5ea11cfcb505178b2ba70d9000dabba6228e38f30f426ecb1c49a3f SHA512 bf07a537ed375a3bf58d219c18ccfc29c810554041943e62819a46b63ce3fbcdd2197085dbeeb7ad36e0e601700edec6121ce5cc83dce1c7435d663473df2583 diff --git a/dev-python/paramiko/files/paramiko-3.4.0-pytest-fixes.patch b/dev-python/paramiko/files/paramiko-3.4.0-pytest-fixes.patch deleted file mode 100644 index 5d8eb3ffbb43..000000000000 --- a/dev-python/paramiko/files/paramiko-3.4.0-pytest-fixes.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 71dd9c098b800a358065070a44d2803b759f222a Mon Sep 17 00:00:00 2001 -From: marston <manuelfern1997@gmail.com> -Date: Wed, 27 Sep 2023 21:04:25 -0400 -Subject: [PATCH] Fix deprecated nose tests and 'isSet()' - -Upstream-PR: https://github.com/paramiko/paramiko/pull/2306 -Upstream-Issue: https://github.com/paramiko/paramiko/issues/2290 - -diff --git a/tests/test_client.py b/tests/test_client.py -index 1c0c6c84b..feb27bbec 100644 ---- a/tests/test_client.py -+++ b/tests/test_client.py -@@ -689,7 +689,7 @@ def _setup_for_env(self): - ) - - self.event.wait(1.0) -- self.assertTrue(self.event.isSet()) -+ self.assertTrue(self.event.is_set()) - self.assertTrue(self.ts.is_active()) - - def test_update_environment(self): -diff --git a/tests/test_config.py b/tests/test_config.py -index 2e49aa3de..1e623e0ad 100644 ---- a/tests/test_config.py -+++ b/tests/test_config.py -@@ -53,7 +53,7 @@ def load_config(name): - - - class TestSSHConfig: -- def setup(self): -+ def setup_method(self): - self.config = load_config("robey") - - def test_init(self): diff --git a/dev-python/paramiko/paramiko-3.4.0.ebuild b/dev-python/paramiko/paramiko-3.4.0.ebuild deleted file mode 100644 index 595554941099..000000000000 --- a/dev-python/paramiko/paramiko-3.4.0.ebuild +++ /dev/null @@ -1,63 +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} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="SSH2 protocol library" -HOMEPAGE=" - https://www.paramiko.org/ - https://github.com/paramiko/paramiko/ - https://pypi.org/project/paramiko/ -" -SRC_URI=" - https://github.com/paramiko/paramiko/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="examples server" - -RDEPEND=" - >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.5[${PYTHON_USEDEP}] - >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # upstream doesn't really maintain the gssapi support - tests/test_gssapi.py - tests/test_kex_gss.py - tests/test_ssh_gss.py -) - -src_prepare() { - local PATCHES=( - "${FILESDIR}/${PN}-3.2.0-nih-test-deps.patch" - "${FILESDIR}/${PN}-3.4.0-pytest-fixes.patch" - ) - - if ! use server; then - PATCHES+=( "${FILESDIR}/${PN}-3.2.0-disable-server.patch" ) - fi - distutils-r1_src_prepare -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - docinto examples - dodoc -r demos/* - fi -} diff --git a/dev-python/paramiko/paramiko-3.4.1.ebuild b/dev-python/paramiko/paramiko-3.4.1.ebuild index a007b925a2af..931d3f3c9215 100644 --- a/dev-python/paramiko/paramiko-3.4.1.ebuild +++ b/dev-python/paramiko/paramiko-3.4.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="examples server" RDEPEND=" diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 21668cc0aa9e..cad1af4bb942 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,5 +1,5 @@ -DIST pdm-2.17.1.tar.gz 2626200 BLAKE2B f0ab4586fe6af126398081a13bca007ea5fa7e4e2cd7bc99e415fa4fc56fa8cce7ea9028a18ce0e71ec966951ba12f678a000dbd3fe88c6a43b117f737e830dd SHA512 8be1ae474d00b0398f3b3bbf03e5cbe050911d18fa18ef3d7fe46116b6daa68a0e8b68cff90c2742803b167f10a66a66b1b68b84d43f39c3f006c96f38dfedb9 DIST pdm-2.17.2.tar.gz 2627131 BLAKE2B dba6435dd4995311a3bac4b23c35a3ee89cf8756b5e6fa443c6718b94880199fa20fbb89255b9523169171ccc1a87dc94593834e063b329ada299ff1727d882b SHA512 5230ed6303b24dbe75fe9c2021e78d1c2bbbd2fca95717399935ad4f07f227f5effbd6270310d6085fdf5cd656dfb26de7a4ca7fa34bbae0c757fb7d31978d2c -EBUILD pdm-2.17.1.ebuild 5131 BLAKE2B 85dc7b463041b68a1676d8939e228746c92ec7e89343a7de51a6811147cb0023c771861108d4aaba8d92fe5506a64a86fd14e50058001d59571539153e6e76ac SHA512 11b03b4289534cf4174057a8466796abef56b595b1c2750ae14283b7b2929ccb037e41bc9d7b4129860153886c1b91ec77ac6c9255f9cfff73f2cc5955de7aff +DIST pdm-2.18.0.tar.gz 2628627 BLAKE2B a2f7b8ec5a53667e4eaab5f57a583727141000d8cb83be72fc2e2e1045a984eecc4f1611e683096e03283b9630d970cd3654b7b2c5c305e74f8d901b0b3eaa07 SHA512 106b9872435b85a9342d9b60531512d25cdd1c02c9a6b27d06b3f88cdc7803152180221e601d6fa6982fa0c5d735bd159fa1a163ada152e5909d1df63b2bf399 EBUILD pdm-2.17.2.ebuild 5131 BLAKE2B 54bd2f4c89785f41e5b563c48dff6adc39203cba78184d9c51ce5cb73fd75276bc9dd2ccb15b6cf5c0a43275d713f85b1db993bf418334a0ce4ef12eec23b380 SHA512 abea090c86ad712b2dc1cc9d669dd1fe3c302a3ffc65ae7baa9d2b53bd8898e6ee417e26ebfdffafa426907fd93fe5d4e3c4528dca3b0133974a32cee4382109 +EBUILD pdm-2.18.0.ebuild 5131 BLAKE2B 54bd2f4c89785f41e5b563c48dff6adc39203cba78184d9c51ce5cb73fd75276bc9dd2ccb15b6cf5c0a43275d713f85b1db993bf418334a0ce4ef12eec23b380 SHA512 abea090c86ad712b2dc1cc9d669dd1fe3c302a3ffc65ae7baa9d2b53bd8898e6ee417e26ebfdffafa426907fd93fe5d4e3c4528dca3b0133974a32cee4382109 MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.17.1.ebuild b/dev-python/pdm/pdm-2.18.0.ebuild index a12e4a8e60f4..12cd48bf7b07 100644 --- a/dev-python/pdm/pdm-2.17.1.ebuild +++ b/dev-python/pdm/pdm-2.18.0.ebuild @@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/blinker[${PYTHON_USEDEP}] - >=dev-python/dep-logic-0.4.3[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.4.4[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/platformdirs[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index 483f9bf8d7b7..85a940290c2b 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -5,10 +5,12 @@ DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 33500612d103afb817062486a741e8e5503f8 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe SHA512 6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1 DIST protobuf-22.5.tar.gz 4924661 BLAKE2B d69c73f4ebfddf45fd94b4f5f898faf00256fe674f2cbc0443c60a88d7a0f47fb96f2f6262879927c6da88095b4ea3ee7fd4c471c100bf42a2bae9edf48c07f1 SHA512 058ab2fec5b11007972e6043071056d1944c3b6fe1d31246cddba8eb57686e3b5280f6ad3d58e78940ca63005e74a8de3c72237f9f7c5066548c5a2513ddc584 DIST protobuf-23.3.tar.gz 5043803 BLAKE2B ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3 SHA512 646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9dddd615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b +DIST protobuf-python-4.25.4.tar.gz 380283 BLAKE2B 3ded7b654fa4db54b0dff2309f096bcab634b9d587bd94dae4ab49fb2fe9dc8f821c52deed43b026e06189b3b7a1a6697074942c1fa732ec82257233bf1b2f90 SHA512 7b91a9473fafe62b723741faec8e8531c604b025a49ef8be79778f8a48c84c475518447b24f5a08a0a8a8ecb1ff22e2106a3183197b76be3b2b8c6c994d93920 DIST protobuf-python-5.27.2.tar.gz 401640 BLAKE2B 9d3420b75536ffd452cc2a3317a6ad1e16a62df36085f1e329f0178026032f5533e1a96f7b613f91093ac12a44d7ad4059ebededea636f38ded29da563afd075 SHA512 b3afcf13e223d7e855ac0aa000cc395e3ea1301b2e3dfe3c0d5435d8031be3726e6aec1fb6228c572aa1685f75aba2d97d2c9dfdb6d9e058a2e88321d6ba9180 EBUILD protobuf-python-4.21.12.ebuild 1711 BLAKE2B eefe5bc310013fc007050f7baf0be7d3c4370ced384fae6ea824941bb3767af129fcb0a5828ed6a572010f623e733cc858f9d8e27de800f47d7655aed590a603 SHA512 b62a8d8920a68081ed7e1d6fabfbd71f92eec828d431b3a67adcba4bfd4bd8a53fe3004c507bea115f44bdcee4be0d0d8192318be90eadbba269819104e16739 EBUILD protobuf-python-4.21.9.ebuild 1852 BLAKE2B f3b2977f5a058550d6d3ebe4f421da10e6c0f7dc58e2feee4b6d6198d339e1e6810426271b76fc14d9e2b27ed1ad5ddfe49637ff3cdbacdcdd7f4b26b3a5188b SHA512 844ab88f8d881310e05eaad54805a78834b93296b173947e9c55fc64a4e6ec1489219e1db4ef65da836d1ece782860b8b19d915a2e6da44b2582b9125971768e EBUILD protobuf-python-4.22.5.ebuild 1882 BLAKE2B 1e396eee398034d49bab504eb6872cb377a6324b1f4f2d172e2d4764d8d59116db84e0abdbde537704fb9329fa1bb8459988ce85c6e3303d6990fded37924647 SHA512 acf574eabebcca95529c94876b3bcaca16e84bde632194d145fb90487b1b980ab7ee1907bd247c4532394960eaa3c0c06db24111db6df518721247cc5f959e28 EBUILD protobuf-python-4.23.3.ebuild 1679 BLAKE2B ba8ddb53a7cbbeca0be15b890da9e392b928a3aa0ebd3931ef1721e06535bd5f380fb6ee07ec17e162a76ebce54d0586f3ea4ba010e193ee8dcdf54c22d433e6 SHA512 3e585981e2fc709ee6c972535cc6370e17fd1876171cb260e9777af14bd3081fd95b2386504b54f0cb1d1cbfb387bb3c02559ac88d28aa5605551156fbfc075e +EBUILD protobuf-python-4.25.4.ebuild 808 BLAKE2B bcb6657f5ab95426831a18e022a1697c6d7f29f1464dd75f6d43fe2942769a16cabacf0a91f3eab7c0e155e192e546a966e2f9ed2fef43f9d5c777ab3abe2725 SHA512 a638b900c2477cd085b95c62420a5755f6c467c5d9b6840acf53611a183840cebe31b6e723f7f3be1b98c1ea59356683185d94e6064e2a00eb0ca66eacc8c43e EBUILD protobuf-python-5.27.2.ebuild 808 BLAKE2B bcb6657f5ab95426831a18e022a1697c6d7f29f1464dd75f6d43fe2942769a16cabacf0a91f3eab7c0e155e192e546a966e2f9ed2fef43f9d5c777ab3abe2725 SHA512 a638b900c2477cd085b95c62420a5755f6c467c5d9b6840acf53611a183840cebe31b6e723f7f3be1b98c1ea59356683185d94e6064e2a00eb0ca66eacc8c43e MISC metadata.xml 379 BLAKE2B 633742f2c32c646e3c7f065d269b5d17fc99b3adcae725493ca612cd9ce6bda0f2521274619c3433f68227428aad897e783ac4b91dbd983216c0355619015197 SHA512 7d3a14e66af994e2fae5509b7d84012b0004d124021f3eae1a1c112ad0e2a83f622de9d2c7a614f19bac8a15ba889fe1b4136c93c57b9dd910511587d3d09af9 diff --git a/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild b/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild new file mode 100644 index 000000000000..b0d4a3ec76a7 --- /dev/null +++ b/dev-python/protobuf-python/protobuf-python-4.25.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 2008-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Default implementation currently is upb, which doesn't match dev-libs/protobuf +# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYPI_PN="protobuf" + +inherit distutils-r1 pypi + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://protobuf.dev/ + https://pypi.org/project/protobuf/ +" + +# Rename sdist to avoid conflicts with dev-libs/protobuf +SRC_URI=" + $(pypi_sdist_url) + -> ${P}.tar.gz +" + +LICENSE="BSD" +SLOT="0/$(ver_cut 1-3)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 7b4d8128884b..e6cd669a2488 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -2,8 +2,10 @@ AUX pybind11-2.13.1-gcc14-fix.patch 712 BLAKE2B a01e3ec1858e708a1170512abe13636f DIST pybind11-2.11.1.gh.tar.gz 756445 BLAKE2B 66ad933ffcd7fd475121f0b7488e13b914cb090d0ed511b96070e2849dcc537fb55e865b72fe06da6c5d1e3ed8e438799c5b0b60cbdc71e5713530174bff3be9 SHA512 ed1512ff0bca3bc0a45edc2eb8c77f8286ab9389f6ff1d5cb309be24bc608abbe0df6a7f5cb18c8f80a3bfa509058547c13551c3cd6a759af708fd0cdcdd9e95 DIST pybind11-2.12.0.gh.tar.gz 771004 BLAKE2B df95d12cd005c85434ba8a4d80740f437f3f9433b0fbc9e6e1e5bf840281d5cb8295500b6510474a91b45201323b19079743ca927f7d1be2c1dc0dca89833e9c SHA512 c20247a4dccec310307174a26a79f9a98dd7ae7c84a48ad61c61589b02ef74caac26c2945de602cbe38b0bea65fc9985f1cc37f9e2322cae2f824dee98d602f1 DIST pybind11-2.13.1.gh.tar.gz 789821 BLAKE2B b1634878a9a772d1200c79a5e7554a16a9ec76a57cbe4fc6fa86c70f9e383ebeb2b2ced7006392dbb1196144fb02f2415ff511e2b041a6fa3fe63b7c511c98f9 SHA512 97d7a2892af67adad16b6ff0fb3e6324c88d1dd931dfa0d34cf6d181baec05ed791f0980abf2174db22aabaa382fd5b5f00cb287cf6477a4786c999f29719717 +DIST pybind11-2.13.3.gh.tar.gz 793263 BLAKE2B ba295fb0dbbeacd5d2b9fa335cf91c4e4b9daee29c7b994f8878b8078d18a18ee48874a3264f5bff280257cf677339324f7875d2f1bb8b855c6097982a71cdcd SHA512 76629d4ad5b91975bbf3fb05580403915f096a4d91b37d947fdbcb3b44783b3f0c9e5a4e289da222902e6b458e29893521523f41d9eb99da7e4890261be00947 EBUILD pybind11-2.11.1.ebuild 1305 BLAKE2B 60bdb063e9efb295ac3d49497b199cd9b9dedd23e3891ec9c96c6e2867e89c1cee9c16f3a34a4772813a850c74484fefd9c2dd53a072a84025b894546a0b237c SHA512 524695d724d859ea333de8975c392792c4ed685212204ecf72020af767d1cff6fdc307ecbd8e433af3627a76b2c7a5a41e83b13e313041fdd474df73880fb19c EBUILD pybind11-2.12.0.ebuild 1458 BLAKE2B 59b0a968da4155d2450df3b609101e431a70f2f958d7bfdf7a2be64dbb1aa50416fabe41d7dc06b882cda0ddd23dceac47d7c0700a0466bb6b02a1dce9d2da98 SHA512 b5a7bb5ae2eefcc144b337241eb14316d292fc975ab20a0166b159ec43828dc613498a568517f663f835a18e26da9f25410d07fe1a197874e4e6f9e7c36e5ee9 EBUILD pybind11-2.13.1-r1.ebuild 1513 BLAKE2B a478e2ee389aac5d47d4c175bdba94ff0fc2ae529fc1b8e3278ddacd06901a86c85e3978eb7a9a5f76e6f6db7d68f630d0a355c48666d1644d4f999414ae4633 SHA512 705baf40071072de7fa7dc212bdc9c7e907f79108bd803cb23646728d5a260711fe620b18fd8bb7f0e9ac0849202b3c0b2e10a92a104b779e3da8c0f96390d5f EBUILD pybind11-2.13.1.ebuild 1465 BLAKE2B 855356abbdfb0b99d5b41e5b21872fb9454676c244e19169d78d5b74fb35ccbef0b440978e0a775558515da16832d0b09396dba04811e4478910ddbfacb14bc8 SHA512 5b52bc54e96b30787adc8b45bba2f05442a1a3e5cbe62dc9050ce99b64a32377f1c344ae71852e9c927de31fa962aeb77bc036314a52f230586179242e238966 +EBUILD pybind11-2.13.3.ebuild 1465 BLAKE2B 855356abbdfb0b99d5b41e5b21872fb9454676c244e19169d78d5b74fb35ccbef0b440978e0a775558515da16832d0b09396dba04811e4478910ddbfacb14bc8 SHA512 5b52bc54e96b30787adc8b45bba2f05442a1a3e5cbe62dc9050ce99b64a32377f1c344ae71852e9c927de31fa962aeb77bc036314a52f230586179242e238966 MISC metadata.xml 475 BLAKE2B faf317a1197850acb0d16546a303bd50ee1bfe6fc3aaf592e6c147c6612fd20b809f1c911d79ca9a356cfa0c4166d2b155fcbd593f8b55e0d7dd75ff6444073b SHA512 5779adcc9f25c15fd999aa6c91d3144fc14535270e57925bfb8ac67f45448c144a142af2ea9a321ec6ffbf568713f663cef85a0be3d4a056e58b1782a5fc9a41 diff --git a/dev-python/pybind11/pybind11-2.13.3.ebuild b/dev-python/pybind11/pybind11-2.13.3.ebuild new file mode 100644 index 000000000000..c18727f31be1 --- /dev/null +++ b/dev-python/pybind11/pybind11-2.13.3.ebuild @@ -0,0 +1,74 @@ +# 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 cmake distutils-r1 + +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + >=dev-cpp/catch-2.13.9:0 + dev-libs/boost + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + cmake_src_prepare + distutils-r1_python_prepare_all +} + +python_configure() { + local mycmakeargs=( + # disable forced lto + -DHAS_FLTO=OFF + # https://github.com/pybind/pybind11/issues/5087 + -DPYBIND11_FINDPYTHON=OFF + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=$(usex test) + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build cpptest test_cmake_build + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/tests" || die + epytest "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest index 5f60f2d97a6d..82ed9916f7e8 100644 --- a/dev-python/pyquery/Manifest +++ b/dev-python/pyquery/Manifest @@ -1,3 +1,3 @@ DIST pyquery-2.0.0.tar.gz 45210 BLAKE2B 2c1d052d310541b36f526e72906681ea03e0d55be16202c98ab5d5b9f5fc408b7612a353100937381639a03f8871b8bf691c6b0d5ad09dec8cc6f2e2ced7944d SHA512 316a479acd23e371b6e70550681527b15203e7ab62f4722375335180f13d9b48d9170abf308bb26b6180d954de4f8dfea5f90426cb820c5e888cc56f8a99ba33 -EBUILD pyquery-2.0.0.ebuild 1528 BLAKE2B 65ec8d5841d5273419a7e556e893585110ef4a74bb0f1b4babcc73fd77cf19b0053a726e54d6f538a517ec5abcec19879403d0c111de69f67914c061daf02244 SHA512 a1765e74bca59521343f45f4d51bb5edb080031aadff2d3cd66efe574c2b0f65317beadfbace70182be2134ef2a9b7b886351cba48e7cba3b14ed490fb7a2645 +EBUILD pyquery-2.0.0-r1.ebuild 1484 BLAKE2B deed4b7c78a6cf3aafd3ea9ad3fbd9992f524a8919d5d125d276291f7a624affc8b70ab85dd5d3e7e09d5613c371600649120a837ea6a644131e595765dd71ef SHA512 1201948c8010de64327dce44bea23cda00f1f50a3c14a304da58457129fb98208518ba09cabce9b34b54e2192c3c6c65b9cbb0734592196ecb5d6d99ea37405b MISC metadata.xml 401 BLAKE2B 0b74798cdf7529c934996c257374138a47c2d0e9a2b1b6b14511bf913f092d41c09291ecd9bf878b9aff3bf6e0956b0fbf9a59f721e236090aaa5a81db913c80 SHA512 f056c0982c8e233a79b23e9cdcbfcf6b6221e7cbceed7f5966fead5b9f8b7add936754de95650b2b0b8a5c2f5d9d76642ac861baba7379185acc886f01ee92a0 diff --git a/dev-python/pyquery/pyquery-2.0.0.ebuild b/dev-python/pyquery/pyquery-2.0.0-r1.ebuild index a68b278d5910..1b6ac5c30771 100644 --- a/dev-python/pyquery/pyquery-2.0.0.ebuild +++ b/dev-python/pyquery/pyquery-2.0.0-r1.ebuild @@ -21,7 +21,6 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 RDEPEND=" >=dev-python/lxml-2.1[${PYTHON_USEDEP}] >=dev-python/cssselect-1.2.0[${PYTHON_USEDEP}] - >=dev-python/webob-1.1.9[${PYTHON_USEDEP}] " DEPEND=" test? ( diff --git a/dev-python/python-ly/Manifest b/dev-python/python-ly/Manifest index 8d716e5022d8..290d5c7878e3 100644 --- a/dev-python/python-ly/Manifest +++ b/dev-python/python-ly/Manifest @@ -1,3 +1,3 @@ DIST python-ly-0.9.7.gh.tar.gz 239814 BLAKE2B 322d8e9bb3293aada00834e8e4822b2ace11643ac8bec2d351d38f302c941703c1c47f541c5141097fa0e9e7da59fb93f473891a568a222dc5f6cf212e004af3 SHA512 83b5030e2626146f1309b0cc8a4626d6fac58112c97785ef47672fcb14dcb8fb7e95ed86f3afb09709cdf6c15d4ed21619d94926b02315860b9e151c411f6652 -EBUILD python-ly-0.9.7.ebuild 620 BLAKE2B e5ddde916ec019932125b632cae54948e91bb46ee992d8986a749444779699f6d1da3583e8a800135f497054aac2686b93d06f0c7c718eca6ea3dadc24b82afb SHA512 9ef1bd714004b1d811b2861e4b8a0a1a4d4484befa9c4e8ac03e716498dee1576731d4f847b7675bbcb1e27c099b4e05d0dafd0d9ebd8c34a28bcaa1de07e4fd +EBUILD python-ly-0.9.7.ebuild 675 BLAKE2B a749313bfba93b20204ad3f78e0314809470868edb665d09a4605da4436a8f9c3003863773273fefa82cfdef061ebf23d06bf77bd5bd3d3f5de63bccd2aab8ae SHA512 646b792988e13c31343c5e2038177f57818921533a00f776f1066e8cae897d5d0fbeb6bd49790aecef1aae294529022e93a4e9c62a185295a73e75078b0f885a MISC metadata.xml 308 BLAKE2B 98c8e0b71cb17a542fdca32a5ce319424e03edce2e7f4404a196ec22d1268938a04264cc432f67488b4eb2016e748a98e690206253a3e8305a62469c81e16874 SHA512 3fa5710f000482b5ff321d7fd66a0d3eb62542fd4bf18a424a6248dc0b02250fb7c8552e2b3869f6eaed6959be0ecdf63d82f1a3014e258591156561a80fb2f8 diff --git a/dev-python/python-ly/python-ly-0.9.7.ebuild b/dev-python/python-ly/python-ly-0.9.7.ebuild index ea877488ed31..2af0917c276d 100644 --- a/dev-python/python-ly/python-ly-0.9.7.ebuild +++ b/dev-python/python-ly/python-ly-0.9.7.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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_{9..11} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="Tool and library for manipulating LilyPond files" @@ -21,6 +21,7 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" +# https://github.com/frescobaldi/python-ly/issues/153 RESTRICT="test" BDEPEND=" diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 1567dacdeb53..343bfafb3b52 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,10 +1,12 @@ DIST scikit_build_core-0.10.1.tar.gz 251300 BLAKE2B 2727e70c4bfe4e4cf558aaedd3a00eb07268c3e160c6fdfcceb8212842ee1e7e4a6a606c7d1670d25ee1fd45cadf2e40dee847fd5eb627bcf144f239f1ab0f0a SHA512 eebe14d79d339f4c39ab60b05fc6b92f1cd181b6e7ccef74e6976fb990dc51a2db6e6f72c830f6285ca700a48dd3e2ccfc87dafaad9ce26aa32d02fa1795a2b9 DIST scikit_build_core-0.10.2.tar.gz 251394 BLAKE2B 2eb6101ef7558a16ea574a648b1643bd9c701791d9956a865b4c0c0665890c4ee4c945b20638afa339fc1f5fdee1df9671f78a8d459fc09961d6c9e75d263c52 SHA512 8a51401b276073c70a85fd9c44df81eba171edf99af7a3d88b606225abcc83dcd6c2d29170f54bfd521e1141c37fa624292d3e43dccad6a3f6a60b94bf6fda69 +DIST scikit_build_core-0.10.3.tar.gz 251493 BLAKE2B a6616e2e5b997bdf9711cb5afe82a831b8cf960a31c6ca61a2b5c9e39141fe9dbc5698ba1a4002864e40af7ad07d9e627b0cdeaee2866e1a96e00d6732ff9fe4 SHA512 0bbf57555dd0487085940e6c3ac5aa531fada8505b7014353e55d1397ecd1706f87e6c7689c051ada8d2cf20074e0b55e3eb72995faa139719b8fed440dca8c7 DIST scikit_build_core-0.9.10.tar.gz 230104 BLAKE2B e3c4605b4b33260d8deac2cedb7bbb20a08729a36214b13c6071fe9b12f9bddc882c18da0e1ee14d7f1b4845ca0dd02b1c2d5c30c43b96a420c35a8b5cbd2d5e SHA512 0e1cb649f9965f4b13093432a2e36ea9be532ba3b7447c36f898284571dcbcf266b7012a445b464ac9129ec2b91e4155016be1fbab52fc2a979e440b0ea73cac DIST scikit_build_core-0.9.8.tar.gz 229845 BLAKE2B 419d8891dd3f95bee7f8f7dcc1addb94d2698f8ff392eef19a67e851f57b58d09b9878705d0e8d728d3c6f2b316d538c76471164781fcd1fb5d02dfbfd9d7a85 SHA512 f1206715eef1bdeccddc5987cae4f455522c4ef4dbca305ad7d3772c61f5615c5742b109c5527a5ad5e25a2348abff69ea5ae7153ac18c43cca63783872aa3d5 DIST scikit_build_core-0.9.9.tar.gz 229971 BLAKE2B 2e41f59e053a44db07c84df4a03aab7c574b658d51f4b4517228ef0e12618f8de879e3ef704b7be398b5378e1f19b0a8c8dafcd20e3bd15dece9d387306427ac SHA512 c4b826353be3b34dc7f37f571088b7674f6ad8c984fd9985feb4e1b611c503dbf1a5c0e4e8ad1123c9f2e9538572da319f9104145abd598817ca3e29824cc61d EBUILD scikit-build-core-0.10.1.ebuild 1703 BLAKE2B e8206d9c1b62a6c784020072c7a27211b7f93c2962f3420ec0d7ef400c7f0a73233f46b36e61e956373482ce519e044be8e15c92275bdaebcbab88db15feea99 SHA512 6b62b0166d915ffe0498949526713945ccf2bef1b1a403daf9635fd33885499607ed6c3557cba47523d5d335f957eedb04f32a4c4fb7d75add323ca73f4047cc EBUILD scikit-build-core-0.10.2.ebuild 1703 BLAKE2B e8206d9c1b62a6c784020072c7a27211b7f93c2962f3420ec0d7ef400c7f0a73233f46b36e61e956373482ce519e044be8e15c92275bdaebcbab88db15feea99 SHA512 6b62b0166d915ffe0498949526713945ccf2bef1b1a403daf9635fd33885499607ed6c3557cba47523d5d335f957eedb04f32a4c4fb7d75add323ca73f4047cc +EBUILD scikit-build-core-0.10.3.ebuild 1703 BLAKE2B e8206d9c1b62a6c784020072c7a27211b7f93c2962f3420ec0d7ef400c7f0a73233f46b36e61e956373482ce519e044be8e15c92275bdaebcbab88db15feea99 SHA512 6b62b0166d915ffe0498949526713945ccf2bef1b1a403daf9635fd33885499607ed6c3557cba47523d5d335f957eedb04f32a4c4fb7d75add323ca73f4047cc EBUILD scikit-build-core-0.9.10.ebuild 1740 BLAKE2B 2604dfe04f1d2f015b8e397f57d3d025c1b21286917d42aaadd46d9cae7ab8a1b670108b6d83150a8e9e1381f3961a7a676ebfe05dbbc6dbefcc37f4f49a29b4 SHA512 efc846e09aa1346c5426bb1869c6ff81805afa28d4c3610290a38f75237f88e5fcebe5b134edb8c453eeacdcadbfe3bcdc3d31fd14cfeaa376388adc1a87890b EBUILD scikit-build-core-0.9.8.ebuild 1735 BLAKE2B 56272c936685e985210652dfd7abe4530eb792df369ba287c60f0a4eb1f6d71d144d02ac4d8ebd15c31bb1ac5bbfc0d1c97c02d86fc4adf53a2fda71172df654 SHA512 bb06aeefeda4d936753256d53a585df80a16f1eaaf4c1de9d5e84b5752769bba7aca39e805906b0c68e766161d6583869efab44a6149db92b6ceaa02086c1f6e EBUILD scikit-build-core-0.9.9.ebuild 1740 BLAKE2B 2604dfe04f1d2f015b8e397f57d3d025c1b21286917d42aaadd46d9cae7ab8a1b670108b6d83150a8e9e1381f3961a7a676ebfe05dbbc6dbefcc37f4f49a29b4 SHA512 efc846e09aa1346c5426bb1869c6ff81805afa28d4c3610290a38f75237f88e5fcebe5b134edb8c453eeacdcadbfe3bcdc3d31fd14cfeaa376388adc1a87890b diff --git a/dev-python/scikit-build-core/scikit-build-core-0.10.3.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.10.3.ebuild new file mode 100644 index 000000000000..49c374cbe912 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.10.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 2023-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="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/fastjsonschema[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + # setuptools now respects PEP 625 + tests/test_setuptools_pep517.py::test_pep517_sdist + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest-subprocess -m "not isolated and not network" +} diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest index 78106b3926a9..85e1a109f917 100644 --- a/dev-python/scikit-image/Manifest +++ b/dev-python/scikit-image/Manifest @@ -1,6 +1,7 @@ +AUX scikit-image-0.24.0-py313.patch 2945 BLAKE2B 69d13d76218faed3c733b8ea88da99264913c32cc190e282a8f19a739fb0bb2d62cf5e3210d8a10ac824b1b43eb7447a29450de776524f2d4fb634fc63806d81 SHA512 643eb8269ed9af6345daa45d51470e400753876e9b7e4be147d2cd48ade109b9aee9fbc1527cc029e0d43f12aed88b45043255e175550aba8a4dde627db1a141 DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146 DIST scikit_image-0.23.2.tar.gz 22678261 BLAKE2B 11c44676e9f7bce7735e85d8416175a55b1808807b99597d60495dc2b0c961a05a514b5ec456665a25d31cc09a20e430c331cfd5bc10afa01ca4070722aa03f8 SHA512 8abf6c2bb92a75524d254265822cdc49db636a482efe0d6459fc113f6898bc5c19ad58905a5020a9c4262f55993ad2e8d13810023c62d06c5ee9854666f5337f DIST scikit_image-0.24.0.tar.gz 22693928 BLAKE2B f165f702908fe446b459de3db0ec056a4b79d7266f85bc81c991569c1e492c22d238e8553d8f035abd83d4d3c4b449304e74b55d8bf558cac977c3ea5f0c864a SHA512 becb062725b4c1f64e12a1f775175e48dbce1b989c1e8f40ec04ff79cb926740be514b9a0a68e3f9e17fb0d3c7b860c7451b91eb178bbae93521e02e3e8e92db EBUILD scikit-image-0.23.2.ebuild 3215 BLAKE2B be34b34b47c26ac9e5756cc76d1ed7b2cc588a2c8acb31629db966fdb525e083b1bf7a776d132de256904d61e524f88a73bbd1d587ac7feb94a3ac8e0beaafb0 SHA512 ec3d7530beb99c996f94f4b23f85bfa5df98a2bb5ce5ee2e2d7d50992d1b1d419f3222b0a0b7dd9b3c5fcae936f87c7b9c91570f5e866153f58c9bf1e6fb04a1 -EBUILD scikit-image-0.24.0.ebuild 3215 BLAKE2B be34b34b47c26ac9e5756cc76d1ed7b2cc588a2c8acb31629db966fdb525e083b1bf7a776d132de256904d61e524f88a73bbd1d587ac7feb94a3ac8e0beaafb0 SHA512 ec3d7530beb99c996f94f4b23f85bfa5df98a2bb5ce5ee2e2d7d50992d1b1d419f3222b0a0b7dd9b3c5fcae936f87c7b9c91570f5e866153f58c9bf1e6fb04a1 +EBUILD scikit-image-0.24.0.ebuild 3359 BLAKE2B 9e173381f51ee0b650c6b5a03b2f443bcece4090604af6cc9ce61d7149163820e274a5a7177571628b1e980e808e1c19c2a0a555cdfdbddf2ed6b3af2cf14115 SHA512 9c720c7685a5388ff4bb33611fbcb243157597796ad880cf3975c5dd9ff0ddc68a2567f9b651b248bef5246355e3db3d719a19772c5a4628b4c2a844b4baa667 MISC metadata.xml 695 BLAKE2B 11487b964bde2ce1a39a8680bc3cc62045c4a7e2e17844de830d5f0e043660c431cd002a2a0fc19acb4c0262289ee280195475dd1f8b35f6a51ce0df369871f8 SHA512 fca83587d443373fc7219911900105676bdba5a7ced07ac00a9ab5cbe361d8ca1175b02b04fa53cdbde6f198a986b21f989baf32139cd76b7d1b2b78034d3142 diff --git a/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch b/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch new file mode 100644 index 000000000000..664a2388c08e --- /dev/null +++ b/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch @@ -0,0 +1,82 @@ +From ee41933e3ea15769cea32a514cdaeecbe84b70b9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Edgar=20Andr=C3=A9s=20Margffoy=20Tuay?= <andfoy@gmail.com> +Date: Wed, 31 Jul 2024 11:43:59 -0500 +Subject: [PATCH] Add CI to test scikit-image against free-threaded Python 3.13 + (#7463) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +enables testing scikit-image against free-threaded Python, +this is part of the ongoing effort to test projects against the +changes proposed in PEP703 + +--------- + +Co-authored-by: Stefan van der Walt <sjvdwalt@gmail.com> +Co-authored-by: Lars Grüter <lagru+github@mailbox.org> +--- + .github/workflows/tests.yml | 26 ++++++++++++++++++++++++++ + TODO.txt | 2 ++ + meson.build | 2 +- + skimage/measure/_regionprops.py | 9 ++++++--- + skimage/meson.build | 10 +++++++++- + skimage/transform/_geometric.py | 2 +- + skimage/util/_map_array.py | 2 +- + tools/github/before_install.sh | 6 ++++++ + 8 files changed, 52 insertions(+), 7 deletions(-) + +diff --git a/skimage/measure/_regionprops.py b/skimage/measure/_regionprops.py +index 9f34d6a1c..82a03b394 100644 +--- a/skimage/measure/_regionprops.py ++++ b/skimage/measure/_regionprops.py +@@ -1,4 +1,5 @@ + import inspect ++import sys + from functools import wraps + from math import atan2 + from math import pi as PI +@@ -1406,9 +1407,11 @@ def _parse_docs(): + import textwrap + + doc = regionprops.__doc__ or '' +- matches = re.finditer( +- r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n [\*\S]+)', doc, flags=re.DOTALL +- ) ++ arg_regex = r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n [\*\S]+)' ++ if sys.version_info >= (3, 13): ++ arg_regex = r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n[\*\S]+)' ++ ++ matches = re.finditer(arg_regex, doc, flags=re.DOTALL) + prop_doc = {m.group(1): textwrap.dedent(m.group(2)) for m in matches} + + return prop_doc +diff --git a/skimage/transform/_geometric.py b/skimage/transform/_geometric.py +index 6f696e95b..56cedae63 100644 +--- a/skimage/transform/_geometric.py ++++ b/skimage/transform/_geometric.py +@@ -687,7 +687,7 @@ class ProjectiveTransform(_GeometricTransform): + + return dst[:, :ndim] + +- def __array__(self, dtype=None): ++ def __array__(self, dtype=None, copy=None): + if dtype is None: + return self.params + else: +diff --git a/skimage/util/_map_array.py b/skimage/util/_map_array.py +index 1f852fdb6..125dfb211 100644 +--- a/skimage/util/_map_array.py ++++ b/skimage/util/_map_array.py +@@ -129,7 +129,7 @@ class ArrayMap: + """Return one more than the maximum label value being remapped.""" + return np.max(self.in_values) + 1 + +- def __array__(self, dtype=None): ++ def __array__(self, dtype=None, copy=None): + """Return an array that behaves like the arraymap when indexed. + + This array can be very large: it is the size of the largest value +-- +2.45.2 + diff --git a/dev-python/scikit-image/scikit-image-0.24.0.ebuild b/dev-python/scikit-image/scikit-image-0.24.0.ebuild index 2ec63290c17b..5bffa476e8a6 100644 --- a/dev-python/scikit-image/scikit-image-0.24.0.ebuild +++ b/dev-python/scikit-image/scikit-image-0.24.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=meson-python DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 optfeature pypi @@ -51,6 +51,12 @@ distutils_enable_tests pytest # There is a programmable error in your configuration file: #distutils_enable_sphinx doc/source dev-python/numpydoc dev-python/myst-parser +PATCHES=( + # https://github.com/scikit-image/scikit-image/pull/7463 + # stripped down to minimal 3.13 support + "${FILESDIR}/${P}-py313.patch" +) + src_test() { # for some reason, upstream refetches data that's already in the tarball # sigh diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index d9b6d263dbfb..606ac5f6e8e4 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,4 +1,6 @@ +AUX scipy-1.14.0-np2.patch 2765 BLAKE2B b243c73d6f3671f3d0e70bdf21b2f956da6a1b8dea849dadbf6a5a62d3fdb858db6fbd3b15c3c6b4497d95ffda3665605295c3433c42af1b415f27be56c7a73e SHA512 855f025d5b49eef9a480af2f050f7a6d9957c16a04d8091500877528767b5e70859ce0bd8a367ab676a68f1f21370996d7bf8e68fa99bbc6f330460563567e60 DIST scipy-1.14.0.tar.gz 58618870 BLAKE2B bf9ed05628b02dc058555402995caae722cf6802bde80387d4e4477ec533589a66ca70b5dd44a32ddac652c7c69300406434b80e7cbc9aee2a78ae6b26ee4c2b SHA512 6579d988a2093602f5fc82203bbb5dc5690a95032484b5d5bd843d1e7995b3b89d802c7b38ec0345c1f3d8e22c98fb92b3982a1eadfcdf63607f929a52b56abf DIST scipy-html-1.14.0.zip 65723829 BLAKE2B ba47dbf00a5d2a53a9addc5ea68ab18b42f211a018b89aa4b0b57ff0dee02e410a3effc59ddf8fbbc5aa33075d45d86880aed3a14068da5bd7b62ee526199967 SHA512 93be0bafcc64cea1ba130bbcc77c0741acc4f819c84a5030391a22657a1bc63abe8434a2723f66b7ad04c0809dc6d02e3a97ffb8d94bd3d4a4bb759ee796b475 +EBUILD scipy-1.14.0-r1.ebuild 4343 BLAKE2B 45caf57e6f6f62287150efd0e7a8d6c484a58332027cfa05042d76833f0a26ab5e35c177c2eed2b85a332ac41b206e98ea254e6010257544bc21f15fe176c850 SHA512 af45e4f2a2adcc88dee971b865be13026e1853a76964844c533ac3c2c63ba2013f566224a746500f4851845265c95e220a0ee0b8ada5bb1fa3ea129c48b80e9d EBUILD scipy-1.14.0.ebuild 4200 BLAKE2B e09240f54150aa756aa33388670a242835fafc7bfc1f4373156e72eee64176e44f49681fd2e88e87ffe8b6d9702b592870dc16f1ea61018f4915a82039f76143 SHA512 aa078bb6fbf623ba13095b1a2a0768f07945c888cb49310ec90ca460f33c9496a410095487e0891b8e93d2807cbb38484cf9ca71cac6629370bf7ea2e6fe004f MISC metadata.xml 953 BLAKE2B a09ea1325a175e349fbc3ca77c5e7b373538ea01147e8544f44b7d4e0c55fbbc2012431fcfe9a3457e82d295e4b5630df1ed69c48ef3462ed9b157af30a1e09a SHA512 74a21c6e1a9bef95b3d74a9513c59d302f473725c04fa32a9991b6108113c0f4b78179ce4a628140e7aa870c24ca60bddf7a00063b6b73dd45110112311371d8 diff --git a/dev-python/scipy/files/scipy-1.14.0-np2.patch b/dev-python/scipy/files/scipy-1.14.0-np2.patch new file mode 100644 index 000000000000..fdb81baa68a6 --- /dev/null +++ b/dev-python/scipy/files/scipy-1.14.0-np2.patch @@ -0,0 +1,68 @@ +From 87c4932ca0e4dbe10f918bc5e8096e30fc6557e7 Mon Sep 17 00:00:00 2001 +From: Lucas Colley <lucas.colley8@gmail.com> +Date: Mon, 29 Jul 2024 17:57:11 +0100 +Subject: [PATCH 1/2] BUG: stats: adapt to `np.floor` type promotion removal + +`rv_discrete._cdf` relied on `np.floor` promoting its integer input to `np.float64`. This is no longer the case since numpy/numpy#26766. + +[skip cirrus] [skip circle] +--- + scipy/stats/_distn_infrastructure.py | 2 +- + scipy/stats/tests/test_discrete_basic.py | 12 ++++++++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + +diff --git a/scipy/stats/_distn_infrastructure.py b/scipy/stats/_distn_infrastructure.py +index a7a0bb66b396..83954af2c11f 100644 +--- a/scipy/stats/_distn_infrastructure.py ++++ b/scipy/stats/_distn_infrastructure.py +@@ -3392,7 +3392,7 @@ def _cdf_single(self, k, *args): + return np.sum(self._pmf(m, *args), axis=0) + + def _cdf(self, x, *args): +- k = floor(x) ++ k = floor(x).astype(np.float64) + return self._cdfvec(k, *args) + + # generic _logcdf, _sf, _logsf, _ppf, _isf, _rvs defined in rv_generic +diff --git a/scipy/stats/tests/test_discrete_basic.py b/scipy/stats/tests/test_discrete_basic.py +index 1ebc9371c075..3db2f0666dbd 100644 +--- a/scipy/stats/tests/test_discrete_basic.py ++++ b/scipy/stats/tests/test_discrete_basic.py +@@ -549,3 +549,15 @@ def test_rv_sample(): + rng = np.random.default_rng(98430143469) + rvs0 = dist.ppf(rng.random(size=100)) + assert_allclose(rvs, rvs0) ++ ++def test__pmf_float_input(): ++ # gh-21272 ++ # test that `rvs()` can be computed when `_pmf` requires float input ++ ++ class rv_exponential(stats.rv_discrete): ++ def _pmf(self, i): ++ return (2/3)*3**(1 - i) ++ ++ rv = rv_exponential(a=0.0, b=float('inf')) ++ rvs = rv.rvs() # should not crash due to integer input to `_pmf` ++ assert_allclose(rvs, 0) + +From fe924edb6564358df24de8b915861d6754c6e94d Mon Sep 17 00:00:00 2001 +From: Matt Haberland <mhaberla@calpoly.edu> +Date: Sat, 10 Aug 2024 12:15:56 -0700 +Subject: [PATCH 2/2] Update scipy/stats/tests/test_discrete_basic.py + +[skip ci] +--- + scipy/stats/tests/test_discrete_basic.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scipy/stats/tests/test_discrete_basic.py b/scipy/stats/tests/test_discrete_basic.py +index 3db2f0666dbd..2bc53d95228a 100644 +--- a/scipy/stats/tests/test_discrete_basic.py ++++ b/scipy/stats/tests/test_discrete_basic.py +@@ -559,5 +559,5 @@ def _pmf(self, i): + return (2/3)*3**(1 - i) + + rv = rv_exponential(a=0.0, b=float('inf')) +- rvs = rv.rvs() # should not crash due to integer input to `_pmf` ++ rvs = rv.rvs(random_state=42) # should not crash due to integer input to `_pmf` + assert_allclose(rvs, 0) diff --git a/dev-python/scipy/scipy-1.14.0-r1.ebuild b/dev-python/scipy/scipy-1.14.0-r1.ebuild new file mode 100644 index 000000000000..1352c9c3bfbd --- /dev/null +++ b/dev-python/scipy/scipy-1.14.0-r1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 + +DESCRIPTION="Scientific algorithms library for Python" +HOMEPAGE=" + https://scipy.org/ + https://github.com/scipy/scipy/ + https://pypi.org/project/scipy/ +" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + # Need submodules, so git for now. + EGIT_REPO_URI="https://github.com/scipy/scipy" + EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" + EGIT_SUBMODULES=( '*' ) +else + inherit pypi + + # Upstream is often behind with doc updates + DOC_PV=${PV} + + SRC_URI+=" + doc? ( + https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip + )" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/scipy/scipy/pull/21283 + # (breaks test_sample_scipy in dev-python/sympy) + "${FILESDIR}/${P}-np2.patch" +) + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + ) + + # https://bugs.gentoo.org/932721 + has_version '>=dev-python/numpy-2.0.0' && filter-lto +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + + local EPYTEST_DESELECT=( + # Network + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + + # Precision issue with diff. blas? + scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # timeouts + scipy/sparse/linalg/tests/test_propack.py::test_examples + # hang or incredibly slow + scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient + scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient + + # TODO + scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems + ) + local EPYTEST_IGNORE=() + + if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then + EPYTEST_IGNORE+=( + scipy/datasets/tests/test_data.py + ) + fi + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # fd leaks in tests + # https://github.com/scipy/scipy/issues/19553 + scipy/fft/_pocketfft/tests/test_real_transforms.py + # TODO + 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]' + # missing dict.__ror__ + # https://github.com/pypy/pypy/issues/4934 + 'scipy/sparse/tests/test_dok.py::test_dunder_ror[dok_matrix]' + # mismatched exception message + scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_initialize_catch_illegal + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # docstring formatting + scipy/misc/tests/test_doccer.py::test_decorator + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 25e629782ccd..4d4fb2c1eb48 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -2,7 +2,9 @@ AUX sentry-sdk-1.21.0-ignore-warnings.patch 329 BLAKE2B cdb4295e600d868feb11b4a0 DIST sentry-python-1.45.1.gh.tar.gz 474940 BLAKE2B ae3195bceee5beb79d36958b79992fc8433d5315052e7cb4dde2dad4a21482549b28325329a9bd6cc44376acff69ca41b1506e7341c17314318cc93360b5fbcd SHA512 15c42187ef1a9ec1515e23e4e49980e8aecec4bd1f63866bc793bbaf75d9663a636d34c1fcc46faec839685d50366e0a2c9a2e735780d8a1f47f5986bf9fc6a6 DIST sentry-python-2.11.0.gh.tar.gz 537891 BLAKE2B ce46efe95a61088f92c02c13ed55c4cde4e1b17cbfbbbdbb0b8092f83d5571239d004810ca193f7954f0469018b2b881ec254530c13d58056993c2811a14a376 SHA512 339ed1b325c84ef350ca29deb326b4adff5a9b648a03ec28dcf6ca461856c79b2f30944a1360204d54020732564f6c30ebe3fc8902c3b3c2a7e66e5bb0f7994b DIST sentry-python-2.12.0.gh.tar.gz 537094 BLAKE2B cb009c4569e5defae8cfb44bbc1260d63554dc0f002675910e8be0b9d0259f89a860d2852d9f9af8460c76d2eb311339f40847d94bc05fb06fbd677cad3d46e3 SHA512 61cdd006792dbcf4cb77f1dd3935d1ba1232361aa2e7b48f2b423873fec88c6d01c24c52cc4520989a501d372ee1d22a580ef89887c454045f6d5ce20e2e2c32 +DIST sentry-python-2.13.0.gh.tar.gz 549156 BLAKE2B 2d9a009b53c0ada24c84a1deaf442c25a573d3e7df031bab143ab650937ce7e9f6e4e75f9427b50f2e0ddf196c816b89e81cd67cacbc6c301f854f92d59ba5ac SHA512 4dd48d8acd1a132d93e08bb44028b7ec88b75bb821acbc3376391527e113c38abd74b4bc535b9a1f79fa3647bbafb22de85a6a553dc2c61fbd6095ffb39c6f32 EBUILD sentry-sdk-1.45.1.ebuild 5762 BLAKE2B 293cc9193b547971c44392b9500900fabe5f8dd7da6a237e58a42a38f4f9804db47fa539df90e6246e7be6574733ca883621e17e57d035ebb32596a281b86566 SHA512 571b8fc9d0f0e4b5ea8b5ce3426af73e713220158c121ddf9bd833a097edc027708c11aef53d911f69d0362277996776c4c428c3af1a013766f190e8f9179adc EBUILD sentry-sdk-2.11.0.ebuild 4529 BLAKE2B 61e4237b1b4dbf928554395a47e7d39bcfd77a37b8433544f00eee748f6839c8f80248204f894a280b370f6c34b858a2621cd8d5ed58503eb149b9315c4bf8a7 SHA512 203c35fce5e2293e87d8f616bd4212946a48fc845693690b66fabe10da33853b860c1667bb03456910d6f78ff25d2254e21c4b30188ed3ef866e51aeb312c1e7 EBUILD sentry-sdk-2.12.0.ebuild 4533 BLAKE2B bc0a1a1810919917cc234d57eb447fbd9b6cf829e53683bb9e2bc00c8cf622583137313e3f5de57dc2d9a0623c209d46a25c903282ba5ebded2dc18cfd616007 SHA512 1936aa5bbc8cfb605c449b9390ffe14bbb5dbc83e83bb198d3774e9edeb047807b5305a3bb3cc0e4e1419ebf0cc79a8f00e8484dc9cbd8248e4ef9212bbce799 +EBUILD sentry-sdk-2.13.0.ebuild 4585 BLAKE2B 9363926a8679266857037cf06e185c9039455b86d8e4d1d471808dcf1ccdaa035a554a6a2925e007faf952e23fd7a3eea965f8a8639b9250f4c1f48f0a5f3d19 SHA512 f55a35fe202376bc37c08e0b548f67ecf34544bd5318a7c29628818e1c8fb44bfeec807f3150c783afb2f3188b4a9bbd44a44d4eb650489829f41419125adf39 MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild new file mode 100644 index 000000000000..ee64a08f826c --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild @@ -0,0 +1,129 @@ +# 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_{11..12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + <dev-python/pytest-asyncio-0.24[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # TODO + tests/integrations/bottle + # TODO: most of them hang + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq + ) + + local EPYTEST_DESELECT=( + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk + tests/integrations/aiohttp/test_aiohttp.py::test_span_origin + tests/integrations/stdlib/test_httplib.py::test_span_origin + tests/integrations/stdlib/test_subprocess.py::test_subprocess_span_origin + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + tests/utils/test_contextvars.py::test_leaks + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules + # TODO + tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop + tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop + tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required + tests/profiler/test_transaction_profiler.py::test_profile_captured + tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate + tests/profiler/test_transaction_profiler.py::test_profiles_sampler + tests/new_scopes_compat/test_new_scopes_compat_event.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked -o addopts= +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index de3e90123af9..3d5abb818467 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,6 +1,8 @@ AUX setuptools-62.4.0-py-compile.patch 3704 BLAKE2B 9a5e70d2556b059be0ef060abd1db71298cd0e9aa1e2795d92cea5cdbaf0c82f4433e1a0c3095f4bc41bc72a457b63142253fe46c712afa1d7855a5d43607bca SHA512 48d7c065e2d8c29ce6e498effe6d79f9caa0f37d7cf6cadd0ed02c48d196a4d8a10a73cfa26744d6f74b48c63cd28a4074b161a6aae18c6169f6d8fffb044b1e DIST setuptools-71.1.0.tar.gz 2422233 BLAKE2B b98bc2155cdf5acabd52c942a8b7908dbb48b39a3abbf065e42b089e22c3bba27aeee3492c5ecfc1de8b4bdba3c97259cfc609a31cdc11cdaf23f9a2dbab8685 SHA512 2cb817d3dee790ab1e71739b3980361c6dface44fa9c027a92aa3f96e758c034b0330de5eae48365dfa17933fe050f8418cff23fea192b3c616789215e411c1a DIST setuptools-72.1.0.tar.gz 2419487 BLAKE2B df05affc48f8909b6b3b9dc30ef33e31c4b3781e747fea7d23b855d0294976f563e25b268666bfd2c758be66eca00e3e850463ff3d6f26b891185a2a15c8d31c SHA512 d0a34f16dfa6bb9a6df39076cd43528cf854d343f6f801c448ea0ebab2a259aec3d03571e2a26709df6082ed2fcb6c43b86448be556fd559b6af41831b4f38e0 +DIST setuptools-72.2.0.tar.gz 2419230 BLAKE2B f04c196d13f62302e7c6f30a1021598fe22955cc8c980ddf22efa65f4d398c25273552b1a19b8719e2fee722dc44e9f1a2e339c5b6da8f4ca4ae8399cd27b2e1 SHA512 029c711be2953cc7fd88b6a0a00715e05ac04414e085e0b2387d58757c970a3316afb6e13426fa10dcc53785b98c8543ba48d49acf223a6332399a39a4924732 EBUILD setuptools-71.1.0.ebuild 4261 BLAKE2B 5211e0e5aa791afcc0d700964638ba793e5c5fe507a036dbad025dda8f3905575b92d472ba0db77ae43ddd5c6cb86cba877275a7b7ca8322ad095294053cc125 SHA512 2989175c52bd37682d09c333883ca57dd92b1b40ccaf755fc820c6f31cf8d503f2846a965ec8cc94e420facee4930b9395083a34e5536b146a5d86534d6d2ad9 EBUILD setuptools-72.1.0.ebuild 4269 BLAKE2B 78e7fe35b750972505bc2c377a1dedaa14f70d5760678ccfa85d2dc6fc5d52784fe3fd9dba0e9c911cd0eca452947a75772774430f124f131619ccac828efe9b SHA512 88cdd454acf31fa539f5ba486c2a7a4bc8a43cf9364e08fd81ad9337d3725bf651bec5102171f05b7c00dac3f8ddd0af944941ed05f4726d96c6decb482a1452 +EBUILD setuptools-72.2.0.ebuild 4428 BLAKE2B b584ccf973ab6784e0d5187499b5f140d1cb3e6b88bebd5439a1af5439ec5eabd2cfd6082ad02b007fe9ab38d3b4f1331bd4a49400231e79e6061462ea2c80f3 SHA512 a1cf38c6eff9313656f907de31eae6504ad66bea90b7a257e324400917c80a93490d50656c3251daa16565455cf2d24d5af94aa7665603bd4b9312ece90b9312 MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/setuptools-72.2.0.ebuild b/dev-python/setuptools/setuptools-72.2.0.ebuild new file mode 100644 index 000000000000..b861cccb6b65 --- /dev/null +++ b/dev-python/setuptools/setuptools-72.2.0.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/setuptools-rust-1.8.0 + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${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 + ) + + 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/soupsieve/Manifest b/dev-python/soupsieve/Manifest index 997162bbcb8f..ce10541c08c9 100644 --- a/dev-python/soupsieve/Manifest +++ b/dev-python/soupsieve/Manifest @@ -1,3 +1,5 @@ DIST soupsieve-2.5.gh.tar.gz 104832 BLAKE2B 8f3f2079e3ac758bb4459529e92015348e628be37f828c14d6729505097f208a2d88c2d315e0ff8c33ff3fcec7fc670df38c0a685dfb492c8f40d5a95d5f9d18 SHA512 5b3bb1f8ea84c69a97b273c87f385513baf9f0c49f5cf822120e4a73c16801ad8eb65f7ac32f83091b3efac716b3a7097b7511273e7fb8079f49ca6caa238656 +DIST soupsieve-2.6.gh.tar.gz 105495 BLAKE2B 0d84abf1bdb5dde8884b1594cc588d4ccfa9df486149cf2f44784bfd86a6dd3a645e1ad319283837cc11d9c9bcdc8fa190b9315d0d2565c7ea0ebb5a887562fa SHA512 ee30c999721b93b3812270ed713d3450f460deac285472f939669bfa607dd195a1325e2e8cb86e233b693f7ff01a77eaf81035a1d4e7cd06a2ceb7db4ae88ea5 EBUILD soupsieve-2.5.ebuild 766 BLAKE2B 9c8b8c27f4609938c60e33401113418d5b3125a6c985cde60379c80627a9dc12b671f6513e45e0768235eb285c59d6fc3bece047d17434c1451fb751f0e0752c SHA512 ab08dbce5208a7175966320c696f9388cf1a7a9cb3408630756cfc41da0f2fe44ed6b59af5f4eb1f11d8eba6a5c4da6796c6df4f7d628adb5e5d1697c2d8fb06 +EBUILD soupsieve-2.6.ebuild 774 BLAKE2B 2119dc74b0ec176f82297e411278c1fb9747c200eb771697e7f04f39628ed0ef4b5f5605189e678b1cb650bf1212c8e3d5f7582c6e8e67c4b71a4d9fac887c55 SHA512 7c7b06ade63013c62ef32024f9ba727b73ac38d06624d8afce23a9a0caec329c842766b53a186a0785bc9e8766f943f31ab04f7f0202c3084fba5271e70aeb68 MISC metadata.xml 399 BLAKE2B de09909e906d138c664a0926eca614abf7953e16d5fb0bb0babed691906360cdb8c87b9a79ea5ddd2492b4e8cee561e5433d02ba47be5cf670fbde9e70dfed9f SHA512 0ca6cbc294f232ae9d0f5f0de3cb1c133f5742435d523a0481bd7449dd9a75aa950f08a668b4e1900e520461410e0eb864dc913361204909524805f1cb9e0a2c diff --git a/dev-python/soupsieve/soupsieve-2.6.ebuild b/dev-python/soupsieve/soupsieve-2.6.ebuild new file mode 100644 index 000000000000..21f240fe8095 --- /dev/null +++ b/dev-python/soupsieve/soupsieve-2.6.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=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" +HOMEPAGE=" + https://github.com/facelessuser/soupsieve/ + https://pypi.org/project/soupsieve/ +" +SRC_URI=" + https://github.com/facelessuser/soupsieve/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 838eb35c0726..b116d2791764 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -20,7 +20,7 @@ DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea7 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST sqlglot-25.10.0.tar.gz 19114093 BLAKE2B ba6f5baa520453925bcd9d191e0ebdab995940b958bbbf89fddfe289bd0c902db76a9db4a64010b153ace62abc2765b6d544b55c047ea9f02f3c47bcbf7622df SHA512 7a6135584da998c5258f872ab0c19aad8d9e8018186f85971934d34e06bd76af8209a92f04489df5da6bf17e6a4e6fd7a1325883ffbfa8703788a0682b96c4c5 -DIST sqlglot-25.9.0.tar.gz 19085053 BLAKE2B 4565bd413407bb5cb59679a588a2782479de924775d8b7666dbdc33270f59b6e6067414b55d95e8b48c9f24a9a4680a6bbfc5b97045dc50d21c2a74c0a13b5fd SHA512 7f950d86513d511628369baffc0c510b43347c77670a6c403a9717bdd9fd3183269bce76b69bfe1fe4851d70e1f1f2ab240fe8c414e3aca9d10574a99dce0364 +DIST sqlglot-25.11.2.tar.gz 19157603 BLAKE2B 98fb96a6682692d3e06884eb07e09c32d7237db655246530fc2ae2be4432daf258f7eca559a7058b2910efee7cbd3feca3f6c117bc253783c0ce2f358bdb2c97 SHA512 0704f1587a5c866a8782a166f250a5a7e5d9a2da16d4b6308cc4027f3be57d9d2b3dbf3a8df6a28ec9244439520358012c99c4b07a08da8ab8039635c08ee56f DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -34,5 +34,5 @@ DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 EBUILD sqlglot-25.10.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 -EBUILD sqlglot-25.9.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 +EBUILD sqlglot-25.11.2.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-25.9.0.ebuild b/dev-python/sqlglot/sqlglot-25.11.2.ebuild index 3ecfcc322a3e..3ecfcc322a3e 100644 --- a/dev-python/sqlglot/sqlglot-25.9.0.ebuild +++ b/dev-python/sqlglot/sqlglot-25.11.2.ebuild diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index f8a042584551..a1095ca16a18 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,3 +1,5 @@ DIST sympy-1.13.1.gh.tar.gz 8130206 BLAKE2B 92ecaccddc5e48ac8e338488ff67cd0b6fdd9b40105334a82fc81c2ae4e6162a369ce142c6a61041698378d2c08eb5f95595702c35219a90d797485176f6fb23 SHA512 3e742ec74b6f774660a43b93c8b8a14ad97fbcf998c2ce15a6512ced5003804f4dec34f8beb3ad1f45f0f0a701110d1a81d6855075db03436cc77c101b33d7ea +DIST sympy-1.13.2.gh.tar.gz 8141028 BLAKE2B 7a51fa75f1733364d467b79174b71ba866751399d311212144fdc3abdc8cea99618baf0b0fe3f2fe4cb9ab7153ecae4fe4bf00716e97ea4466637633f5618089 SHA512 87f7da425ed577e78392671cb635c99a11f3d6431b8c49a41611f4d2be5da1cadd8d07e0e684f2674792a2ee750b4031baec53156e7192d4c47714d4537c3222 EBUILD sympy-1.13.1.ebuild 2975 BLAKE2B b1d3db487812c9b9e16f4d0b86cffc43e3bc681daa355ec92fb75ef7c359e479bab162bd082ad248479d6019bb330eb52ca2a95e1402fb36716cc9e845f1969a SHA512 03d4fd9d74efdaf9cf83bcb322c71ec2fac8bd3d9835c620d879a12b90ca8af02f75edd0bd5530dff5194f07391cc20d19e6e218d64a567f2134ea164310e128 +EBUILD sympy-1.13.2.ebuild 3050 BLAKE2B 9f42f175895c7b8042e3a95f1d3e055992dc18eb23a0567a446905178cf96f01fedf62cd248c4e24ad72c0812e7ad56c291bb2854406a68d3bcfa1f45e40f752 SHA512 d6b816ab1c06a33913831be49601b9ecdc7349b93d1e4256edcad67378507458ee69686356c8cc91e47cb221d43d1716b0ba0f227ca8535b8998372b1a4efd74 MISC metadata.xml 1639 BLAKE2B b539888e4658c640442db1cb6bd6561664ee6c50109926d69572f4e2cfcdbef230a56909e799b09b860a8688ce66455ae5c5ac86099893ba667feb0198f65abe SHA512 9ba4c310c759e9e7fa3a726850b342e79ed07e4ab369ad126a35b1741fd4d343ba75af457cfcd76c5539b3259e0eb198fb58ae965c231bb38a94c83c00f52e48 diff --git a/dev-python/sympy/sympy-1.13.2.ebuild b/dev-python/sympy/sympy-1.13.2.ebuild new file mode 100644 index 000000000000..58f56c5e97db --- /dev/null +++ b/dev-python/sympy/sympy-1.13.2.ebuild @@ -0,0 +1,110 @@ +# 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 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 +SRC_URI=" + https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz + -> ${P/_/}.gh.tar.gz +" +S=${WORKDIR}/${P/_/} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" + +RDEPEND=" + >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( + dev-python/ipython[${PYTHON_USEDEP}] + ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # TODO; virtx? + sympy/plotting/pygletplot + ) + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + + # known broken + # https://github.com/sympy/sympy/issues/26321 + sympy/solvers/tests/test_simplex.py::test_lp + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index f2995e53df26..b90e3a69a814 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,3 +1,5 @@ DIST tomlkit-0.13.0.tar.gz 191792 BLAKE2B f5f865b49f9850281d01de2c2ba9c2d8685a10a5cd0f17c475d120978472485a5bd607dc4b283221eab69fc6e214259feafdbe85c8237fe9c80b49007523bb69 SHA512 46c5a771ff401e0b300dbd13708d78b63415653b87eb649898bf0bd58cedeb110622ff2f0ade0ad1cd517610229ba0f59b4d520cf2fa1eea6522ea0bc042317e +DIST tomlkit-0.13.1.tar.gz 192625 BLAKE2B 1f1ebc96819eb742429d7d8a71b8f3aecdd964f0700052bb2f71ede866c5f97b25745bf95898d7b1005c881d3fdbb36c4cb872126a3be8192cb9c859eb153fbe SHA512 32023020de48d0eacd0ce886870b9a53defdb403b396eb03d0c026c221460eeede1f018586ae141d690722485446be0215582182809c590d1af9825e840b58ad EBUILD tomlkit-0.13.0.ebuild 1046 BLAKE2B 6b5bb8be3c8fe0b8acf6d1920a6a3f4c789096f260c1ec5b43b5413529d04efcc9d199d3116014376306e61b15ddf3ea61825ec224692245c1be84bbcffd2cbb SHA512 3d45e510ca0f796c7ddee13cda4be2cf2d5edc2581cb48504117a6bc2d48e8ace8538c99e389f491371d954bec80b31891d80dab2a324c0a760e0fb4d567586c +EBUILD tomlkit-0.13.1.ebuild 1054 BLAKE2B ff9edeb9b6ac424f11db0f96820af6b62dd605d9e1a0051c0763b007d779621b4b35336733e696c5d19e0b079b99e41a92e7272a0dc571200b2720470a4c7d21 SHA512 96d7aca710467357b6217936b4bdb854b02379713e2cc9cf15fcb2cc06c132f27631cc8c7a01d1c1d0ba3c991573e74c84ec85d2feb474ff0a66f5e36638eed2 MISC metadata.xml 529 BLAKE2B 313663d81102b8124a7ebbe11e18003c4714e26daf97ce180c1690b147d750bebfe23af9d894f87ae218148cfb59c3405b25b1736d65fef16bcff4466e026e76 SHA512 f2bab5270eb7346e5de28ed96fb51ded6956ed57724d2ffba6f94b288699ef8107b78155c7c350321e11955c05967d6320444005725c3beedb711cc585f8fa41 diff --git a/dev-python/tomlkit/tomlkit-0.13.1.ebuild b/dev-python/tomlkit/tomlkit-0.13.1.ebuild new file mode 100644 index 000000000000..32ec3c8a18ae --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.13.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 34bdd08c4066..ae7ed5b96430 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,7 +1,9 @@ DIST tox-4.16.0.tar.gz 179738 BLAKE2B 24ab57b05504ca8d4ef39c164604e5cc8150d722d0d0258bac8fe35b0dcf7ee31625734c65cabb26b4c49f377fe9b2be65f8d84481f7aee7307f9499e6498929 SHA512 b3d65c5b4f086f1f0474d6cb08d3d4bcdf81735376a94e97997ab5dee5c726e71e8b9a1117eda59f9afd61be0bff38a9533faf16e76b78b504ff6de0f2ddfde0 DIST tox-4.17.0.tar.gz 179927 BLAKE2B 07e98d42248482ba0bf77080ea32ab5ccca937f1a8788a80d3e8f24a62f71553669bbcaaab4570f8d0ec4c6eecef3b0f812c00e9a31f212cb13bc16568408993 SHA512 8debbd10beca8d54135b11e88fdf8189389ec883f201bb3ef3b8418cd07f3247332cda4e0a82ee79ec9eadd09068bfd6bf0880ab22c88d82507dbf1c1650cedd DIST tox-4.17.1.tar.gz 180242 BLAKE2B 7b0a9964b359500bac47547530edf4e62fb8f39a52e10987959945e993f55f62f5ffed4db0c482c881348af5366c723be431ad9ded2d3642806c71ce62de0799 SHA512 51041bc7f09de1fdf4cfdc9c25ed2a4add2984a8612d4d43ce4740e7920d8fa984c1c64d0d6a45947d1891de6fa35507b1ca14afa641bc5af184ad97ba6df640 +DIST tox-4.18.0.tar.gz 180782 BLAKE2B dc9832ad75c3e8564317bd618fa644ff2f393e507d7ff03292f65f0b10884d010708820768b6acd403783fd78868eddedb1ce931280d1e06e8d83214d85d4879 SHA512 4934b6d9406cc4500e75da76157ceb2dd9d7d0fd5e803fcd2c2bc9b5d2837678eead5af21dd6eb82ae7fe04c90aef78cc3db445daeed194a444ad88687ec1eeb EBUILD tox-4.16.0.ebuild 3017 BLAKE2B 454121fc002ecd267298b4abcdf9167997ec2ec7812e7c0b0820a830f111fc58855a33042f115d291548ee8571eb87385a6d42f4c4ce0184fefbfbed7fc86554 SHA512 339ac1fe5e2a5c6fa6b949d3b1d814fb08b7f5eef6da6abfec7f476c1f909d3d55cdc6a367572fc622f70ede37ef755bc5c00047726d804ef841f92342fc86d6 EBUILD tox-4.17.0.ebuild 3025 BLAKE2B a30ba7f669ab2da51c7f73c6dda2de44134f69b3c061fdf1131a1e5c854c2a469e8b652f60a2291bda030d90ab76de812c5be7a1277742a7973e662dd58423cd SHA512 0dea63105a9468a6b0fd0f21f6beaf1d2fcd8a0fa29824c9078fb44443a738ff56107191cbdb8054612f9c91a159e66ec9872dbe8820564469d470b908c5da45 EBUILD tox-4.17.1.ebuild 3025 BLAKE2B a30ba7f669ab2da51c7f73c6dda2de44134f69b3c061fdf1131a1e5c854c2a469e8b652f60a2291bda030d90ab76de812c5be7a1277742a7973e662dd58423cd SHA512 0dea63105a9468a6b0fd0f21f6beaf1d2fcd8a0fa29824c9078fb44443a738ff56107191cbdb8054612f9c91a159e66ec9872dbe8820564469d470b908c5da45 +EBUILD tox-4.18.0.ebuild 3025 BLAKE2B a30ba7f669ab2da51c7f73c6dda2de44134f69b3c061fdf1131a1e5c854c2a469e8b652f60a2291bda030d90ab76de812c5be7a1277742a7973e662dd58423cd SHA512 0dea63105a9468a6b0fd0f21f6beaf1d2fcd8a0fa29824c9078fb44443a738ff56107191cbdb8054612f9c91a159e66ec9872dbe8820564469d470b908c5da45 MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-4.18.0.ebuild b/dev-python/tox/tox-4.18.0.ebuild new file mode 100644 index 000000000000..44a2547684f8 --- /dev/null +++ b/dev-python/tox/tox-4.18.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/tox-dev/tox/issues/3290 + 'tests/config/loader/test_str_convert.py::test_str_convert_ok_py39[1,2-value1-Optional]' + ) + ;; + esac + + epytest +} diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 9b758c5b54bc..3e1a65e2f101 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1,3 +1,3 @@ DIST treq-23.11.0.tar.gz 74450 BLAKE2B 0e10b070e1623b1aaaaf8ce53c98d29a44e9e5e76a84d6004e21cac74564cbb4b22c4015b4d999967ee519f6356016d3cb3fd8304df68967ec46dd2c1005d3ee SHA512 bf62373f51a0552e040a628c86fe0f8d136ab5dfefaa2fa46d9ab173a58c20c0211f94370561e07fafb7da87140e88c10cf336ff7a61e5b3fc1a47fd1193cc27 -EBUILD treq-23.11.0.ebuild 1072 BLAKE2B 9a8a1370c5b62ee40bbf0c0014d1e28f70927341b80d0c42d59ccad098db6db60dd698b1c08f372ac4d516dc72d7698d4b2f27842bdcda031781a17ca71c00f5 SHA512 3fb5d3458af0b14a465c669fb4db73ae40f73dfb52b84495d4b92f77283f60c7f994c4cd327a8d08d5a90c063d8674194ade3ea36626469990a25b28ba0c173b +EBUILD treq-23.11.0.ebuild 1148 BLAKE2B 8b727594996a9b8763077710425b0a4a0912d7ee5b292a0ee47a54541ec3e927e048542af441f6e749b60c6679a8951689ef3c86a02a35b2157fc614937d8a7a SHA512 7f4f2704db2ce33388859b8779ccb52db47273dd56e5e80321532381c9d6a7b44e3a04f8f174311031b7db326a6e64dfd86f63e0a43e70dee64577d97afbd3c2 MISC metadata.xml 675 BLAKE2B 503b618157c565652f3fcd2a4fc7b2a6fe7e4208e965b956ee166f3d682f0b7e2865f88f7b9c3227a55cb67ca4f21d61b11e6194d4f1e336abc8a9e6471e99c2 SHA512 a09304f23b2934c596ba809a93146be20f493d3326b9ac54c846654f7439218caa04f7b138efc8002061611336aac8be3747e3407ef67d1af640a64e07ebeb4f diff --git a/dev-python/treq/treq-23.11.0.ebuild b/dev-python/treq/treq-23.11.0.ebuild index 8e44291b5c14..559374dd37dd 100644 --- a/dev-python/treq/treq-23.11.0.ebuild +++ b/dev-python/treq/treq-23.11.0.ebuild @@ -26,6 +26,9 @@ RDEPEND=" dev-python/incremental[${PYTHON_USEDEP}] >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] >=dev-python/twisted-18.7.0[ssl(-),${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) " BDEPEND=" dev-python/incremental[${PYTHON_USEDEP}] diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index df4a2715cb40..adddee9ce3fc 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,5 +1,7 @@ DIST uvicorn-0.30.3.gh.tar.gz 723748 BLAKE2B 8191491ebbccf8586e668bc6c14ce0a526d958ee1bf618cbf714bcb0932c36e14bfa4365a3ce88129180dcb0a2ac62b65fd977262f936b31a84267e3d41a971e SHA512 de6299c4b93bb14ea5ef466d2ebb91e24c2b9ae3e47158e924ae8c1f1e58a3fffd39e3e001e647afa47512f9481f5a3e2cce613427600200bcf27c4143c4e608 DIST uvicorn-0.30.5.gh.tar.gz 723960 BLAKE2B 462cdbe47f035a6b100908e5fa533a9afa7be3232ce79fda372686de54a14ca13771245a98c53b7ad729ba3119cd83b9d4acd5ab4069064f6c9fee3542f7b0be SHA512 9752b415159e152264d0d9a9a93cd82ec3b6ab08fe115698e54ecf5e2534c7c2368e05dfd21486c8711808482a85c563ecf1d5027c09587872aced4f7023a3dc +DIST uvicorn-0.30.6.gh.tar.gz 724296 BLAKE2B c95ee6764947e51958da2e62627d20bfbef48f065832f6214c7c05b9daf344b76eb6b0ec4ccbc3ebc2502b9f2cc77157dcf90e824cec0a8adc62601ceb4abf0c SHA512 d4c4410648509b14e18c3c86a33df4152e951703d287153a26ad35f4dce35eb594b940d3773cb444119b9bfa72ae3885c54d84b1a09c0c6069b80941f453c2e8 EBUILD uvicorn-0.30.3.ebuild 1800 BLAKE2B 6fe57b7826f2f6a3d92824277d6306f4d81024b4f02a407380c8bbaf9f45e4e3ede6c538c06a7bbc38e0ec8200be82b8afd8801d4731ca13f3af5bb60482321e SHA512 b5097054f97d98b58c05044bdef27366094785a40f37ada0b221f92e131a6d1c53d35c66239882495fda5f49e2cd9b9a447736b259414a70a99e55faf7a44d90 EBUILD uvicorn-0.30.5.ebuild 1808 BLAKE2B 572deae2f46ee98108d7e08de559db347dd5f5e71d7b87614af19a47c5f4e9c8d0d8f324b500ad195b2f49635a834ee75463384b6eccf1407e3d58f9a29a7191 SHA512 0aa602d51976f56c85376037f2f504b86690642463e9eb2406c6ebafdbe660d6b271bc6b59f22396106180af4a6a8e7ddbc99e04187f97b09406816c731647f1 +EBUILD uvicorn-0.30.6.ebuild 1808 BLAKE2B 572deae2f46ee98108d7e08de559db347dd5f5e71d7b87614af19a47c5f4e9c8d0d8f324b500ad195b2f49635a834ee75463384b6eccf1407e3d58f9a29a7191 SHA512 0aa602d51976f56c85376037f2f504b86690642463e9eb2406c6ebafdbe660d6b271bc6b59f22396106180af4a6a8e7ddbc99e04187f97b09406816c731647f1 MISC metadata.xml 451 BLAKE2B af9be617c95128297e3455b503e198e13c373244094f6aa9c80837945c3f9f023f1874efa28d4ffa8b241feb9a4e8c7f3d3534e96966733bd5593bffb90904a5 SHA512 4d76bab5c20f7cad81fa56a28c9be07bf2c2ebc412fc647f073215d437a2550eca247b8419df71d04200d0fdf545520684db0b6f4953e73848f69a4f4ad6931e diff --git a/dev-python/uvicorn/uvicorn-0.30.6.ebuild b/dev-python/uvicorn/uvicorn-0.30.6.ebuild new file mode 100644 index 000000000000..9511a7d54223 --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.30.6.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021-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 optfeature + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE=" + https://www.uvicorn.org/ + https://github.com/encode/uvicorn/ + https://pypi.org/project/uvicorn/ +" +# as of 0.28.0, no tests in sdist +SRC_URI=" + https://github.com/encode/uvicorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/websockets-10.4[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/watchfiles[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + ) + case ${EPYTHON} in + pypy3) + # TODO + EPYTEST_DESELECT+=( + tests/middleware/test_logging.py::test_running_log_using_fd + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "auto reload on file changes" dev-python/watchfiles +} |