diff options
Diffstat (limited to 'dev-python')
49 files changed, 1124 insertions, 80 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex cff01f405ae0..c10e02b59985 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index f90896266865..ea4acc8bcb25 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,3 +1,5 @@ DIST ansible-compat-24.9.1.gh.tar.gz 76018 BLAKE2B 581199ab65ccc884a3eeef246a8dbe527cac91fc3b588edaf1ad45e7aa83a2e77d44eab8e9dc5d7f2598b02a22fb724ccf235d25592ff8c9de0b7718b9ad5507 SHA512 d5da3cbd29bfb49b9ac68f004eb957edbfdfa303ce204e230117e9964df36c6bcbf3b47ef343d6a77b4f24c390266aebd649a8036cf9e7f29dc350d207ab7409 +DIST ansible_compat-24.10.0.tar.gz 81818 BLAKE2B 78afad41dbe2172cb485186d78a488343391b5feb39f233f8584dc65ece8f290b43c8a6b0112db4606329bc5f38a9e44c6e39fd48efcb5562292152d44276539 SHA512 636ccb66be3570bf7ab0a51f991fefe3b4754db3fddb4d45ebd116de2721082e8ad4049e0cdd975431f01daaa4cb9d24ca57a97913fa66ce1f1f47780734ab14 +EBUILD ansible-compat-24.10.0.ebuild 1631 BLAKE2B e7ee209a3becafe42cbab5f9a44791f761e76110704476fda8e9a7fddb8f05884dfa1b2ccfe65990dbdf409a3e1808a9149a91a8cdd937dcabe82ace54d248e6 SHA512 4be39bded03f45f041f682cb1b7a585a8e471e23315df489e7be19790e2c1dadb4727ee68129a5d46cd530a4c937d02b858af040a1eefbbbcb6e4a20e46043b1 EBUILD ansible-compat-24.9.1.ebuild 1818 BLAKE2B ace93c01b61d04a32c33ccc7450cb9ceb2be8009cc5e7baa4117af835bd4bcc1aed460bd25b8e077a65ecc6a90214f00fc97aa2aaed5b8a218f273454bcb7fad SHA512 84d1934eb613ead748591fe870356122258fc328e1b5fabda2472697e3ca72655e07f31738c8e7ade5d0738ae6b8ad6c8e65d00b9822f6740bcbc188481d72e2 MISC metadata.xml 404 BLAKE2B cd6a8ae349cbfd750d8e439a93902221cce72c0c03280ef1e99514981f6a1079bf9e16a9eaf58ad1758e83a82625b508ccf461ff487ddf8c378cdf7fd46260f8 SHA512 15330e4ae03c21f1db7a42cd9efca50a2fe60b828caef1dbb29901f39f4089d6b3a3c593ca2bd01c7873c8ff12b15227d0c8ae09450271d733cc36ff979b3365 diff --git a/dev-python/ansible-compat/ansible-compat-24.10.0.ebuild b/dev-python/ansible-compat/ansible-compat-24.10.0.ebuild new file mode 100644 index 000000000000..51216430591c --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-24.10.0.ebuild @@ -0,0 +1,54 @@ +# 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook +) + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 804ce4d0c643..c7d0a825d917 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,9 +3,11 @@ DIST boto3-1.35.71.gh.tar.gz 903019 BLAKE2B 48bf56c54a8eaa52c1850078a92cef7e5acb DIST boto3-1.35.76.gh.tar.gz 910113 BLAKE2B 3e7429976b348e29ba4184bffe03c643b85dd978cc520b924263e8430b5e5935b95152cced2f6c0807c65de4e6e1405c55bb24565ac5bc425292e9adac178c03 SHA512 132f37e77b7b36d525e9cf678fe2f624eed77a9eb9fa8e7d7f079a362e5d7a5f3edcd17c7d8bc1e27570171927d26e74a94d267a1b0cbddda3890ac6a0f21cdc DIST boto3-1.35.77.gh.tar.gz 910574 BLAKE2B a843c871e53069a7a3c818e326ea5c32d506873e2381057d269e4a04f5e3be9d37aeb6e38bff4051c4d4ce3ae30e41253008785ac9bca329a17bea0f914bdc0c SHA512 e0de5951492860d48d68888ad734e33c6e8c3747f54c7164b0fca5ee9cbf2ec84e2a1a04f2b5566874bb086dcbdd096f588def36d11038663a2762bccbaf7c8e DIST boto3-1.35.78.gh.tar.gz 911245 BLAKE2B 2afcee97ef800b934c7f5cc2046831cb48b277951f77dc9aa844dfae4e7f9fc33b36b9d1e58a727485720ffd66ce3440c7f6d103e771b43ac355634110b14d88 SHA512 d73db44fdcdeb7d82e755c1b66084d7e47884c880e615b537f9388a9dda97d8e825613567f7ce94eb5972880b790fe841ca3765c8689c1387ec69dc0cba667e7 +DIST boto3-1.35.79.gh.tar.gz 911885 BLAKE2B 5b90aad921a6bd46a9bd2c1d08f12d68869ac1b8b0a7b8888b7f15ce58d25d42a9f7814b70e6453a1e84d578db1ef4f3b08940c555d11288a6b0e20128881035 SHA512 ebdb3627cd78e844635a5c0a043793aef4e2f06a3f1f220dfbb1796db9391eb84ec1248ec701075ae2660a18eb5895b26d0f0ec5fb8c4ad18f29d0feae6fd756 EBUILD boto3-1.35.68.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.71.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.76.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.77.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.78.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.79.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.79.ebuild b/dev-python/boto3/boto3-1.35.79.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.79.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 b0ef176cea0d..9d22d2eb16cf 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,9 +3,11 @@ DIST botocore-1.35.71.gh.tar.gz 13908196 BLAKE2B beba990a19a2a6de3a10d9acd9f97c7 DIST botocore-1.35.76.gh.tar.gz 14117270 BLAKE2B b072b926daae520e54871676d5afc4832ddbc8c91a2ee15f103a9d48df2e17d8cef304fab28c4050bfe6d70629979c48d8bc00d5caf42a0129a19ff5a3a2baa3 SHA512 e7433d60519a0da5118b3283c192a7199e8bfdd605fc6bb98d05cc90485a1e4aec537a035ffc08bcb6c35e9d31394422596e113a98cc00c23bd3dd350577ac1d DIST botocore-1.35.77.gh.tar.gz 14120607 BLAKE2B bc5f22133796be3b2749f848d62c9eeff6f58a515393beda2f41df9c734eb7167a97987d06e025ebc2693eea6214dd0f7788f9f4cf1e5ac71a91b05b6e886d7e SHA512 fa699fbffc2e7f1e9062fe1393f1cef4677cb30b5090df55bb84b4719e880a6731731ab2799450ab06f70f9a057e749529c283ebe6400b7b35e7b89a2c22eb2a DIST botocore-1.35.78.gh.tar.gz 14124766 BLAKE2B 53bb6a8cf63bb69c5e827e269f6efc35b56919c878eadf10f7a7017848703f8de682a7d1912965f40bbb0c0c2903a6d22a4479c8f66ec03c57410f6e3b27dc70 SHA512 74816012870b25a7344096e714c2c9319cd9ac676a3d5e194d68dcc6eaa048233630c30d33ba6ac02f2c953148f704ca068f4aead562504eba893b468408aac0 +DIST botocore-1.35.79.gh.tar.gz 14134346 BLAKE2B e3fdc5510c0ed8a693e9f34568c6918a6907c74d95e4b309725b3ba825c83a7c9f924cac0a8e7ab0cfae5ed038b9f999a1e9b9a3ade3637f630e6ac63b68ae43 SHA512 00d6c614fa65ac86cce5ece0a939a5656922e09f30a9bd19e503c5c9442c299d1b2f2d37ef4b062193e22b123636ee4568f8b903994514c53b7c35ad6f2a7047 EBUILD botocore-1.35.68.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.71.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.76.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.77.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.78.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.79.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.79.ebuild b/dev-python/botocore/botocore-1.35.79.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.79.ebuild @@ -0,0 +1,67 @@ +# 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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cli-ui/Manifest b/dev-python/cli-ui/Manifest index bf909c6aa0d8..44dc4d4534b8 100644 --- a/dev-python/cli-ui/Manifest +++ b/dev-python/cli-ui/Manifest @@ -1,3 +1,5 @@ DIST cli-ui-0.17.2.tar.gz 13366 BLAKE2B b5dbccf136dad09bf213e199050c31cce545a44dd46b61f8eaad8b40679203da5b742a1deefc0f934bbbab286c101892d5b5e93c45624631f778245c4724ddcb SHA512 ea38c3c39b24f322b58f8e95e43609a22657018d36fd28d5dfa7887295eb4ad374032fdd2330762ed50826211ed11fa6a6356d93d09b2135264cf59f13749993 +DIST cli_ui-0.18.0.tar.gz 13012 BLAKE2B c96eba706b5d7275c9ad76d1a099ff7bcda8ae894361ba8d0ac944531fe813d17156bb27cb6d342268fb28845aeedcef1d19c36f1ddda43d3b98cf46c30d9818 SHA512 69c68df27d74d167dc50088381a048265fc51603e7e13811895ac771df1cc03f9670274e73a162a67706afc9e2a4eb1ccd75872309a3c2c06f84c2ccaa03dd92 EBUILD cli-ui-0.17.2.ebuild 737 BLAKE2B a992d84a028cb0da7e7c8a90b54731ad2551e377de43b41da8d395c470ff66ed9ddbea0a30d9885fb62abaf3274226bf8cbe7ddb55d374046a1e6efd4beb92c6 SHA512 4edd510ca5d151a074678b5e6cc482977673d7c4ead28baf4a8548de3eb331e2f65dcf0f7c175931bcd5eecd97811ec23cdb594fe4d7e1b86b1d24160f6f6197 +EBUILD cli-ui-0.18.0.ebuild 776 BLAKE2B 6bba0128152e5436e11c9fd424ab83eba51c14b9ce6fa8a75422e01bc5ed5e78aba2ecb83a5b53b50955dc511dfb4b571a16ce65d284510c93e06ce54a356cfd SHA512 6082efa27ef0c63aeb06820a5924c38786bb7b1201b21596bb925d541c546685324643c92588d71ed182bbce73fbc87ba461d7427b0910bdbc819539be3273a3 MISC metadata.xml 572 BLAKE2B e4dda5027fb1278a406bf629f7968ba3d6d293d747149a910b6d17c9a84be76334fb1933c47c7c7ef08087f7834c5b77d888b081f1a74c432059f395c7acd16f SHA512 1b0e2ea706cb4a270d4b6fef10116237fd5ca3eb8fde1db5153abc047a231eca93e55049ae66443ca5901c86e9420384f3365e393077a88b000e5abf8f7581c7 diff --git a/dev-python/cli-ui/cli-ui-0.18.0.ebuild b/dev-python/cli-ui/cli-ui-0.18.0.ebuild new file mode 100644 index 000000000000..c0433d6c3c81 --- /dev/null +++ b/dev-python/cli-ui/cli-ui-0.18.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="poetry" +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for better command line interfaces" +HOMEPAGE=" + https://your-tools.github.io/python-cli-ui/ + https://github.com/your-tools/python-cli-ui/ + https://pypi.org/project/cli-ui/ +" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/your-tools/python-cli-ui.git" +else + inherit pypi + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + >=dev-python/unidecode-1.3.6[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest index e1da4b219973..561e68b2ab08 100644 --- a/dev-python/cysignals/Manifest +++ b/dev-python/cysignals/Manifest @@ -2,5 +2,5 @@ AUX cysignals-1.11.4-helper.patch 3049 BLAKE2B 26ea0fb57e855d2fbc302d8ba84200ae5 DIST cysignals-1.11.4.tar.gz 105100 BLAKE2B c21c5cae69332885dd4b9f13d0fbe9ab836466dd699f0d51908d129107ce4922f4076fafa8dce3650983fd69d25182464f9831545a8da3535699d36d198ec6a7 SHA512 b083a62bcca71634cdd21ca6c8d1363e7754ed97d6f2ad0280b0ae97fdf1264be3dc202acf67added4c12a0815420d9641269da1212b83472ea304883d3b85ab DIST cysignals-1.12.0.tar.gz 65857 BLAKE2B 4a9bb56c8491814480a9deae053eb13574b480245418c743b1a99cc4fbe4c784c35e8518707cd6ced22174f032444e38daee16ab933b044f8942da2d1c47cfab SHA512 c4575f9d07f4d4c1c27a2e953b12693758babe79000fe62e2423ae484695f0ee813ebc2868ec74aa6c2c4e85d074c3a0db1524ad4ca58e1250fd1d4ca8386692 EBUILD cysignals-1.11.4-r1.ebuild 782 BLAKE2B 97d3178eae47abda676386e6450e181412c827de3ce0e4a2f06694763726e2933c210f19b6d19bdb4a7868d6b28f26afd7490f2fd747335f699534446945c50d SHA512 d0041db24f25adae35fe82b58386c6257b32830e6e8934bab1b9ed07f34d017dc4d35262c6e70643ce13e019e1f8fd363cc3b415819641d2350e28dca69ffb38 -EBUILD cysignals-1.12.0.ebuild 668 BLAKE2B 812670b5ca7fa11074fd6cd87cea1af5ebb38fde4b699cefb0237ffbc9f16e889f2f44b6b3a82e7e3f82cc764594045903632664f3f3ae33221d11ef72a9e4bc SHA512 417681f6e45260953023f03dc0e236bc025cb352c9824b864da23e128664ee2002cbdf2c577d7dfb0e33a0ad1073906d20045a170a5a681f2934609cd1d6a98e +EBUILD cysignals-1.12.0.ebuild 610 BLAKE2B 77c954d728f7ab9df33a086cf2bac80a7b548b0d1355cee7f783b649d2d21740537360a136b1e1ababdb5b2a6592f9fa578926bc6a8ad5d90de127c4fa87c1fc SHA512 79e13fadce3fb735599459ed476b0ec8f4ae7640252905dfe17cdf4a99c70dc0aaa6ea606d91edbde20f7d37c7a977592dba950edec85542a581ed4ae394bc85 MISC metadata.xml 1243 BLAKE2B 468b28828e1fa906f91a23ed5e2825a77e3bad500f71e58732074abedbb11bacd1dbd6d60e49531ba2d84efa43b49ce1665158a410d5ffdd079203c294588929 SHA512 7533b618a2b050df3122aae90cb0c1dded97b82c28baca8ab7c295e7d37bcbfd0e4a762233190651e8bbadd91d901b673716aa04cf2d61b1969b2bb7a9e3be3e diff --git a/dev-python/cysignals/cysignals-1.12.0.ebuild b/dev-python/cysignals/cysignals-1.12.0.ebuild index 16f65a6a5d1b..85da267f5797 100644 --- a/dev-python/cysignals/cysignals-1.12.0.ebuild +++ b/dev-python/cysignals/cysignals-1.12.0.ebuild @@ -20,12 +20,6 @@ LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~riscv" -DEPEND=" - sci-mathematics/pari:= -" -RDEPEND=" - ${DEPEND} -" BDEPEND=" >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] " diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 0644f452d323..09a9ec52a4f5 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,5 @@ DIST google_api_python_client-2.154.0.tar.gz 12070143 BLAKE2B 91b2838116246e04fc93a155fb27792a2efa6e258eeddf29989c62229db7975b389435efeb6342d069358797539c57ea630c7bf7da64a0cdef7ceb4801586a85 SHA512 9728f4cda59919ddec28876f27b6e7716d96c9ba08088f064aa1ac0e0a4ccd1d7ad66e592ac8e2429f04520b64d8228fd3d358f7ae7d157048c9719fcb7b8cd3 +DIST google_api_python_client-2.155.0.tar.gz 12195015 BLAKE2B f9c82244881b131dd022b7fd817c9fae28d4be6c6a1410e5e674d050e66b1361182515b6a220eef988ab4fdfa62e4cbf13de58e699672b3382a5449380c422e9 SHA512 1b2101d93178aa0507dcb2d8fb70c0ec29d547b87a7572508f56c87f8877b6c795f494c7f7f020df72d9e2b96083d135dfddd0ad80bb9d317189598fca9192f8 EBUILD google-api-python-client-2.154.0.ebuild 1455 BLAKE2B 0c236e102819fa393880129e1ae048cce4a018e567de29e2d344a451a87dd0f261b05b5285ed660f8b36937cf0b2503eef3fee84ef7e64c3754269f5878a45bd SHA512 b2dc3d562f94b8ffc4c6b6fecbf7538fe676f1a8667e71886585231e0fa3ac2d1e0269d8afc3879f94e3c328faf99672bea5109275527236afc79e7b46fdbe1a +EBUILD google-api-python-client-2.155.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.155.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.155.0.ebuild new file mode 100644 index 000000000000..58a0eb467bad --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.155.0.ebuild @@ -0,0 +1,50 @@ +# 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="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index a3e9b372eec2..2f28d33b811e 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,5 +1,7 @@ DIST google_auth-2.35.0.tar.gz 267223 BLAKE2B d30c8ca15f0e8183c1d50c285d578d8373bf722dddbeb2d5e423b2e25b26f038d406a6dccacf2cebbb0741a2ef07e8b0c86d0362734db3a56054ff76b6d213d7 SHA512 5c359bb94f213812c57cc2c2942d1da3aa08f0e73dde6f5b6c2f563fb51056009f3b821ec0fc39571221da267011d850c242a5ab044d88648be44759f7337973 DIST google_auth-2.36.0.tar.gz 268336 BLAKE2B cb9df17eb367ef9be27abacb29b481490e4a471311befa2c269031b888f0a7a804b4c41a30f8914f05f3ee60e9b9664e3c694a24509418c64374d23c40cc3666 SHA512 9e61d5ab21e8973f6d9d2af8d4b73e5637efe9b09b1854bf82743e4a03a6b5fc6154a492e4b7ad5935ba3796186d6ed11e891bd0a0eb1190e06fedc824904c22 +DIST google_auth-2.37.0.tar.gz 268878 BLAKE2B da39fd1909ce93a212a71624e925df2dee753765718c5a7bb4a5ca5115dfc15c0790eeaf77d52ead7bff795f2bf9d2cfa12a6cd8cdd964d63f0dbf7d47e27b82 SHA512 08f194c99077a230845857e98ac8c4eab3ca086a288be9ce1031c9d3f6a5b40cb4fe3305be6b822b27561e4e7b0c0a144e9888be5a95ebe06de42d74fc911756 EBUILD google-auth-2.35.0.ebuild 1471 BLAKE2B 3668cb2042daa1cd03aef840c76585899f05df7a7629b8a2bd275d2fc7926ccbd35146ac6fce8f48b2a84ad24e5c067b124292874a259b310e3cf1f34438784f SHA512 0878e8af6a42199544b02b779563f6af9e0a4d285ede7750fdb3f99b7d0885687249b8a4e96dabaea55416213d930e1b74e20d5a624e5077061fcac9084934b8 EBUILD google-auth-2.36.0.ebuild 1474 BLAKE2B 4a3e857ea3a00984e7708742978efc875a86333f0a212a4be41db07577d226933f7113d3d88c971b554b4ef3c5f3c72aba7f98a6e68400d8051f8559f6213512 SHA512 6562f6b387baae59127b5bf7522a3bde938fe929004896ef4f2a3251c2ccb8bc0b7ca5329dd3879d5cf943a950590a745c9dbb128e860bbaaf6c8aba3be8acb4 +EBUILD google-auth-2.37.0.ebuild 1678 BLAKE2B f0e7d37486d60a35ab658a3b06ace51897c06f3b1651b15418a60d7461ac3b5363f4f40b50e7a026e2a317cffc0086807bac7decf028483deb61c019322f0029 SHA512 bc68d5be17e0241ab13ac9d3793b4f15d2148da75258af5887bedf9638cadb030867244ecdb51c510011b735479515a7e042542342cbd5b4eb79bb3a5c101eaf MISC metadata.xml 521 BLAKE2B 784282f6a173e7746a408556d77e1277f65a41eae545b6b26054c1e506642e683c1c7d91798f3b7b690bc4f9d2f642a51c1395593177eebf1770d2a0c0ba589e SHA512 c2624ebca3dc42961e61531db4724b2b354a722f71cd7f2c194680fee50125d2251f4b94cc7e31b008a2792e74b0f55f407a1230d3f59572df9cf32ee49d2fb7 diff --git a/dev-python/google-auth/google-auth-2.37.0.ebuild b/dev-python/google-auth/google-auth-2.37.0.ebuild new file mode 100644 index 000000000000..494cfbdb84b9 --- /dev/null +++ b/dev-python/google-auth/google-auth-2.37.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success + ) + local EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest index e090a84e1a72..18ec3334bed1 100644 --- a/dev-python/markdown2/Manifest +++ b/dev-python/markdown2/Manifest @@ -1,3 +1,5 @@ DIST markdown2-2.5.1.tar.gz 140957 BLAKE2B 204ba7b388ff4c16db603761aceb1baf4b8b2dac3e4b1e85776c0a8a99223822a41b414535691be579c78f29e146713190fe80c1cf7d1303b7c3c80d5abbb1c5 SHA512 758d2f66c157cd709edc3bd4e67839eaae37db7a2c126451c840e32b150792cd11c1cd25ff8c4d46bff2bed290af8a3c7c87361e2d62009b16a00eb8f549af98 +DIST markdown2-2.5.2.tar.gz 141583 BLAKE2B ec817df668eafcf53da9e56ebcf89391156d4bf603c1bf2e915707cce56eebee90769df83b6fd7b8f77bfbcab9efb26136e7300da4818caf335f316554f5c19f SHA512 776e8ec20a5d9489c59d4ebe5193f3544342fe1c630a3605708b674db3aa3f9ab6ecfa2a918785c29efe3fe97cf83303bb2dd810b447f4b8d46ee81b2a12766f EBUILD markdown2-2.5.1.ebuild 683 BLAKE2B 905019ea05875b478be4895386b0cc96934036deeb17eb59f67a461556db971694495e9aa1385f1788133a7998db33327a7e5ac425dea449f1a141049ce28623 SHA512 cc13eeadbae128063e0a44f3f3ba9217f210192275473b3a07bb0043a27c14eb418e9ec0f27521847617da0f8e39238f634ca15a1e3c36c7e6e13b432cb70507 +EBUILD markdown2-2.5.2.ebuild 687 BLAKE2B b8ff07e3e18248710dd4a31ad37f52fc5f6655075a5cb9bfd80a61da68b901f2e7227db8e56300d0fd7330b355a287cf90bff7e6d3211a60277e84382a67a5a0 SHA512 6836f37ab9255ebb50cd18a51adfd897dc3b3aac1bd3a5d5827720eb88c9da4cd3d4531139a66191fbf3fb32f6ed7be95fb9bfab9f0fbc6e37e28227e433e53d MISC metadata.xml 551 BLAKE2B 293046752073df3a0fe72acea3165d62ae78297f82aa72e40edeaab6bb6021ccbeaa8cc145341aa05dd3fe87c2f89e88f2281ca95ead33d99bbfc5ba53573ca1 SHA512 9d30d896754f1379f4fae79f86bec966cc3639a42e5e7bcc7e8d2e94881ee8a75b7e3ddedbc1573f1eb3c429aea636512efdb887f2827dc1b1aaa4caaa44e413 diff --git a/dev-python/markdown2/markdown2-2.5.2.ebuild b/dev-python/markdown2/markdown2-2.5.2.ebuild new file mode 100644 index 000000000000..7b18bd75a79e --- /dev/null +++ b/dev-python/markdown2/markdown2-2.5.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Markdown language reimplementation" +HOMEPAGE=" + https://github.com/trentm/python-markdown2/ + https://pypi.org/project/markdown2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + cd test || die + "${EPYTHON}" -m unittest test_markdown2.py -v || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/oct2py/Manifest b/dev-python/oct2py/Manifest index 738f854ea9ab..159feea4de38 100644 --- a/dev-python/oct2py/Manifest +++ b/dev-python/oct2py/Manifest @@ -1,5 +1,5 @@ -DIST oct2py-5.7.1.tar.gz 441250 BLAKE2B b0eca421b297ca5495508cfcb75e8c3bd0f53f12ab3c367bfedfd2f0064c7d9874c6cbefa0d9fc7bea3c21865993136707dab3deb8cd442090bc1c9cc5786527 SHA512 e8018b88119a5275061e315ecd37d07284ba674d64d778215378f0f6b60d4a33e503f0d26e1d23fb054974673ade9eeae5b292498f158e0a6d476c0998da5e6e DIST oct2py-5.7.2.tar.gz 441373 BLAKE2B afa7a98f6d38120e8028438d243fb2baefaf3cacc00b576f32fbf666f193dad95e8468847859e8405b7796ec2132b99e347f9ea466400307d1d23ce46f9489fc SHA512 f01263d210eab9adb3f69025a2a22efebd0b1a4dff040620fd382752159992d9907451ec7a72c75f211a9a8e18a1d1c53ff5d3512d8bd807afc737b50fcae178 -EBUILD oct2py-5.7.1.ebuild 1219 BLAKE2B 99af5ccb2ccefe4c4ebcf4c23c6a3edd102e3d58ad4455d5e403729a5aee6ae113fb65dc434b1cea84fa3244495c38ac0bcffd1c11522001f80aa076814eac18 SHA512 68ce01a80a84e8bea12ae6d8ca1473c4c5c604c7b9b3691f6ece627ff198e6d5de3611b0f2812d4ce8969e98126beb8641bd6546695bf430fffc20c3ceecb0bb +DIST oct2py-5.8.0.tar.gz 442805 BLAKE2B adff195db13288fae467f1c24834dbedd369170184626ac90fd6d64960a63dd11efe4d0bf77ecbe5fad08d11c8280c0b92e5aec3868b750f44f4d3fa8f9c0b3f SHA512 4e69d0df3a8664f0601d31fbfbb6ef65ac16066668c32ca7506023e02a7416bb81da8f18a9e49f2cdd8a0d46b1c55b9c96d9c71f5482c63c8409465188174daa EBUILD oct2py-5.7.2.ebuild 1219 BLAKE2B 99af5ccb2ccefe4c4ebcf4c23c6a3edd102e3d58ad4455d5e403729a5aee6ae113fb65dc434b1cea84fa3244495c38ac0bcffd1c11522001f80aa076814eac18 SHA512 68ce01a80a84e8bea12ae6d8ca1473c4c5c604c7b9b3691f6ece627ff198e6d5de3611b0f2812d4ce8969e98126beb8641bd6546695bf430fffc20c3ceecb0bb +EBUILD oct2py-5.8.0.ebuild 1219 BLAKE2B 99af5ccb2ccefe4c4ebcf4c23c6a3edd102e3d58ad4455d5e403729a5aee6ae113fb65dc434b1cea84fa3244495c38ac0bcffd1c11522001f80aa076814eac18 SHA512 68ce01a80a84e8bea12ae6d8ca1473c4c5c604c7b9b3691f6ece627ff198e6d5de3611b0f2812d4ce8969e98126beb8641bd6546695bf430fffc20c3ceecb0bb MISC metadata.xml 616 BLAKE2B 8ecf15bc368039c2a5abb858bbb1bf78028868070ccc528e62bc2318c9f6348a103a857ca7f256e548de8f0874ebfdc387d264af3fb13764b3145e91265c1e57 SHA512 387f069b113e2ddf805e75d3f440083c72bc07e211c6b8af0c7b20e73bbdb3244a71d012b051041b6de6000d84caa4bceed1747e098f9621096ab30dc8bdac1f diff --git a/dev-python/oct2py/oct2py-5.7.1.ebuild b/dev-python/oct2py/oct2py-5.8.0.ebuild index 79f44327ad13..79f44327ad13 100644 --- a/dev-python/oct2py/oct2py-5.7.1.ebuild +++ b/dev-python/oct2py/oct2py-5.8.0.ebuild diff --git a/dev-python/opentelemetry-api/Manifest b/dev-python/opentelemetry-api/Manifest index c1eaab355c79..dd237b9cf8a1 100644 --- a/dev-python/opentelemetry-api/Manifest +++ b/dev-python/opentelemetry-api/Manifest @@ -1,3 +1,5 @@ DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 +DIST opentelemetry-python-1.29.0.gh.tar.gz 1178849 BLAKE2B f26914c14025e77486df0c587318f96c4b27bd2caeacc877091300fc054f4670a642ca6fcafa909b986a97168ab004d4a969a05571ee38ab7797b3b38f4cc91f SHA512 92c90e6a684d8cfab3bba4d72612ccf53ae54cdd9784e3434b25adc3730fe114f21fd7aa21da80edf6e0e7c80b39c64ee31fb16f68b04809289bbf5d49d4ca2e EBUILD opentelemetry-api-1.28.2.ebuild 1367 BLAKE2B 8113642bd5823e8a038ab939d7d7b55b03d0e0135b10e5235ae5dab1482055c00db58c4f56b1f6886b2571a056ccf5880e71f9240f7da54a3ad3991f3c9184ce SHA512 3f8b2c4545a011d30697de9ec6da84c958ce12bec44bfdee65b4fd3ff9a3453ef28bd13f69ee7477c6490227eafbaf9c49013fa98446a36a7c8a20aab1159abe +EBUILD opentelemetry-api-1.29.0.ebuild 1370 BLAKE2B 41d672b026dd77854706febc78eeb9a4b0a2a6fdbc891c28b39043029e3c8260c22e7e6bf1ec4e9f2c31992ed14f97e181bd763f818d3e7f89666bf62ab7bd61 SHA512 f9f1d2a3e16a5178e3f8819e00af50add6eb6654c09767f80f07908428065897c732f78e48bdfed3a455643be2ba645a478e48496c3110f208c6c17d5a65ac22 MISC metadata.xml 643 BLAKE2B 47c86acb0093f5c596de91afcfaa9f2297f541327d008d33bbe6c542b98e8ae3cf7208c00b0d66d1050a14b5d68439ddcba5ed4449bbe05da3afb8433b95da59 SHA512 20439a62491c5e7a538bc6ec5c9f90cd9473b08d71813d19899fa538f033b164a9bf2fed01d7a90788ad4ce0768fb71bb9e00f6536ffe82da322a73a88459713 diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.29.0.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.29.0.ebuild new file mode 100644 index 000000000000..84b0e1b64f45 --- /dev/null +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.29.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Python API" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-api/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Unnecessary restriction + sed -i -e '/importlib-metadata/s:, <= [0-9.]*::' pyproject.toml || die +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in opentelemetry-semantic-conventions opentelemetry-sdk \ + tests/opentelemetry-test-utils + do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/opentelemetry-sdk/Manifest b/dev-python/opentelemetry-sdk/Manifest index f5d8b0bbb8f9..7acbf3770d5a 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1,3 +1,5 @@ DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 +DIST opentelemetry-python-1.29.0.gh.tar.gz 1178849 BLAKE2B f26914c14025e77486df0c587318f96c4b27bd2caeacc877091300fc054f4670a642ca6fcafa909b986a97168ab004d4a969a05571ee38ab7797b3b38f4cc91f SHA512 92c90e6a684d8cfab3bba4d72612ccf53ae54cdd9784e3434b25adc3730fe114f21fd7aa21da80edf6e0e7c80b39c64ee31fb16f68b04809289bbf5d49d4ca2e EBUILD opentelemetry-sdk-1.28.2.ebuild 1599 BLAKE2B 795263ee13dc1b98c42930b83c63da0969307fa2f91be12a6e0eaefd2e083d26bb944c94f392b0edd2bacbf940e5c9ee94bb7bd8e25e4ac3a6567d99a4d159d7 SHA512 b29754ee8e031d1104b122688328efd3b0286b7bb9a2cc308dfef95d74227cce8d4450485bbf5ff824679bd3eb6be0189599ec5bc7a38df917b2e5585211cc18 +EBUILD opentelemetry-sdk-1.29.0.ebuild 1602 BLAKE2B fd8d51bb496d33534539aec1234f63667e259e8c0ef245099d62629fc945d24969c944aa631292b4b0505f893eb35e0955e5be822346336cb7c552de0c6288c9 SHA512 90683a0eb7d653160fc0c0b24986200aba7dd389b025d5afb83f2254925c17c1dfde6c41ec9710fb98b92f74cd1c0460c07ddcae74d72d60495ff14ef5910bb6 MISC metadata.xml 643 BLAKE2B 76dfef2a0bbc6ca40385189ccbb4dc8284b807dc873c3d7a02e171dd35fde051289bdb673b5f445c0b080e3b310b8e0d99311db283a6645c4f8ff8bff856d474 SHA512 8899744243bcbed9b286104609532c281d04febbb7a9da4f7c71aad177f6dcf728f008355fa6c0c1d201701360b3430084fe223d5cffa9af09adbbbde7292595 diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.29.0.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.29.0.ebuild new file mode 100644 index 000000000000..11e9ed4f6c7c --- /dev/null +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.29.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Python SDK" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-sdk/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" + +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] + ~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + ) +" + +# Tests cannot handle xdist with high makeopts +# https://bugs.gentoo.org/928132 +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in tests/opentelemetry-test-utils; do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_DESELECT=( + # TODO + "${PN}"/tests/resources/test_resources.py::TestOTELResourceDetector::test_process_detector + "${PN}"/tests/metrics/integration_test/test_console_exporter.py::TestConsoleExporter::test_console_exporter_with_exemplars + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/opentelemetry-semantic-conventions/Manifest b/dev-python/opentelemetry-semantic-conventions/Manifest index e46eee3e5cdf..626f3ffc166b 100644 --- a/dev-python/opentelemetry-semantic-conventions/Manifest +++ b/dev-python/opentelemetry-semantic-conventions/Manifest @@ -1,3 +1,5 @@ DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 +DIST opentelemetry-python-1.29.0.gh.tar.gz 1178849 BLAKE2B f26914c14025e77486df0c587318f96c4b27bd2caeacc877091300fc054f4670a642ca6fcafa909b986a97168ab004d4a969a05571ee38ab7797b3b38f4cc91f SHA512 92c90e6a684d8cfab3bba4d72612ccf53ae54cdd9784e3434b25adc3730fe114f21fd7aa21da80edf6e0e7c80b39c64ee31fb16f68b04809289bbf5d49d4ca2e EBUILD opentelemetry-semantic-conventions-1.28.2.ebuild 1221 BLAKE2B 1b22229ad3f8f54c0132cf7777084c1c42e47f90b162187c7f2326f4a63ec52a86edc1323ede626a5d304fbdd8c663ffdb09fe5ecbf64f86fd15da33e9116653 SHA512 a96647e39c3edd47e7cd040e4f8855bdc668b65d277e34b25333fb717b74125d9d806920a525f3ed7f0cd339bab6ef2be2c2be29a0f74a45437a426f680c53c5 +EBUILD opentelemetry-semantic-conventions-1.29.0.ebuild 1224 BLAKE2B eb2f081d33592c7951a417b77cb362cebf224920b8b5a0f9be58d1ec1a34aca4e40cbce0cc2fb094d45942b4c1b1ef56242224919d8495efe430784f6d9e1144 SHA512 b30787b7e8c2bdd647775196d2cf081566341f596c16b672698a1fc1f23e3c0db99d5e5bbe7ed54b252b1c498912885e3483570dd1be8cd17966b9ea5fcc5b23 MISC metadata.xml 660 BLAKE2B b231081049a3c5830c7d3d5494261d24ade30de731cf7b4186273af4521db9d1e56c6811ef90b6b763354e67d198c3edefb055bb76f23fb14097df57709546da SHA512 1b6869a2b3918e48f376261d70bcaa9789511ba06cb988e9484a64dcfb57b1494300b29fd6316e39dc23e0d295d6c087e5a07dedf268ca62cd9d555b356379b7 diff --git a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.29.0.ebuild b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.29.0.ebuild new file mode 100644 index 000000000000..d6be87846142 --- /dev/null +++ b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.29.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Semantic Conventions" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-sdk/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] + ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in opentelemetry-sdk tests/opentelemetry-test-utils; do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index c8e1dee56880..30353a4ee956 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1,3 +1,5 @@ +DIST pyaml-24.12.1.tar.gz 29288 BLAKE2B 392579d0afbf1b71e0cc38d875c0f8492e9f33b33bdd619f1a9b3d9f042d1cc62ba19a495bab14331c53e745691e802a80b772ff0293dabb8da00da75a3a53ce SHA512 46125a594609cbcfc91f5005d5f551ab8b20ff4615bf8df586f68b1afcda090c1649d973f8e281c1aacd139c27359d44625b8e5aa2f9792a49bde9b2942993b5 DIST pyaml-24.9.0.tar.gz 28111 BLAKE2B ff3dcf2ece6e3b03b8f9837e7ea7db04cd1bcffd94e0101c73e5cc38b5c140e65f45c9936b5353fe73950d8b88ee0265c8be290a795ac6e844e64fb853faae18 SHA512 a10026d2e69c5bbfabbe5ed02814fecb8838c969761eec0137a93465478abc518ba83cfae4b9df643040aa5fe46a62fc9def1fd763830ae8d2cfdce3b3061365 +EBUILD pyaml-24.12.1.ebuild 604 BLAKE2B cebb6d06df24d6d5b624f295ff78b54ebeb9e66595e30082304d78f87ab999c61155513f4b92b39d541d3450a9026747c3cca80812d9370b6e692187f38bdb13 SHA512 6b059570580e2693f204ef8c5cf0fb5c92305a528685e5d0cd001f7914e87a8933ea8251e5f21d7931bdfc33152eb807611c600283d041cb40b72d11f8779d90 EBUILD pyaml-24.9.0.ebuild 600 BLAKE2B 879b3e8e1f17fe6b3c31a81ebec70caf022168de83d7ba87b4b1cb41389cd5cbfcd82195b09c1fcbeed5e395b86a807dd455ddec3962a85832f620c417e2970f SHA512 3b04e52e89741e27a3a9d9ae70db13fa48cc966bcc309234c13c4d33712d63023cfb468210e230cf05133affc6d3a63adb82c1209dd130316f979598fd3d26e1 MISC metadata.xml 470 BLAKE2B 725657a34cdcbddf146ea3163af81fd22f78b895281e7dc2192b8c1f49fa9ec868e41a38bc371ce61160535ad0c5c1d8741109858cb8e3eafb40a77d623c3ecf SHA512 c64f440d674396b0a750780cbc5ab1a5003be1d3357b39a792cb9490870c768ab740266575cf6780f173252a893f6fa93fe9d4f414647274e520c4bd4b579c67 diff --git a/dev-python/pyaml/pyaml-24.12.1.ebuild b/dev-python/pyaml/pyaml-24.12.1.ebuild new file mode 100644 index 000000000000..f6434eb6f94d --- /dev/null +++ b/dev-python/pyaml/pyaml-24.12.1.ebuild @@ -0,0 +1,30 @@ +# 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="PyYAML-based module to produce pretty and readable YAML-serialized data" +HOMEPAGE=" + https://github.com/mk-fg/pretty-yaml/ + https://pypi.org/project/pyaml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pyqt5-sip/Manifest b/dev-python/pyqt5-sip/Manifest index 6d01c3fc69aa..c126512aba28 100644 --- a/dev-python/pyqt5-sip/Manifest +++ b/dev-python/pyqt5-sip/Manifest @@ -1,5 +1,7 @@ DIST PyQt5_sip-12.15.0.tar.gz 104024 BLAKE2B 40fdf25bfb8ca321f50926d7041e33edee9fbebafaded50d283ea95b04ea050e368d2b8470110d758f68f3ac08ada68b65b2f6ebcb9d7dd43707636e26701854 SHA512 1a009b53e80fc8231478f741839d8a88ab26f531c4ab0d41ccc00c8b0650c13c95c3c89cc949858a99bd1d817d736507df519384dff029530edc554f4b35b4cc DIST PyQt5_sip-12.16.0.tar.gz 103977 BLAKE2B 4343c33565d140a30ea186f2a4a3c787df3b5da08b569c45899bce4dbbc74617104013ac0c8362d6653105287c78f54d5519aa6fd0f9e4c41ca116587b77511d SHA512 86d5bcdac9de588dea21853ad8b7db6cc095ee07c4936a42035a9b18a5386ba7fc2c4d119e3fa21312eaca64564073cc503a56f2852b78b53eb9ec43a0e4e107 +DIST pyqt5_sip-12.16.1.tar.gz 103975 BLAKE2B 43a71f75809c64ce104044c8aa9610ba03de5a87bb69a3cf173153a7ae10ddef623113e54922fcb215920c2635bcd7294e761ea5043d735f700cde431d0f7a16 SHA512 c85305503927dee0886f88d54aa74c4a0123159d1f534b1ec6d5ea5dff149954b2f11cf14c4a14d97cb04b0ce40fc75fd28b0109b5a2232e89cb057b3caa57bc EBUILD pyqt5-sip-12.15.0.ebuild 699 BLAKE2B e075b21da2e9ce203883c3f0944a00e0b36bd6b0e8fb72e49cddea0a6632d8b75d65ab9db6e9b0ee53d0ccea0ddff7ec226d8908e067f0dceb1b7d5e3d535b38 SHA512 745ed6fc2938cc7f7c15efe91e64f71be760dab2c0b273dc5f25375a89d0458175e96c9dc1c80dfb6921eb111e0ea687cce8ebe0f2ab674d8ca826782c2847f9 EBUILD pyqt5-sip-12.16.0.ebuild 637 BLAKE2B c73dc34429b3568939817a2d76ba9ced221c31b0786c60b7409deaa668aca5abdf13654535f7f3264b53b2976b213c35c90b1784ce743efbb7cd355308cde084 SHA512 34cd65e59bb1d3ea91fb37e9aeb5b52697ed0fd7cb5ed5b550d27b713c02af1df9d136e8b76fa756dbe59fc8681bd1ff74f5a0408f70b47c144d2d178b487997 +EBUILD pyqt5-sip-12.16.1.ebuild 481 BLAKE2B a5a5b94157ac3f261a49dea674058ef75c93ba62ec6ffb0e44052c97d1ee85b4e1d631ee37f1c9d3e5cfce9af284fbd06df7dfcd64bce0d222451cb0c3a54344 SHA512 882b030bf8b9d1029bdbab3b5bc1ebd38f2cb2c0d070962ad4d62cd7995a3e593f5c922c906e6d505d6604fbb414398c0381f7f6b8a11324b0897bcf92aba5d4 MISC metadata.xml 382 BLAKE2B 1924bdd8d05a7a04546d994004f1902edf06ca681fc557a47841e41e529cad483f2d6729b1be2b48d906dc94162eeed19f7749a4e431a3d95050d5ac08246fe7 SHA512 2296c770ba9ba38cebbd37474a6ed8bbd6221c6848555242529ee5cee1b3fff928bf9a6fc8e5ed4859af72f030588f1ef493a0edb54955968ac3f514b3cd9ec5 diff --git a/dev-python/pyqt5-sip/pyqt5-sip-12.16.1.ebuild b/dev-python/pyqt5-sip/pyqt5-sip-12.16.1.ebuild new file mode 100644 index 000000000000..4113f4ef35d1 --- /dev/null +++ b/dev-python/pyqt5-sip/pyqt5-sip-12.16.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# keep compat in sync with pyqt5 or else it confuses some revdeps +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="sip extension module for PyQt5" +HOMEPAGE="https://pypi.org/project/PyQt5-sip/" + +LICENSE="BSD-2" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-python/pyqt6-sip/Manifest b/dev-python/pyqt6-sip/Manifest index 8f43ae00259a..234928c80e26 100644 --- a/dev-python/pyqt6-sip/Manifest +++ b/dev-python/pyqt6-sip/Manifest @@ -1,5 +1,7 @@ DIST PyQt6_sip-13.8.0.tar.gz 92264 BLAKE2B b44ba35c3209b3a49fccf0e4634af8a410b1531d0dd74fc665d7da9780f4e32baf18fbba80eb9635a96442c1c91295dc10e0388194d1e169d300e0e1b37d18cd SHA512 6947690e61fe65a21f61d034ae9de7b7adb001c59a4a362933c5441648fe27140b43666efa73f981b138cfc73fac72777bb7318b98accc3c7f808687e3fc5d81 DIST PyQt6_sip-13.9.0.tar.gz 92357 BLAKE2B 444df83cae6b3cfa83e59be22b8a7d0f56a60e0304ced6b4b97d34567b74da438b6262ff40b922c59ce9a292c669f0ef6cc11d865a7044fff4f055aa7ddbe408 SHA512 0661fc4f851403183eeafaeec3c3176aa11fe0974b163a0168f757a357556ec0731d0c54afd0e581495178fda0aada4bd5c655b2e6f19bafa78c91ec7b74d61c +DIST pyqt6_sip-13.9.1.tar.gz 92358 BLAKE2B 0a92decce0b27acbc24cf903ea1ca6efa15315920bb4dd92af960c0e58bbc861b74daa950c983c56f5cc458204ebb86912c07af10b9f942ea66a6add8dc1ac7a SHA512 a4d4f3207f6bc86e148934fc84f86bcbe895d1d890b9e642154a1b5881898f1d363662ca51a847aed9bfc9942479b77581771b4f5d8d9c140bc4066d06d584f9 EBUILD pyqt6-sip-13.8.0.ebuild 684 BLAKE2B f31b223b42f25dc8d8e12d1f48b8f37fe4dad517d3cbfc4d1fa77f1a0c300f00b812686f652bc4fa732ffaacc3a3e35f13268d3546d04741392c5ade49bf9ef1 SHA512 7b91addb87a564075a225e0ed9e4a637937ef9c9dbd9743a95ef4cee64cfa7a4f0d53f36ea8440dbdfb7134bd8cb6f447cfaecfd4d0ca24d068d8ace3e3897d8 EBUILD pyqt6-sip-13.9.0.ebuild 622 BLAKE2B 75ad80d1b1740d412d48a051737d5d6a15c8680fa2eacd80d2a18ffab6764a37e359117219ec4481c54061364ebebc22cf8b9f04c756b76c04244b57fea4b22f SHA512 4bfeb601f2683b2e760fdcf45a227126c85471baaa3d3758855e375985e44478c01f17f02b8900cc3e02a929b113a73d522786bba4f3f5682e826fce2a612268 +EBUILD pyqt6-sip-13.9.1.ebuild 466 BLAKE2B 903d2617a74fe0fc972005e30a1060a93af7fb1ec081316c2c58cc69915bf4d58e1e392fd6700f9bb3a558d641e8339f6f1ec62054abc054489854d3fc7f30a6 SHA512 a10a286369c6575dbf40b4a8c42827c343ae8d99fff7285adba59ecb8b96a029202d9dc1429d3d75d19564e830774bb4143915b70f62436f3e288e58c8b6bba3 MISC metadata.xml 382 BLAKE2B df3e932890695657b0e29bb309514558938bb77489f1f95f275250f9fe960910c7c5e3a827a290e9ff9c557ced98904fb1ff92f580f3a99c6ca6b6b3932814fe SHA512 1cd634b2a0c34682fb6468301a3d7cd28e3988651b62cfa200783e6f75fde29e29ee06c494a8fc272261642e3d7c22d2d3f35c143f5c31f936af74c6aa748554 diff --git a/dev-python/pyqt6-sip/pyqt6-sip-13.9.1.ebuild b/dev-python/pyqt6-sip/pyqt6-sip-13.9.1.ebuild new file mode 100644 index 000000000000..3d640e415ab2 --- /dev/null +++ b/dev-python/pyqt6-sip/pyqt6-sip-13.9.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# keep compat in sync with pyqt6 or else it confuses some revdeps +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="sip module support for PyQt6" +HOMEPAGE="https://pypi.org/project/PyQt6-sip/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-python/pyqt6-webengine/Manifest b/dev-python/pyqt6-webengine/Manifest index 749818b800fe..40916cca4b92 100644 --- a/dev-python/pyqt6-webengine/Manifest +++ b/dev-python/pyqt6-webengine/Manifest @@ -1,5 +1,8 @@ +AUX pyqt6-webengine-6.8.0-qvariant.patch 409 BLAKE2B 8af54b536514c4315c13451ee8965d5f270d8d8c4b3e7caa6946f4cc53a1b12bc4a4ada1910025ecdb397e986432e49c882f422646b6f254c2da79485e451164 SHA512 6da7ae74ce8c62b2966f18a38d45b096844c3ec087b7323438ace2df4bd35100f07b98fbfb860d4ab1438aeb00db8f948531351747c594112341c063fcc6d1cd DIST PyQt6_WebEngine-6.7.0.tar.gz 32593 BLAKE2B 6c14323b440a83f6fed9f1f77f20b350f00255dfedfbc328a5ee638760d20958d8864eb3c590248acd5c69152c537993a95e66d1f76b28349561c8223dfc2a85 SHA512 8298aecc43e420c4fa912802fd66ee95fd71156d9a6d1f1a499ffcc2d0d45a8c3e3c170f911acfc8f094d2e434567b5143b145ce40413ee75c9a9e4420341c0c DIST PyQt6_WebEngine-6.8.0.dev2411020930.tar.gz 34309 BLAKE2B e881ea3b91b1ebccf7b93df3c0dc645e2505223948478b2e4a6399fc380e08460d8ce3cd42857adaa68a8323439257891028b43a6334f0ef2cf4e3b6e13064dc SHA512 5acd6f8712bf1964cd15ee3696bccf37aca00a3c6428df03500a678e1f7f88b1c02015fb1f7b698c4bb9db24868b99df878cf3187a14addb7b7f66354a1960c5 +DIST PyQt6_WebEngine-6.8.0.tar.gz 34203 BLAKE2B eeec38d0804039fa4d80d9c621457e18c4ae7831f351401b552191f3db8899102a4396164a1df89597460a9d6591a5d885b1bd813f226094c853aedb0918e3c4 SHA512 f48575829ccf9350ec6e743f2185975706c149dd37b8fbdf5c76bb65f606084b3d3c732ce39bfd35317d1e65659d5ec6e77b489a83c43971b5b3b3ce278bd8dc EBUILD pyqt6-webengine-6.7.0.ebuild 1971 BLAKE2B a8b8f61a7faa3ce0fe350c6d011128db2530b6f2148b9e25e6d880202028046be6a46312a8d9ebca23dcac746b8ea3ea0a0d31c03f5d98a88d979ac015915869 SHA512 04434b7819888c4f3ee4f81e5a83509d13b22d8101b50be7a099b893a2e8e406b4dbc86c660c6af2a910981a3ea1178986bf78232bce6a4d19d40fd4210dcc85 +EBUILD pyqt6-webengine-6.8.0.ebuild 1948 BLAKE2B 2366c069bf51209a236ae28c933f5d6fc8f91e5c92c08083ea45a0e3c881715e74c412c8b2f601542eb341fcf7c11b45cda34854d8a0b5c0e3079511312384aa SHA512 744cd0f20eb368a1c02052f1fc29e5133f15e4800503e23fd43a8be2a48b9d811374652699131bc721f429a5c983c930a6b7485351c29a823a029ad8121ee200 EBUILD pyqt6-webengine-6.8.0_pre2411020930.ebuild 2190 BLAKE2B 75b5fcddd511d682e4964e01320cf3be3fda9b1eaebc3847e23d303a377c285531677e890fe52a3d2e4c82ca32d8eb10652308ccf88c30d36ce5cd996ab46bfb SHA512 eb05cb1f519e990976d1500b60852b88c454b4a197fbde63d7e69babc56f9fe1f50d5dfcd5d7c603c8714b996a21b42beb548d9766deb3540a6afb310372cf06 MISC metadata.xml 574 BLAKE2B 1cc3bbf5d25e8aac390530005c225bfc618fbb1bdef3a3d075f445eee2cf68d86feb6ac8841d7e0efd1679b19fc14b33b33accdd7e4932e742f46907a8f98601 SHA512 1af94b1a66be1dd38feb818ba973852912bacacc715e0bd893f8b3de56d17f8902b7486cc487137defad749773a6f728c470cbb9c62d15f91a63d80b16296604 diff --git a/dev-python/pyqt6-webengine/files/pyqt6-webengine-6.8.0-qvariant.patch b/dev-python/pyqt6-webengine/files/pyqt6-webengine-6.8.0-qvariant.patch new file mode 100644 index 000000000000..bdb7d4c2a202 --- /dev/null +++ b/dev-python/pyqt6-webengine/files/pyqt6-webengine-6.8.0-qvariant.patch @@ -0,0 +1,15 @@ +This was removed between 6.8.0.dev2411020930 and 6.8.0 final, but +results in a build failure if missing (or at least with Qt6.8.1). + +qwebengineframe.sip:52:64: error: invalid use of incomplete type 'class QVariant' +--- a/sip/QtWebEngineCore/qwebengineframe.sip ++++ b/sip/QtWebEngineCore/qwebengineframe.sip +@@ -29,4 +29,8 @@ + %End + ++%TypeCode ++#include <QVariant> ++%End ++ + public: + bool isValid() const; diff --git a/dev-python/pyqt6-webengine/pyqt6-webengine-6.8.0.ebuild b/dev-python/pyqt6-webengine/pyqt6-webengine-6.8.0.ebuild new file mode 100644 index 000000000000..82c8f1a91a87 --- /dev/null +++ b/dev-python/pyqt6-webengine/pyqt6-webengine-6.8.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYPI_PN=PyQt6_WebEngine +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="debug quick +widgets" + +RDEPEND=" + >=dev-python/pyqt6-${QT_PV%:*}[gui,ssl,${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV}[gui,widgets?] + >=dev-qt/qtwebengine-${QT_PV}[widgets] + quick? ( + dev-python/pyqt6[qml] + >=dev-qt/qtwebengine-${QT_PV}[qml] + ) + widgets? ( dev-python/pyqt6[network,printsupport,webchannel,widgets] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/pyqt-builder-1.17[${PYTHON_USEDEP}] + >=dev-python/sip-6.9[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} +" + +PATCHES=( + "${FILESDIR}"/${P}-qvariant.patch +) + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + + --enable=QtWebEngineCore + $(usex quick --{enable,disable}=QtWebEngineQuick) + $(usex widgets --{enable,disable}=QtWebEngineWidgets) + + $(usev debug '--debug --qml-debug --tracing') + ) +} diff --git a/dev-python/pyqt6/Manifest b/dev-python/pyqt6/Manifest index efcf3996cae9..63cc35d429f5 100644 --- a/dev-python/pyqt6/Manifest +++ b/dev-python/pyqt6/Manifest @@ -1,5 +1,7 @@ DIST PyQt6-6.7.1.tar.gz 1051212 BLAKE2B 9c1c619b08cc14e0a92ea22812c14d5a3cb47e45eea917d50ab63918d8433d54b354f26b885f2567b9c6e2f0380e819972d055d1a1751f6646ebb5e6cf72b228 SHA512 1e0fec009e1823b06460fd96eddc00ed31388c20f6d832aa0ebaa130baf06d83514df43af7961c3cb2872570d27e539d6db7bf6143ccdfd61a19da7521be2c7e DIST PyQt6-6.8.0.dev2411221125.tar.gz 1062521 BLAKE2B 88c4fc1580b74bf18f41ed266ec486cbfa60851834b747c153ac1fe20f08125154eda1755e4c33bf59a84e6560129a7c3c800a0c1cd4f8658f20fda0e4e35dfd SHA512 f52fe48969a8b86651f6a3bf6156a91c57e42e4192bd184dfe6b7ac8a4728509b4610c2da8fb88039ff2880b02c6dbb455d1ed12fb65b7cd65ddb8ca7fb6a476 +DIST PyQt6-6.8.0.tar.gz 1061357 BLAKE2B da944a8ec6c5632cb24d56b5a268521cbf3ae17d307ec5aba292bf5f25e33cb2e92fef28c1bcc506c4e5ea60c9e2f714bfd2a95aefe2cc40726b4ec9fccb36cb SHA512 da57be66ede5fe1355ab1fd95e436c139e0d1dffc75f23f3933c20623d62fc9b9fad573d876e90d066588d2dc2f01e83771a0f05fe3b668fbb69a889ddfbcc15 EBUILD pyqt6-6.7.1-r1.ebuild 5782 BLAKE2B af438321cb1017cbcffd2c08695d63c42c439f2a3328ca26e90339e6898aefb82e175fc62bd3c4ff075a58476f3113b8c7b9386e657a86bb29f884d81b5d1ade SHA512 67b17507296997c8c659b32b510ca2407fa7d0261f80b708d3d757474e298648db5702c1cc06fc1a1e06f0568a13a8b6e37e4252894f36aa011ae81d52c9dd4d +EBUILD pyqt6-6.8.0.ebuild 5926 BLAKE2B a3e5499be50539de9c4d801743563f51c526ceb2e50006b79e90325f3de591acdf99213eadbcb6d6b799d4c82262822a14b86848d2d9a1b2b826dbc8cc9a7210 SHA512 b6433feb97481751451086868cd3e79bd9ee2f356bcb57c4d2a623d90f8f7652f4a64319dd11e51b321bb748ab14bdcb6c79b1cc2f8608845358b6a36033f26e EBUILD pyqt6-6.8.0_pre2411221125.ebuild 6133 BLAKE2B 8c388f94468cab04c040e7274db2f2ef60a340e73deeee422d498da4ff160bde2a213ac824a5e4ee9c7c935735c1b7c46a37d0b179c57b87abe2ca41343e87f1 SHA512 4225aa224426386ae291ab67110bcda40812da54067445cde6b34703ff7332833d4dfd55e09b9c09a910494855da4410183378672ba367fc512011eb5c8ea5f4 MISC metadata.xml 2473 BLAKE2B a86705641a5b20eda9edb08d129e98e848586ff3d6ddc5adfb52c26269d84cf1ebbbcc1cfd967b31403fb12f5a3fb021785c9f3651087240344fa0eb5e403082 SHA512 d985e7e96b9263072165fb323e4efdf1e04f6decace4ea52228ed822d0be730596e8e4e46627e8111574b0703e86f27c82d9a2ec72661edba5583d3e49efc1f4 diff --git a/dev-python/pyqt6/pyqt6-6.8.0.ebuild b/dev-python/pyqt6/pyqt6-6.8.0.ebuild new file mode 100644 index 000000000000..e70821355671 --- /dev/null +++ b/dev-python/pyqt6/pyqt6-6.8.0.ebuild @@ -0,0 +1,189 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYPI_PN=PyQt6 +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +# 'can' work with older Qt depending on features, but keeping it simple +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +# defaults match what is provided with qtbase by default (except testlib), +# reduces the need to set flags but does increase build time a fair amount +IUSE=" + bluetooth +dbus debug designer examples gles2-only +gui help + multimedia +network nfc opengl pdfium positioning +printsupport + qml quick quick3d remoteobjects serialport sensors spatialaudio + speech +sql +ssl svg testlib webchannel websockets vulkan + +widgets +xml +" +# see `grep -r "%Import " sip` and `grep qmake_QT project.py` +REQUIRED_USE=" + designer? ( gui widgets ) + help? ( gui widgets ) + multimedia? ( gui network ) + opengl? ( gui ) + pdfium? ( gui ) + printsupport? ( gui widgets ) + qml? ( network ) + quick3d? ( gui qml ) + quick? ( gui qml ) + remoteobjects? ( network ) + spatialaudio? ( multimedia ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( gui widgets ) + vulkan? ( gui ) + webchannel? ( network ) + websockets? ( network ) + widgets? ( gui ) +" + +# may use qt private symbols wrt qtbase's := +# non-trivially broken with Qt6.8 wrt upper bound, waiting for PyQt6-6.8.0 +COMMON_DEPEND=" + >=dev-qt/qtbase-${QT_PV}=[dbus?,gles2-only=,gui?,network?,opengl?,sql?,ssl=,vulkan?,widgets?,xml?] + bluetooth? ( >=dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) + dbus? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-apps/dbus + ) + designer? ( >=dev-qt/qttools-${QT_PV}[designer] ) + help? ( >=dev-qt/qttools-${QT_PV}[assistant] ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) + nfc? ( >=dev-qt/qtconnectivity-${QT_PV}[nfc] ) + opengl? ( + gles2-only? ( media-libs/libglvnd ) + ) + pdfium? ( >=dev-qt/qtwebengine-${QT_PV}[pdfium,widgets?] ) + positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) + qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) + quick? ( >=dev-qt/qtdeclarative-${QT_PV}[opengl] ) + remoteobjects? ( >=dev-qt/qtremoteobjects-${QT_PV} ) + sensors? ( >=dev-qt/qtsensors-${QT_PV} ) + serialport? ( >=dev-qt/qtserialport-${QT_PV} ) + speech? ( + >=dev-qt/qtdeclarative-${QT_PV} + >=dev-qt/qtspeech-${QT_PV} + ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) + websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) +" +RDEPEND=" + ${COMMON_DEPEND} + >=dev-python/pyqt6-sip-13.8[${PYTHON_USEDEP}] +" +DEPEND=" + ${COMMON_DEPEND} + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND=" + >=dev-python/pyqt-builder-1.17[${PYTHON_USEDEP}] + >=dev-python/sip-6.9[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + dbus? ( virtual/pkgconfig ) +" + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + pyqt_use_enable() { + local state=$(usex ${1} --enable= --disable=) + shift + echo ${*/#/${state}} + } + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + --confirm-license + + --enable=QtCore + + $(pyqt_use_enable bluetooth QtBluetooth) + $(pyqt_use_enable dbus QtDBus) + $(pyqt_use_enable designer QtDesigner) + $(pyqt_use_enable help QtHelp) + $(pyqt_use_enable gui QtGui) + #--disable=QtLocation # force-disabled in project.py + $(pyqt_use_enable multimedia QtMultimedia \ + $(usev widgets QtMultimediaWidgets)) + $(pyqt_use_enable network QtNetwork) + $(pyqt_use_enable nfc QtNfc) + $(pyqt_use_enable opengl QtOpenGL \ + $(usev widgets QtOpenGLWidgets)) + $(pyqt_use_enable pdfium QtPdf \ + $(usev widgets QtPdfWidgets)) + $(pyqt_use_enable positioning QtPositioning) + $(pyqt_use_enable printsupport QtPrintSupport) + $(pyqt_use_enable qml QtQml) + $(pyqt_use_enable quick QtQuick \ + $(usev widgets QtQuickWidgets)) + $(pyqt_use_enable quick3d QtQuick3D) + $(pyqt_use_enable remoteobjects QtRemoteObjects) + $(pyqt_use_enable sensors QtSensors) + $(pyqt_use_enable serialport QtSerialPort) + $(pyqt_use_enable spatialaudio QtSpatialAudio) + $(pyqt_use_enable sql QtSql) + $(pyqt_use_enable svg QtSvg \ + $(usev widgets QtSvgWidgets)) + $(pyqt_use_enable testlib QtTest) + $(pyqt_use_enable speech QtTextToSpeech) + $(pyqt_use_enable webchannel QtWebChannel) + $(pyqt_use_enable websockets QtWebSockets) + $(pyqt_use_enable widgets QtWidgets) + $(pyqt_use_enable xml QtXml) + + $(usev debug '--debug --qml-debug --tracing') + + $(usev !dbus --no-dbus-python) + # note: upstream currently intentionally skips installing these two + # plugins when using wheels w/ pep517 so, *if* something does need + # them, it will need to be handled manually + $(usev !designer --no-designer-plugin) + $(usev !qml --no-qml-plugin) + + $(usev !gles2-only --disabled-feature=PyQt_OpenGL_ES2) + $(usev !opengl --disabled-feature=PyQt_OpenGL) + $(usev !ssl --disabled-feature=PyQt_SSL) + $(usev !vulkan --disabled-feature=PyQt_Vulkan) + + # intended for Windows / Android or others + --disable=QAxContainer + --disabled-feature=PyQt_Permissions + ) +} + +python_install_all() { + einstalldocs + use examples && dodoc -r examples +} diff --git a/dev-python/respx/Manifest b/dev-python/respx/Manifest index 042c2c623a7e..9a310c77444d 100644 --- a/dev-python/respx/Manifest +++ b/dev-python/respx/Manifest @@ -1,3 +1,3 @@ DIST respx-0.21.1.gh.tar.gz 432341 BLAKE2B b375e8bc9370e13855197487e1e8139cf3fede0f03d7ad034ef2c78bce5ad95d3cb8cc7440c2566d188a98a52d0068c13288c7d4ec802e04d2f269a64e1ce326 SHA512 156f34f4635012230b68812f24978136f37f96dc0cf0ea9e80ed2d6a3e0639eb7591ed34933f75d5cda32993852aa034b22389af0fed341ab4ad1002482f2e9c -EBUILD respx-0.21.1.ebuild 935 BLAKE2B 4693096d541272f4660760847dadb3b2929f67e47b673e11762ac3af6ef7bd6630b1dd4c81701781f278701a7ab654b7240b0aaed7f73d1e8791c7600135e6d5 SHA512 6375f47c79f9890d19536511fff9f4db1a1c7dbae001df96158ecaea21358adfbbfb2c8a8ac06ed6abd00a3159a0fa879b1c9f11c2848a68c54cab866a62c2b9 +EBUILD respx-0.21.1-r1.ebuild 1023 BLAKE2B fb83fb63217814f0554168327db064376a69ec99a417d4aaea0f64a8e0174c859238fb1ee433809e4c7857a0d19d1f9c99732830ef4dd092c9833a051f30702b SHA512 bf2138fc102c324a1b80364bc9f1afde9315f21afc4afa23eafc7dfdcc0a3f6098105ddc439fc6b09141fa3964d5f4f58efa8dc2d350ee6489e9cd03b7d12c82 MISC metadata.xml 610 BLAKE2B 3e77efa934fcb00a190e062741e0233a1c9f99619c612efa02e797f133661523b408fec5bda914a6180808370faec6e8928c2c77aa71ed9d4124b8933f7a62e8 SHA512 9fdc4f2a5f0fd9e6095123729fc030ed2baeafd975094a0fc24baae33dcddc08cd59f8ece99196a0fb64a2cad4bbf898a4817a0126d08e3d2b5309fc13d9ca7e diff --git a/dev-python/respx/respx-0.21.1.ebuild b/dev-python/respx/respx-0.21.1-r1.ebuild index 424cae52ceb9..8b938b5a1627 100644 --- a/dev-python/respx/respx-0.21.1.ebuild +++ b/dev-python/respx/respx-0.21.1-r1.ebuild @@ -24,8 +24,10 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm64 x86" +# https://bugs.gentoo.org/945735 +# https://github.com/lundberg/respx/issues/277 RDEPEND=" - dev-python/httpx[${PYTHON_USEDEP}] + <dev-python/httpx-0.28.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index 8f56ae4724e5..57efd3bbc03a 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,5 +1,7 @@ DIST sip-6.8.6.gh.tar.gz 515751 BLAKE2B 769a1270351473f1c498e0d3cd463df3aa0992782b5501bd06455b71be05cae5a9754611bad4f966cc5b204170fec7fccbb065d9ed4c800daaa1bd6448a96352 SHA512 bfbeace21ef0bfd072548bcdb9af1f4917a33e15bcd9c5f6575aea0dc0eeaeec4aa322b2408f586c0e2713ada65c1657f81a4e0eb25cb9a3472fada234beca33 DIST sip-6.9.0.gh.tar.gz 517388 BLAKE2B 453b4f124dad36b3bd2f8e86c41249bc77d2c6841eefe4a922c08306339c939c2894402ee149275a6bffab468a9b2ab05c7beeb8c214ebd0b7842ef0dbaa6f5b SHA512 ffa4035ff04a5c1ed7848322d052ed96419bddd96e20fda86307db4d96776cc00544df021423c0fd358989d4ba982648499eb7f6ddf18f04a38deab9184bfacb +DIST sip-6.9.1.gh.tar.gz 517896 BLAKE2B 1ed8eb2e3cdf4eca76aed82bafbfb6ed60163cc58aff7a709cff29c2b370c68d5dcfce8db04768b9133fba58a24734bbc32b7c5a004ab84a73661db690976228 SHA512 670b1afcf7c6337f48d53cea86c535f24932393d68ee1654c754bfa3481f2f736f1dc935f39f501650e210112034b0fdb8c8ec46627066d9af3be0c599e8a093 EBUILD sip-6.8.6-r1.ebuild 849 BLAKE2B 985e254c4f7e7810541b7d792f378c855ce4433418e4f874eaabce3116f865cff5dcd6f2c2a40b58753aa11c8723004391a39dc85ded39f70e70bd7abf42429d SHA512 b6b2d4dc861857525a41029841fe15ef43c6097e5710ea5cfe411ead400d286a34af3053f1758b0790542f8d88a494ba304f3c716086dfe0552d182b978b4f1e EBUILD sip-6.9.0.ebuild 855 BLAKE2B 504980e69a83baa210e8cd9c6f88227594394500222b0c84a9be643d5d48d1fc54c95a5ee987429b89d1114574cc780b870a0275049d306fc9980f591fbfb0c9 SHA512 6f76e0a5e4a2ec2f69e5fd2da4dcc48b31d8707dade249b3389c10022277f06a2b76de906e736895a6c201a2ffbbb57191d6d9afc2209dd2fe3ac6862299ae18 +EBUILD sip-6.9.1.ebuild 855 BLAKE2B 504980e69a83baa210e8cd9c6f88227594394500222b0c84a9be643d5d48d1fc54c95a5ee987429b89d1114574cc780b870a0275049d306fc9980f591fbfb0c9 SHA512 6f76e0a5e4a2ec2f69e5fd2da4dcc48b31d8707dade249b3389c10022277f06a2b76de906e736895a6c201a2ffbbb57191d6d9afc2209dd2fe3ac6862299ae18 MISC metadata.xml 524 BLAKE2B 57657d01dc5be425f66f1136356fa028a32ad6a2ca79cadf4b9ed6a940b414b0e3efa161895d1858ab3d4977241883f9dfefbe37a8cbaad10589d57f598856a1 SHA512 82208b61b297d8c2110ea47a82c046118afd9332c52fa6590f7ed11b4e70af8b75f087b006fa5ed9058dbd2f98f02104559e085f781f2fc887396b7ff9d1b859 diff --git a/dev-python/sip/sip-6.9.1.ebuild b/dev-python/sip/sip-6.9.1.ebuild new file mode 100644 index 000000000000..a67928c5bda2 --- /dev/null +++ b/dev-python/sip/sip-6.9.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings generator for C/C++ libraries" +HOMEPAGE="https://github.com/Python-SIP/sip/" +SRC_URI=" + https://github.com/Python-SIP/sip/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2 BSD" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10) +" +BDEPEND=" + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index e4f8f49aaed2..f1f8cb1f2efc 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1,5 +1,5 @@ -DIST tekore-5.5.0.tar.gz 270803 BLAKE2B 37b7410e701b67917af76bac07499a9a910916eed8e9dd87e394e420309ed9a3094a6cf600182db084523eeb6942c6a9ebfdda108f8b1f5ef848be4a02a32f6a SHA512 b78eea1fafd27bbeb230f9b697783e3b8cd1aebc93633f168dba07d94bee80ddefedf792ea7870b258757559256424db74d21f3e14201e8c3df801fac4d12067 DIST tekore-5.5.1.tar.gz 270328 BLAKE2B 44a03289ff908b97da7ef089513156b00b8858d99172139981ce6b618074a628796f3f965a1180f7ee0cb2c23e5c97fd0f7ce1ea9da3d6352102e2da3406b1cf SHA512 aec3eddadfd27098a4608a193750bb521d1e4c5c786c09b98e4295ed167dc3ac88b9382528778513a8b2143153950a02b7cbbdbbae1775259ab29c3df17abe05 -EBUILD tekore-5.5.0.ebuild 1109 BLAKE2B a8d73338858ae0e2452c65f4d4062986a3727a02eef339eca81aa2bb7a45989af2fbb62d4bd7cf461c2f2ba725228515eb2d88e60a6d655a7c39815dba1be658 SHA512 dfca84348847012a9112f23f93363ea40a3f06df9fb8dcabf5586dc2001d000231867e498a883d1bef731049ddd1a3580c502bbb6f787598493ffc1e026766bb +DIST tekore-6.0.0.tar.gz 271904 BLAKE2B f5b0b8b296506c2d91e4cb763c535485a5c0ecb872e0d9e4920a74e58b97ecb8304d9daf24ebb08a47512fa922c9962e37a1b744affaba3bf846805a07d227db SHA512 204599394d6b7fdfd0c43f6e8ab692de2105fafddd00694194be036c12f705203d46b11be672c8b258c1cb2e7605c31f3e7721d5f8dd52b75dd83c9741615972 EBUILD tekore-5.5.1.ebuild 1109 BLAKE2B a8d73338858ae0e2452c65f4d4062986a3727a02eef339eca81aa2bb7a45989af2fbb62d4bd7cf461c2f2ba725228515eb2d88e60a6d655a7c39815dba1be658 SHA512 dfca84348847012a9112f23f93363ea40a3f06df9fb8dcabf5586dc2001d000231867e498a883d1bef731049ddd1a3580c502bbb6f787598493ffc1e026766bb +EBUILD tekore-6.0.0.ebuild 1109 BLAKE2B a8d73338858ae0e2452c65f4d4062986a3727a02eef339eca81aa2bb7a45989af2fbb62d4bd7cf461c2f2ba725228515eb2d88e60a6d655a7c39815dba1be658 SHA512 dfca84348847012a9112f23f93363ea40a3f06df9fb8dcabf5586dc2001d000231867e498a883d1bef731049ddd1a3580c502bbb6f787598493ffc1e026766bb MISC metadata.xml 500 BLAKE2B 5f3adc52473310e100a3705eecdfd4543c1a38e04834949b342505d3fd053fed5b5da3bf0786cee3673692d4d95ea1914bbf2bd010a426adf9cdeff75a442b86 SHA512 9936f740d16cf5def97651585af6440afa5931159c42045dcd604d26e5c8659e9993674e39a8a0693e73def8077c715a99678faf378132a23d17979e8be30dd8 diff --git a/dev-python/tekore/tekore-5.5.0.ebuild b/dev-python/tekore/tekore-6.0.0.ebuild index 1f28340fe779..1f28340fe779 100644 --- a/dev-python/tekore/tekore-5.5.0.ebuild +++ b/dev-python/tekore/tekore-6.0.0.ebuild diff --git a/dev-python/tornado/Manifest b/dev-python/tornado/Manifest index 590fe4e31092..0a982314affc 100644 --- a/dev-python/tornado/Manifest +++ b/dev-python/tornado/Manifest @@ -1,7 +1,5 @@ AUX tornado-6.3.2-ignore-deprecationwarning.patch 656 BLAKE2B a64b3b5f021f4e1939c69f20fe93ef61eb64666b083773c1fa189af03d0964b8832a97d49ce18924f9e1202f26bb85b76d182f2baaa8265d0e1a2decbd12efef SHA512 5cd0258db519ec2a02a9988160a345c94ffb2abae92a78fb8e9d3eb6017bac8ecb86f4ef0e3eedb5ea561344213850e2b342a1f6517c909a3c6a0224606f2afd AUX tornado-6.3.2-test-timeout-increase.patch 521 BLAKE2B 9d3b5d8a380178f84146e7909a6557c28c48df775abb96afadbe4a06a7b565d5c32f39359060fd45028120c8952238f95fca3348e225096784e806864cfd2b7a SHA512 00a964cd75224195e8de77bc7137c087c6f4128734a9c55505ef4d88d512deb0325df56e3da4c8fefac10915613e1dc244c9107123a22bc9f124fa515fae9f4a -DIST tornado-6.4.1.tar.gz 500623 BLAKE2B e359d9cbf5e7311e608753a2908e61ea121e4d108209866fda49e79ecca3dc8495c35583406dd7d6b2852c4f6a9df2e340b1f4b892489be976d70000ed51aa33 SHA512 294b4fff8a6d1b9592d355f7faf78f1a94a2aaea1b54414b7e81884b8d4069713a28f6105ae36f27be78abf4c47a1fceab3801bc92b5429374f7a534f104c437 DIST tornado-6.4.2.tar.gz 501135 BLAKE2B 875513089ceaa6d1195cd6959e15bfef51cef4a61c55e678e0e60bd1001afa025d452441938a21ad91189d5c4d07c6cf85d0cec0f41e07cf2c4b7b66e0770c25 SHA512 4f4556f0f7db8e13a101254693f92841374114912960d9874948548452cc9b38933292c0e37971fb151a4d9dbcf5ed7563c1505e090a1aef306f1c46f351534d -EBUILD tornado-6.4.1.ebuild 1460 BLAKE2B 2f057308232f023dcbbd8b8615dab93d442b6584b89dff1b311a06371add21db70f7ef002c95218502676270c28c4e93c0e32088484b1a2fce592f0b421622ff SHA512 7ceb0681a6400c250e8a37e105f7ec1508bf9e57a45aec95569f812c6c28efd195216191a84d0e0321e920e9298cdbe76938a6cb6093d69d14246a3192fc9d61 -EBUILD tornado-6.4.2.ebuild 1461 BLAKE2B 0ef695c793a100d9bc5fb4afca0a7a0848d35f7db9082dc963a02dfa83b023ff21edb23d4af3a98469d7022e70cb5a6f2141824550de87459ae035d242facd7a SHA512 e996985bfa050a93625c56097323f506d52d705772c5b813fb475092e3febfd3f9166f29f1b871d82dc352c764597d3eaf3fa470ca5aff47c741f7a22f8285c7 +EBUILD tornado-6.4.2.ebuild 1460 BLAKE2B 2f057308232f023dcbbd8b8615dab93d442b6584b89dff1b311a06371add21db70f7ef002c95218502676270c28c4e93c0e32088484b1a2fce592f0b421622ff SHA512 7ceb0681a6400c250e8a37e105f7ec1508bf9e57a45aec95569f812c6c28efd195216191a84d0e0321e920e9298cdbe76938a6cb6093d69d14246a3192fc9d61 MISC metadata.xml 381 BLAKE2B 96d5942b11b6364eeac2248f6e92a9e7a54094ba2b6e9ef966be4143e1fa01fa0c417027d33a71c51bb094b905b9ff79e05107e1a9debb4b1ef932ba11fd8565 SHA512 cd4db13e0c6a9cf8b3c788c53dc5ecd0dce2cf783e7b2d67dba71299d1c6a3d1dd2c2a76c0d69816ab0da4ca23f831613323c55864fd858690c605da5426bf60 diff --git a/dev-python/tornado/tornado-6.4.1.ebuild b/dev-python/tornado/tornado-6.4.1.ebuild deleted file mode 100644 index c46371664101..000000000000 --- a/dev-python/tornado/tornado-6.4.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Python web framework and asynchronous networking library" -HOMEPAGE=" - https://www.tornadoweb.org/ - https://github.com/tornadoweb/tornado/ - https://pypi.org/project/tornado/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.3.2-test-timeout-increase.patch" - "${FILESDIR}/${PN}-6.3.2-ignore-deprecationwarning.patch" -) - -src_prepare() { - # network-sandbox? ipv6? - sed -i -e 's:test_localhost:_&:' \ - tornado/test/netutil_test.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x ASYNC_TEST_TIMEOUT=60 - # Avoid time-sensitive tests - # https://github.com/tornadoweb/tornado/blob/10974e6ebee80a26a2a65bb9bd715cf858fafde5/tornado/test/util.py#L19 - local -x TRAVIS=1 - local -x NO_NETWORK=1 - - cd "${T}" || die - "${EPYTHON}" -m tornado.test.runtests --verbose || - die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/tornado/tornado-6.4.2.ebuild b/dev-python/tornado/tornado-6.4.2.ebuild index c7328deb28d7..c46371664101 100644 --- a/dev-python/tornado/tornado-6.4.2.ebuild +++ b/dev-python/tornado/tornado-6.4.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index cf0db36370bd..da241b612852 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -7,7 +7,7 @@ DIST twisted-24.10.0.tar.gz 3525999 BLAKE2B 4d274a4b5989597c2789e05774bad3595ac5 DIST twisted-24.11.0.tar.gz 3526722 BLAKE2B cd874da038e3cbc369283de5d598b99680e3122ed9bdd0bbb8e541793b739b88281708c618c8f0cf9b4bf13684188b0b893ec5f744ae510c1af446822652a866 SHA512 cfd17cad9573b47b43761625ab529a1a0b27ce75545d9bc277622a7ce138b5dccf554d3c8764de1baafc07192e1172e50f4c6d19dc65590b5318a603a808efb9 DIST twisted-24.7.0.tar.gz 3516844 BLAKE2B 169347260b473ea1c50806ce50324ebd51388186098886ccaad1f94e55f6b14eb7a7fc42728dbeaf4b5649d0e6dc1e4624cd5ab6d79feeaa733e18d09cfd689f SHA512 cd5a993c8f1dfdc82597bdc095e07c1016a2a86d1ce5b011b27f9f760db428fcba4579dda5733244979827f9c772c2480d1d419d2d24ae7af8697e2b8e852f62 DIST twisted-regen-cache.gz 911 BLAKE2B ffd3fcda6c67ffe6fd3ef581c8d507548396b66ed0708e9a5c790095e579c0d5f0f71596acf05712989da2ddef2b8d437eca973bc4d80ef8a9fa852915f38305 SHA512 95a9b931c73017d16d1b5e6b41345dddffe62b6af1a8e93b5e40d06d3d15be17b0dd0181c767ffeeb791534d463764ef9e066fa6c2ee2ac4b53c86d1da8fce03 -EBUILD twisted-24.10.0.ebuild 4620 BLAKE2B 476c5bea89d11e604a4ae84307f09fbdbda9c8b9425eae2a1479f53cdf1c959d70e99b0492f44b9a7158fd255b8f3c69875a0c3fd092fc61f0c1125b34696316 SHA512 2afe5231eadf16de28d97508c34431ae9ef9c9dfa2c69169ea18c0c0c5d7cf4924ca0feaeefc394f4ada5fa82eb0dcb12254dd9702b887ce7aeea51ff822c71d +EBUILD twisted-24.10.0.ebuild 4619 BLAKE2B d0e05212e9e030c6822042f482508b140d55264b9707676e40740f98a14ad8513d2e7bc46697899b082034cc773bcf1428804e86658d9ddb873d6aad9ce8f1df SHA512 5aad5f15d1d79056c5f9e2362d6c53cf44d7056e1e8ddd5ceab175c77384e4487ea27c7f54faf74c73b74a1668945ba8d41e4c9d1e20063d7118530fff849592 EBUILD twisted-24.11.0.ebuild 4571 BLAKE2B c3509b6045e6afeee08544c51d4a02e73f1228ed9783a5b6ebf7f627a296abc38d7cecf0f880dd7c961b536bcda1cbb01115191dcbd9c4143445eaaf11aff3b6 SHA512 fa71a84b1df31afdb515548f16cc52b6dfd616cc41ccc84c6444c3bbf68439651408d97d7238bdb1f305cdf29a197c32ec93f7341ee8c8ddde15928af3fca944 EBUILD twisted-24.7.0.ebuild 4752 BLAKE2B bdcdcbd9afe7d08f86927de59a28db8146718ab0f7c62a75de2d46f7d0244a3f54dbe31880060c2a73221badfa3864035ddc76e52447cf52b62bb8536adbce4e SHA512 cd5832096b11f002696d43e0bb9429bbaed2db36856056a23239606d47337fc98eca779432ae86708c0cf0dc661f75ee69335761bc0a609b276c4a16fbad86ab MISC metadata.xml 1231 BLAKE2B 60cd09e34c32152e6f08727c1281c65e871a51e64310a62a3104342fcb0e87e96b10cd4c7601668f054f9a2cb01fdf8ebeca3ed86b61ae2496a4d941897aa296 SHA512 800d9cd783d95cecb268362619deb346783149fa9226df714f9ce990da2d45edd3c8e5669e24ad15dfdf986a5816a5361c00f13719bb0dee3e6ae1578a889339 diff --git a/dev-python/twisted/twisted-24.10.0.ebuild b/dev-python/twisted/twisted-24.10.0.ebuild index 8115ec7540e9..81c3baeee2ba 100644 --- a/dev-python/twisted/twisted-24.10.0.ebuild +++ b/dev-python/twisted/twisted-24.10.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 4035a3497b6d..2afe4b523dff 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -5,6 +5,9 @@ DIST uv-0.5.6-crates.tar.xz 46263172 BLAKE2B 73b1d2dc957f89f923dda09a8c038426041 DIST uv-0.5.6.gh.tar.gz 2952255 BLAKE2B b815b60b99f959751f5839365b8b210919247ad99bff93ee4d202bc152bd06b83a62914cfbf341bfddb5b2c87d9e546c5e2a6d1baff1599d0218160ee89de504 SHA512 fc8c7f4f60a3d2ce997341450daf20ad039ef379ac5dd4575f8db0327284bd8278419b66f8f9695f2701a9579ab004b5b60476bd8dc4c27314211f795118bc5a DIST uv-0.5.7-crates.tar.xz 46271856 BLAKE2B 5ffadeaaed6797be56f0bb74a696e1fe4d7df2bd7baf1db51380a1da6db7a462d7189fb16c07732dcf80066715f890dc55cb64ae2bf8b18b5b1a149858a8e84e SHA512 99be269ec5e9557ffcdf01feda9b697f65c43b81421dba395ab3b2203d37393a92bf9bb768608c3d91e350d415682e2828a754be8f7c15031eca5544f5b33a98 DIST uv-0.5.7.gh.tar.gz 2973450 BLAKE2B 7da87d81a53517c075963e5af538ac7f1c5ad8a47931d75c1d6ec8377d533910a2a8953a164f131f269a0d39859fab101f1f9300f22e3af00374d78395bf16b0 SHA512 1bfcfd4406df25b8fd14dba65d7fd16a6b7294e848a9fc5c206f7517cabbf480fac36378d6c03be8b06c978a5118acabf7feed432110a53d305ecc3476b39781 +DIST uv-0.5.8-crates.tar.xz 46445240 BLAKE2B 119e471d7f9a851179e2e5d9cd15cb94476355e27db36b05378036b7f9a3e0021a33a2fd29ed9e5a67cd7d962783b3ea96145ca9092da0a6a114899ff2b712fd SHA512 d517fdc9e48b4cb4acacf1d3c986c7e348ee65c89cb5bdbd9c3947f66d450f7f59b5a4f5f0f45560d5241bc8f7756039014cf350a8aea22be876c197759e5aff +DIST uv-0.5.8.gh.tar.gz 3104599 BLAKE2B 40e80eec119c6403f1f2c9f9a0373eedf6cbd510165c385dd9c9647968183cb129b3849755913dcacbca0f85efea7e6d2f1c367a87e0d60ad3ce329cfb48a236 SHA512 eec291c3b0135a4063b6259033387e543dd2e422d169bd4bccbd86d899a3f05add4f6348249f4c6fc3c026b612bb92e5d9dd941f2f37613453a6730ff8f5844e EBUILD uv-0.5.6.ebuild 4334 BLAKE2B 95eebf5f67b3419d6be2a5e63eb70e5b89f1cb5eec3c590468c61209f580115d4c5b0076acd8cf607806e0a0cfaf947e80573938e3dfae3bede94f7a0efd7d55 SHA512 7abe1a42c4e8a1e59b3f9f804da7893991a259edfa2465bd3485cf206a9e4e152190d9c553619ac5e32bd5b243acb72fdb6b43a47b74e00ebe8852e1155c551a EBUILD uv-0.5.7.ebuild 4334 BLAKE2B 95eebf5f67b3419d6be2a5e63eb70e5b89f1cb5eec3c590468c61209f580115d4c5b0076acd8cf607806e0a0cfaf947e80573938e3dfae3bede94f7a0efd7d55 SHA512 7abe1a42c4e8a1e59b3f9f804da7893991a259edfa2465bd3485cf206a9e4e152190d9c553619ac5e32bd5b243acb72fdb6b43a47b74e00ebe8852e1155c551a +EBUILD uv-0.5.8.ebuild 4334 BLAKE2B 95eebf5f67b3419d6be2a5e63eb70e5b89f1cb5eec3c590468c61209f580115d4c5b0076acd8cf607806e0a0cfaf947e80573938e3dfae3bede94f7a0efd7d55 SHA512 7abe1a42c4e8a1e59b3f9f804da7893991a259edfa2465bd3485cf206a9e4e152190d9c553619ac5e32bd5b243acb72fdb6b43a47b74e00ebe8852e1155c551a MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.5.8.ebuild b/dev-python/uv/uv-0.5.8.ebuild new file mode 100644 index 000000000000..c67a480aec6d --- /dev/null +++ b/dev-python/uv/uv-0.5.8.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;57832d0588fbb7aab824813481104761dc1c7740;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;57832d0588fbb7aab824813481104761dc1c7740;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.80.1" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} |