diff options
Diffstat (limited to 'dev-python')
52 files changed, 1093 insertions, 672 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 455c09c895de..176b131f3484 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 06eab2b87b33..025cd163787e 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.36.21.gh.tar.gz 901823 BLAKE2B 9659b8f05c90deeeeedc19f8c1bbd777415b DIST boto3-1.36.22.gh.tar.gz 902280 BLAKE2B 14633c089bad39b5b487ebdb8cc9cce9424980100d5b0617f7481f2b1cf6c3777758085960f170d7c558442d69b76dbb92b64ea5fcdc9fb8e62a405faf8f0b7c SHA512 e326011c093128abde17dd68f7fdaa455dcb366d20e6fc470347787c1eaf0f7110be39546201dee81d8fe734e7d836855a4ab5350c4fa7f6361147571444f062 DIST boto3-1.36.23.gh.tar.gz 902549 BLAKE2B 24ef6eac4b278375fb27a2abab475a30cdc43bb37d01c68978f49c42bcc144c736d1507433bbe100b793b704a3c02c360bbd28a38dd6d3df531ef00d9075f2bc SHA512 c65a5bab6c902da7907e2144f597c159d456af8e967675684612b6baf525ef500f4077bbe9e851907bd9fbd05f905953eff9bc0800b6609b66af6db8b1b8f781 DIST boto3-1.36.24.gh.tar.gz 903428 BLAKE2B 037317bca3080d66690923bd844c11e69737bff3a5cfe5466a40af9d2461f3740cf633a810319b43477c81e1f3c3ae3125ec1ea481ad790184855d837e0266ad SHA512 8251f1db021a699e44e3c8102399d8454a7c198d0cfa9f99e34e4696b172fc986cd116305252a25ac5046b00e76af261aeac3db8036c468e27d22e8be49d0324 +DIST boto3-1.36.25.gh.tar.gz 903826 BLAKE2B b3df14f7334cd943c98e365bbbba8a1407d8d72f016329406e2179cf920d7a69848a40a45eb98e5055dbdaf1ffb468c6967d11af63108e582ea37b9412c0c6d5 SHA512 8d0aa5dc8a981957b373902da60ccae5e7b87107a435ee4cec335323efaf725713fa75cf800ff73dad63065e8615be6c4a840e5a16d1619610ae2688b59d229f EBUILD boto3-1.36.11.ebuild 1205 BLAKE2B ba88d00e8ea05d27260511e6110158d1f305ce8bde0aaf3385814b38f6b977bd8fae2b092659d5765d6c3bcf80cd75fe5f2bea95374a3105c23cdfbf04bd8ec8 SHA512 6cf3155f855f19611a770cf2db452b139af4869a39f2e07d1040a9c45a3cfd13341f3a7eadb2e13da7c38d29492d68307a9e88b62c22704ef15a5c082da651fd EBUILD boto3-1.36.16.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.21.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.22.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.23.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.24.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 +EBUILD boto3-1.36.25.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.36.25.ebuild b/dev-python/boto3/boto3-1.36.25.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.25.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.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 86231cc5a282..c4a819e23147 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5 DIST botocore-1.36.22.gh.tar.gz 14276406 BLAKE2B 62385ded7bd21fd4d4d29446ddbb4eb977303a0aa07da1002d4c5a502929e325aac0b2a6ab0f45750ba47aaeb11c14eac7a816631968cad96aee15bb8ce2bb61 SHA512 a08dcbdcefe144f1f22dc58f906ca3600ceba13af697a7b3c1eab69ecf4da9b1b2b6458f70b144680026f0e7f1e0ffbd05f586acba97066ad82b2a735b4ac7a3 DIST botocore-1.36.23.gh.tar.gz 14276380 BLAKE2B dd3c8fc76e1b94c462c528965c53b6709c58ea20eee636794a88a78176f601150073de58eed668fc8a55a516fed7d903f1d629ca9266ecc50d76ca6c36543f2f SHA512 f4c56dfa09eafe2882b4d8d7356cc191e5268cd8661aeb57029f49cf046ad8a40375b7cf98f3390a7ba0ef1aca270444b5343d9320622a115bd6fc076d46f380 DIST botocore-1.36.24.gh.tar.gz 14280552 BLAKE2B 33e689485e3f8812856dc51087f92e270a51ef199399c9ea3fde8a10203c5b3952f9f6f63c354c46b7ba3dbe98d9e2abd879ab1194dd046eeec3fc18ab0e3fc7 SHA512 fe713d5a9cbb95c52984672d0ddf26915e7c08642aa5c8eb7ba745d540fb29bfff53e212596313b922716db129090802f0ab14a22529e0bdb4239ed6996ac5c7 +DIST botocore-1.36.25.gh.tar.gz 14280069 BLAKE2B 963dba9d04195fa5a7ad22b1ea6cda0b6bb062a684f5955520867be756b4ae5bc2d58e5c68f48d7702ddaa8389344783e1448374f442b4df995be64a5fe75c91 SHA512 e4a7339b7aed42beae687d780b8fac6bfe17615cf1c635ebd9575d8e1969ef2757eebeb666c71f89729067bb95a9d10bba22cb3d87e07dcf3abf71918f1294f1 EBUILD botocore-1.36.11.ebuild 1484 BLAKE2B e69b432b70d99a29bce6a148a732df49694427d669ea669c64482ec58959f640650b02635f34a613c6a87fed9e4c199cc971b4c811e1ced6db9db1c3e4fc384b SHA512 81c31e65ddea2c9d721e540e6b63c0d76bd7f3f847d06d2cb021bc02449373268cfe08b262db804d1cf65f77bd5bef6fb25cf4a070ee106cd7a231531d6d1130 EBUILD botocore-1.36.16.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.21.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.22.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.23.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.24.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae +EBUILD botocore-1.36.25.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.36.25.ebuild b/dev-python/botocore/botocore-1.36.25.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.25.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_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/cachetools/Manifest b/dev-python/cachetools/Manifest index 8b2b7944bb91..d4267c8a5145 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1,3 +1,5 @@ DIST cachetools-5.5.1.tar.gz 28044 BLAKE2B a670460a89af39f636b7dd9b0e963edff930440c9104474c169504a7cb22de1757b7739e9e8d349a96657d3531c56694cfb91d8c8b33880aef17485a8098c37e SHA512 2709dfb1e937c7b1a232466856817ae74623940219e00ec6ddf2450c70f5fc0597faa0b1f0e10387b3668e939d6e3afa3b983879b51111904ff06f4fb9a693fc +DIST cachetools-5.5.2.tar.gz 28380 BLAKE2B ff0f838bdcf3ff29a466829a34e80c83a0d15763039bc9d81e254daf150bbd39a42a04b4541be06d7beaa938561a1d35646a83eb22474baccd33479d5a56b53e SHA512 9969eb5ca092174975a79e664594842b4ae4f671bc17ae3e3d2d286b164eb408af254d6b40358dcbe5e4341fc6a0ef928e192eb1432696ed7654729062555a29 EBUILD cachetools-5.5.1.ebuild 504 BLAKE2B a33f592641ba191d45ba2596de811331225137e1fa907d0a9cbf0f918164a717f33fbd60f2a0253264c2ca084f6e8c63b08fe45db22127c071159abed82225e1 SHA512 158017ebf0345c901d88e8ad02e65704f12f57bc21c6e49a68bb19118c2096e1552e80987488b0f3dd61d29efea43ab29b4e76d92e1938692fea46a057c6c118 +EBUILD cachetools-5.5.2.ebuild 512 BLAKE2B 3d8670ac7fc38fad5253ad57a9f321f96da7c6b68d1a11731f9d877bfb2620609d1750ad5c32bbf7a7fce203daeee562ce64a7cda912486e4c9a9f352bfdb224 SHA512 d3ad71c96c12882b8308d0304d59ce124a2401fc262fd0a8026cc0d0f8078d0500b4b38093ca85fc511d817823459e741781ed2fe0ead0c638c55685b498d83b MISC metadata.xml 508 BLAKE2B 46dd3d86627746b2b26d9980c2773a25cde3fe6d8ef25bffd88edf1cd2f66a9457f09eea791efc1dab3d354f405bf755992e4a44acd721e4e72f085eabf9b61e SHA512 63d48b1e710965f09538e71b982df8e2fdf5693c6043d5498e4536f76e139584f8783479c1742f91fbe45b4e7bf9eec8d8a54d698734c196bbd8d5a14712b59b diff --git a/dev-python/cachetools/cachetools-5.5.2.ebuild b/dev-python/cachetools/cachetools-5.5.2.ebuild new file mode 100644 index 000000000000..42c2b7871ee1 --- /dev/null +++ b/dev-python/cachetools/cachetools-5.5.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensible memoizing collections and decorators" +HOMEPAGE=" + https://github.com/tkem/cachetools/ + https://pypi.org/project/cachetools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index a4aa02be6aac..f91292c39670 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1,4 +1,6 @@ AUX cheetah3-3.3.3-py313.patch 1956 BLAKE2B 3fa17870675a43ddfdf7c0d6cb80d559675b1213151e1147d37becea9013375d12192a6f16fdac66e45cf63b69c2e4a44233cd6f0930795b06c2353bbb30fe92 SHA512 767983f2f0c332681ed9cbd524988c23169c3a3be48231b1d1a41ca70734be829003909bc8f56f3edc16b25957fff89574268d355447de635c835bf6c49c5bcc DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001 +DIST cheetah3-3.4.0.gh.tar.gz 318357 BLAKE2B 5bb67484c4907f0a831eaa79d755ba252abc3ed70a14a7f87620cc8748f7226cc112b66cc1ce19759d5aa6653e8ce2ad0acd4604a0ca2a92c249e095ae6522ba SHA512 1984165dc001c5982f39bdee9ef1364ebb794a028bfebcbead6af9834abe6506f253b0bc18919c9b95b55130dd71232fac3830aed8c19219852a56f007ad45e7 EBUILD cheetah3-3.3.3.ebuild 1112 BLAKE2B 93a3dc928c85f0de7d485c99df07a4528c264e1fe1a95e76cedbf84d465077768ab6bce09f578dc96d33081233861a2d4e8f02c478e474f384a9d53998765608 SHA512 8e59ab26271273bb6280eda4724fc90816b5c9f679a6467a3ad6034643253193416068403a9dfb5eec09c7a6f6fc569c9862ecdef5a9b5f93be8e8e5926b122c +EBUILD cheetah3-3.4.0.ebuild 970 BLAKE2B 1a4ab028e225abd4d1e812fd85b01abb7a73ef25a7e5b15143c30c2c95a5c7baefe771d3a09f6adb9700c243397e31b24c70d600b057b7094bc765be1a051dbd SHA512 76c4bc6908fd7c8b38a75acb4934fb75bdb7f9240792eb38bdbb49e0e76b089c6ef92a7c0a61f7dd82abf9c7bd34851d233352df0423d4069fb56d9e9b013cd5 MISC metadata.xml 728 BLAKE2B eed475bf99f19abf5f934cc9e9f0ed10c3a29536767133a628dc3f23e95a37a0feaa82e4f080ac8f6d541cc6d802a084d670e64049149937b061e5f20bac317b SHA512 52b5eb46efb8d6e750823775ef459eec200e617e9232867cdfa229e2d7b6a41feee15441ac1a7c1ad2871f0fd19fb91fd6c36719eee2592c41e27ad8ec5fd162 diff --git a/dev-python/cheetah3/cheetah3-3.4.0.ebuild b/dev-python/cheetah3/cheetah3-3.4.0.ebuild new file mode 100644 index 000000000000..baadcdd861f7 --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE=" + https://cheetahtemplate.org/ + https://github.com/CheetahTemplate3/Cheetah3/ + https://pypi.org/project/Cheetah3/ +" +SRC_URI=" + https://github.com/CheetahTemplate3/Cheetah3/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( ANNOUNCE.rst README.rst ) + +python_test() { + # the package can't handle TMPDIR with hyphens + # https://github.com/CheetahTemplate3/cheetah3/issues/53 + local -x TMPDIR=/tmp + + "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 8c1a4820be00..79932361cab0 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1,5 +1,7 @@ DIST googleapis_common_protos-1.66.0.tar.gz 114376 BLAKE2B b25f0d4204a1ba04d8a0ea0315b67d0a0fec0b7c46c1fb7e7deef2ad5ffc31e217f0303ff146a1b490163e76445d212a219f190eddf1c82e207e8bb980e85917 SHA512 c6a0c371bf7bedbb862696562e35567ec1eee3560e5c1fcd61ef20a5bceb99b53cc9f609eb405c724abbf2361e8c58cf8c44ccb8aba3161e892938d8bef60e02 DIST googleapis_common_protos-1.67.0.tar.gz 57344 BLAKE2B eb3d4f373321e3ff09e0220ba0619e3d8fc2bfe0d3da65fe1b575ad8e2fd69b4c781da2f336a7a9060e64eb55405af16f982dad0661cbb12d53a4e4996e69c02 SHA512 268b73eab64214c1293acd7ff5980bd88c1871b3ed2b45ac418f84ef7ad933030c6387ad0b72b9aef4ba17827f5c787dfdbb22eb65ead5ef4fecfaa86e78b377 +DIST googleapis_common_protos-1.68.0.tar.gz 57367 BLAKE2B 65888384edbe6b246fe8c6e17f13e3cbd8079f042914ead9c5315ab80889d72ce619e42089c5aa2aed528a38f99953d73be0ec5daf04aea5f2221d2bf09a2e1b SHA512 a602ca0d2daef9c265eb4654adeb698ce66fa26db707650d09c7da3474e263b995431a89d0908c70a9d356f0bdcccd1d6b7b5f51f05ae2c98f58b8a41f782d35 EBUILD googleapis-common-protos-1.66.0.ebuild 719 BLAKE2B 5332d3283d18fc3d1a34e1df0b320813d124296fc6130a7f1be8556abd1b72c6c723ac12f17bf48825b7779129281fff6d2378b6ea1ef87946ff4a0ed134ea87 SHA512 f77d7d7934c84016c5a57576458b606d0e244f9f2b235384c38a53ab711b2ecc238af6db985ddd916d79a786f61e10d9169d51608f3d8d881bfb59b06107a9e7 EBUILD googleapis-common-protos-1.67.0.ebuild 722 BLAKE2B ed6911137e215229ffd817d451014dc21c67ba132c234d7dbb38833fe7ae06e3aff275d206809973ce3a7427ec10395b745b48a31ab974e0d75603c41ee805cd SHA512 d06ed9390bb17071908e63fc8f5a97856b0f0ddceaf74446004ccb8598f4c2834b44853b0b36e55be14a375f399a81f1f49d59840b6710ec2b0e7a3013e7f7c6 +EBUILD googleapis-common-protos-1.68.0.ebuild 722 BLAKE2B ed6911137e215229ffd817d451014dc21c67ba132c234d7dbb38833fe7ae06e3aff275d206809973ce3a7427ec10395b745b48a31ab974e0d75603c41ee805cd SHA512 d06ed9390bb17071908e63fc8f5a97856b0f0ddceaf74446004ccb8598f4c2834b44853b0b36e55be14a375f399a81f1f49d59840b6710ec2b0e7a3013e7f7c6 MISC metadata.xml 537 BLAKE2B 7b81f41f34a3c0fa53340ad298440f67727eb1830009899ffa10835485f66e727844735a88bed94b8a0bba14fa01a78d8a04f5ca3edf48a72781c7e1a797459e SHA512 6013da3540915e13a0cc60336bbefada12fbf71c04d4f40634f24015ada732d0d8b86600401bdadb2c7df2ea84f7097669f4efe6cf176ccca5efe46e9a3869d9 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.68.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.68.0.ebuild new file mode 100644 index 000000000000..75a10e75be4d --- /dev/null +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.68.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python classes generated from the common protos in the googleapis repository" +HOMEPAGE=" + https://github.com/googleapis/python-api-common-protos/ + https://pypi.org/project/googleapis-common-protos/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + <dev-python/protobuf-6[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 1a0e5a0c1241..cbe9b5eeedc5 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,5 +1,6 @@ AUX pillow-10.2.0-cross.patch 2390 BLAKE2B d690b3f93d59c32d0f1b209b51ea4787230892488059ec206f548276a1f697394ca539fcd9f92fa7c547b37dd6b4fc738400a3034f54eec6260f0f98ae372b39 SHA512 4afaec6964298e2f1c21fea77791ce0cdacdbc65bf9798d46e99681c772065c1ad1175f5821162157cacac64f556e320af2ca7dcbd0806c07d04f8116f8f508c DIST pillow-11.1.0.gh.tar.gz 46815201 BLAKE2B 7990683c90359e0a72e17a13e1a29455bc3ace8ce3616d6af59360edfc1ac87541bd1fd6967160bd8d7dd25cfedfc9d2e9b058c3ed433a6208379834f15bc312 SHA512 bb0622fae0b9c3903ddd945dced8e2b94348b2bd06c14bc74da00d8aa3a795aab2daaff39ca6c40b712dcce4f10218cd30739f0eb616c9dfbc16efcf80886f1e +DIST pillow-test-images-716bdc4adaf97601e5b9a31c9be25f8975381ee1.gh.tar.gz 57416881 BLAKE2B 8ea5fff2231567f957fc911120c1b50610722477da99559639317e4513e4bc4e73b8b49368a6d95c6938333f0c48db7672c3713eaef70494f7896dadd07cc42d SHA512 b00009be0f5ca85ec0c761fa780f0e650c1877b456b9a9426a4d2300a0c5654358495299e129ded411fccb641e4add7e460bcb3ca7be055f3b207407ccefb33c DIST pythoncapi_compat.h 61109 BLAKE2B 9b8d9f774a6803dee73aedc5465519f2956c284bf70314f5e046d0d5522a10891bf55358a85fea5a156d4063736424c0f019bc71dd18592bbf56c364db7b6bce SHA512 d0ca43186fdc3cd8d0e993135b50fc86eeea05e8b84cba529d89f60ce28bc9502f8d3825eb508be5d68d1fbfc53423a69756c0e79fe0fe7adf94c602b1cf79ff -EBUILD pillow-11.1.0.ebuild 4055 BLAKE2B 4b3f021c6621551bfe7fa35755fb8824f2a7761aa27601d7e1fa32e9c0bc793ddf9ddbbde2aeb22011609c7fc731096799cfc2b628e7982ba6f43676f3ddadf2 SHA512 7bcb2fef13fc24187f439995d5eb3ee6f1de8beb38c5c167f21affcf11fdffcda985a274a953bbfa0f7ab2f106fbe7c73ee2419898c3eb00822b8837502577ec +EBUILD pillow-11.1.0.ebuild 4404 BLAKE2B ff6ba8a00522f8f2b83fb6768e1dbfa93a0db62f9fb22acabb55cb2a52cd4b98606f754d22c1d33b845aa464d3f0c57c8af57d4c88423850ce4786976b40f126 SHA512 2405c3e80ea80eee6728304fd64f542c14b0d342e325877eef006bc1a84f779d2a1e7a0d073afdfcfc6da68512702a75de85b6e6e62a58f6368f37d6901e8396 MISC metadata.xml 480 BLAKE2B 9fe5188b0a5eb4f19b53f34efad5c7da2ba086dd5eb9ed2e4fce8b6a6fac14d9a848392980cd1d2eaff5b334d7c5e39f58d60b763f44879d852dfb0b4f5e3efc SHA512 2b15d9e07b13a6028e87a3d5f0e72b2d252cfb2fa843783acfd2a9dd38bb6f0641f94d067f3a900fede445c606da361d509de2d4541513126b57c6782f69a5bb diff --git a/dev-python/pillow/pillow-11.1.0.ebuild b/dev-python/pillow/pillow-11.1.0.ebuild index 3080e16268e8..74b4d57ba8d7 100644 --- a/dev-python/pillow/pillow-11.1.0.ebuild +++ b/dev-python/pillow/pillow-11.1.0.ebuild @@ -14,6 +14,9 @@ inherit distutils-r1 toolchain-funcs virtualx MY_PN=Pillow MY_P=${MY_PN}-${PV} +# upstream always fetches from main +TEST_IMAGE_COMMIT="716bdc4adaf97601e5b9a31c9be25f8975381ee1" + DESCRIPTION="Python Imaging Library (fork)" HOMEPAGE=" https://python-pillow.org/ @@ -24,8 +27,12 @@ SRC_URI=" https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.gh.tar.gz https://github.com/python/pythoncapi-compat/raw/c84545f0e1e21757d4901f75c47333d25a3fcff0/pythoncapi_compat.h + test? ( + https://github.com/python-pillow/test-images/archive/${TEST_IMAGE_COMMIT}.tar.gz + -> pillow-test-images-${TEST_IMAGE_COMMIT}.gh.tar.gz + ) " -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} LICENSE="HPND" SLOT="0" @@ -75,6 +82,11 @@ src_prepare() { distutils-r1_src_prepare + if use test; then + mv "${WORKDIR}/test-images-${TEST_IMAGE_COMMIT}"/* \ + Tests/images || die + fi + # https://github.com/python-pillow/Pillow/pull/8757 if ! grep -q 0041177c4f348c8952b4c8980b2c90856e61c7c7 \ src/thirdparty/pythoncapi_compat.h diff --git a/dev-python/propcache/Manifest b/dev-python/propcache/Manifest index b377967b2bb2..2de8069e0530 100644 --- a/dev-python/propcache/Manifest +++ b/dev-python/propcache/Manifest @@ -1,5 +1,7 @@ DIST propcache-0.2.0.tar.gz 40951 BLAKE2B f3e6aed19e6dfd21c02e769a3fa3c5bb0042f0b46d3dbe71ac06d52a49cfc86c62770ed8589fed58872016b5f50905610de50e707051871b9c30930e262d9d0c SHA512 f99838627652ab13919d7f516530a91565a737fc411d728cad1492ce0ed44f25b0cefbdb6fa49b2ef516e7fee120e7c49686b6853691c5cd02f5f7db9a15d998 DIST propcache-0.2.1.tar.gz 41735 BLAKE2B 9353846b481449f732751ce1bf419bf1d171b3e8fa5b4755637bab063677bfe8845da48c2cfc979936cd1af2ef559b6eb82368f9b9616b3b90a955f0b5bbeed7 SHA512 ce54baa27a9f4cec14d6db139721cb1af920e585153f541b6a192a22d805766b7a0248514fed9889d7073a611d05896fee6da1df526f2314206eca48942b860d +DIST propcache-0.3.0.tar.gz 42722 BLAKE2B 2687c2f03464b0e81c1d3e93a0b8a11364e4b03f5614de44ea89ca401867531079c1456cc97831f9c8e885dbacca8c9dbeb30e0a31b121a2aaa3666b0397ddf0 SHA512 258e2e9e6fff5c3af62d21d0afc43026e87b8c94009db9534f8beff6d81873ab05ea626c36e43ab1ee16dea1b18dde2ec732b78b93cac82cb9c1d0438e544b42 EBUILD propcache-0.2.0.ebuild 1109 BLAKE2B 81a7b53537be9f49f69d39a698bbb0fc45819f4887acca4e695374ffd733dd3bd957f3ca5df03850013da65529d8fb22d50d1162ef9705d08c879ac71b891c95 SHA512 bde0328711f52513bf0183ec3fd0d6c5e3fbc0d0d11e33b7406bf4a0cd5f25cb9595c118e16f25bfa3c22608e3698f6e057d323999bc3bc885d5bc1f08ba883c EBUILD propcache-0.2.1.ebuild 1174 BLAKE2B bea09182e77e1d0b061a1f86d970c1f242dbb13bd8d65617b6aabf56ac42afa18d9c3f3f996fb79a1a1c8bce450b4c7ddd07254ab55430bacad9c3f89cfdf214 SHA512 25e65be8bfce7a21fd0c207e858cb915d668f7d5ea879a926c08edc3a5e5b387a8cb096f26820bb2f8e8f6277a91696ee819f449af6ae5b8f6ff8d23694ce4f4 +EBUILD propcache-0.3.0.ebuild 1181 BLAKE2B 78c8fcc9651b467a1970c93effe531a72997333c1f6d6fe049c87392baf8bbad4b236377191ce98953896048a1f3aa950747196663cd68339031098d3d4b72a3 SHA512 e5163aa7e2f37cd50fe9382b54d3d05efe058e3e2742893b3c7ca8498a7293340a3d7dcad01a794c2c8013aa6e891d4347819e1ad9721d83427c9a78a9359c35 MISC metadata.xml 371 BLAKE2B 2aae9561b0b663dbdf1935d4417af8fdba00636b23ec09037bd14d0ab3bdbf6ff4b093a5ca901b50046134b6b4f25d72a09b544ca949663688d9e1c64ae49a4e SHA512 b4e36caa49357be56c1d07d75c29a30dd18c0cdf1e7e6edfd347748a3edc084743b2163f60e94b837477ffc6320e6140a721769a42d224d3963cc91a18d492bf diff --git a/dev-python/propcache/propcache-0.3.0.ebuild b/dev-python/propcache/propcache-0.3.0.ebuild new file mode 100644 index 000000000000..f9aebdde55ee --- /dev/null +++ b/dev-python/propcache/propcache-0.3.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/propcache/ + https://pypi.org/project/propcache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + local -x PROPCACHE_NO_EXTENSIONS=0 + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + PROPCACHE_NO_EXTENSIONS=1 + fi + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + tests/test_benchmarks.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local opts=() + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + opts+=( --no-c-extensions ) + fi + + rm -rf propcache || die + epytest -o addopts= "${opts[@]}" +} diff --git a/dev-python/pyqt-builder/Manifest b/dev-python/pyqt-builder/Manifest index adf1685ad432..1cc455445aa2 100644 --- a/dev-python/pyqt-builder/Manifest +++ b/dev-python/pyqt-builder/Manifest @@ -1,5 +1,5 @@ DIST pyqt_builder-1.17.2.tar.gz 3671828 BLAKE2B f8f822275f90929542e2800ff6802658b5a27402eda76de96d0546a8abee65ce803ce48eb93d001d6298f95c10393e066673057746e97de7244b4c6d17678f10 SHA512 54f99a50ba8534c84df563c80375165baaeb2dc1255297298a5a5360176d267d858b105b7fb06a8b029f1697919c3dad977aa1916c9ab41b9ace272db5db5295 DIST pyqt_builder-1.18.0.tar.gz 3671854 BLAKE2B 37d7ab667368ce962c1ec3fa34c1e25838abdb5a50bd574d0a96cb8c94a272f3d78e4dbaf5113205451f0c9ba746080fca7debfb55ee6bed756b6d3cb8338dbf SHA512 a7b0717b0ff2b8f8cebec1ec6e4c63597153d7fdfd2e3cb2036c07e17b5eca28657010babd3d331874f9f5c1d130a0d75ff6a1255465bb381bc4d007a0316ef8 EBUILD pyqt-builder-1.17.2.ebuild 676 BLAKE2B ac173f7988dc8b2192b054d345a8f896134e4882b468addefd4b395a2f0deea9830ef99b1a2ae5fe23fa759a23228778f568bfb25358b7966e42e42b9cfda03f SHA512 a4aa758bd8ea66883050d1ff2d5d614a85324ab04edb8163afee4f2edbf0159606d2641c02ada245d4fc69db6b3878716d3ccee80afee3cd919b1470dc2897a0 -EBUILD pyqt-builder-1.18.0.ebuild 681 BLAKE2B fa2f583d7795713a3b1b8a3181e38a7c31f4b2e569ff05ed02a8a6ff524608e2ba3d31a0f31826ba0927d88525a9c409c82723a51254ef505218c6f86a00c433 SHA512 12e40f85b2110f56302c83dd53d425e0cbffe36582ffd4decb2f3963804b7ca3dafe967076b2703920acd4adee9e8fba05a1a511a871b2d08f1e4579181b93a1 +EBUILD pyqt-builder-1.18.0.ebuild 677 BLAKE2B a48f4f6027aa81b1012871f945e6d858c8f6f42eaee30a042247e57db495b0e7a9b610586bdfb0d06d7f25958e4543fc76362f8abca4e43d73ba101250bb4da3 SHA512 f6ef27e1d9ace1ff2fe400001786ca9d6507bc9221d7b0ec163ebb81f13705b96b6ffa15968be446d3f88e1b132f204da7ca2d869c8f5a818d2d28f1c49fffc9 MISC metadata.xml 581 BLAKE2B 52b5d19b8febf7a2c0c0fb4d72e66b537f5824c1fc1a9d065b79ebe9e3c7fe5188fa0acd13bb446a9ad9f8c4481222027885a2ff6217cdf2c8caddf9c5d60b1f SHA512 b58cebc65e92de2af613423c8767dc75063e0c4dd2f1c3b308eb5b371ca499e43024e502839ffdf32b034a59294c24bca6a4703822e8365ad9c339747c17c238 diff --git a/dev-python/pyqt-builder/pyqt-builder-1.18.0.ebuild b/dev-python/pyqt-builder/pyqt-builder-1.18.0.ebuild index 9978b298678f..ed6659b2bd3b 100644 --- a/dev-python/pyqt-builder/pyqt-builder-1.18.0.ebuild +++ b/dev-python/pyqt-builder/pyqt-builder-1.18.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pyqt5-sip/Manifest b/dev-python/pyqt5-sip/Manifest index b7d1d0aa1043..fa8f7f450771 100644 --- a/dev-python/pyqt5-sip/Manifest +++ b/dev-python/pyqt5-sip/Manifest @@ -1,5 +1,5 @@ DIST pyqt5_sip-12.16.1.tar.gz 103975 BLAKE2B 43a71f75809c64ce104044c8aa9610ba03de5a87bb69a3cf173153a7ae10ddef623113e54922fcb215920c2635bcd7294e761ea5043d735f700cde431d0f7a16 SHA512 c85305503927dee0886f88d54aa74c4a0123159d1f534b1ec6d5ea5dff149954b2f11cf14c4a14d97cb04b0ce40fc75fd28b0109b5a2232e89cb057b3caa57bc DIST pyqt5_sip-12.17.0.tar.gz 104042 BLAKE2B 6fb4d0c4913dcf739fcef23e1e8d2bd43d86321ad5cc97a2ba456750c4ccb76b6f806618ad14b62c39766956d8e039a912ff1e0027c725a4d2f9bad5fb5da124 SHA512 b7816215368a71c0ce0b1368cce9208c6e11c752a48aaa5d296308c82d46fa65adbba1b79ee49f80934f5069cd54243d5d0a34698a7a6de464e4e0175e622353 EBUILD pyqt5-sip-12.16.1.ebuild 476 BLAKE2B 3062230167d059ad3b4426a127e966c3d2cb68fc8c849a59a6c42efafbfbd9d0eb48583e15f51b0ab856d4c8563ac153304c112a90030b0f78ccc04bcf7d9759 SHA512 60b6bb2486ed1a80078cb4bc19af6c2dc5a10eb86840b0a35d5c9717a8a0992741ac1d8519bdac3f5158bbda4241ce2df9a076232ce2e78d45e1f405699e0d83 -EBUILD pyqt5-sip-12.17.0.ebuild 481 BLAKE2B ed77eb58405a959ecf4b9459ffb1db512a9ed88946242bcb77fc6502f914452bdfc5ded8763de5ef1bcc2c293cdecd2b8ce1951e9d45a52c6661ba3090fe2955 SHA512 756b3530cce7fe984397b7753aee418305843c046204f20994d08e751aff33d1d055471ed696caab7d7c39ff58d8dfc8e35b62a1e9ba942839da86941518013f +EBUILD pyqt5-sip-12.17.0.ebuild 477 BLAKE2B 9a42871a9dafb61b07201721cdfc465bea2e9acd54a0c0eb030a50ddbcdfde5f06794461ea39e4fc8ab233aaf4c44649a3d1aa281b9c5836f5dd42bb31ab7784 SHA512 a87d5afd780290db7a17e289237f82620d51bc36996f83818d7dba675ba6ff6c552197da5e7e866f1e33f176ddbc23c4bd689e3325e8f4b18b5213291c52587b MISC metadata.xml 382 BLAKE2B 1924bdd8d05a7a04546d994004f1902edf06ca681fc557a47841e41e529cad483f2d6729b1be2b48d906dc94162eeed19f7749a4e431a3d95050d5ac08246fe7 SHA512 2296c770ba9ba38cebbd37474a6ed8bbd6221c6848555242529ee5cee1b3fff928bf9a6fc8e5ed4859af72f030588f1ef493a0edb54955968ac3f514b3cd9ec5 diff --git a/dev-python/pyqt5-sip/pyqt5-sip-12.17.0.ebuild b/dev-python/pyqt5-sip/pyqt5-sip-12.17.0.ebuild index bfddee336a7c..b05f83fee92f 100644 --- a/dev-python/pyqt5-sip/pyqt5-sip-12.17.0.ebuild +++ b/dev-python/pyqt5-sip/pyqt5-sip-12.17.0.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/PyQt5-sip/" LICENSE="BSD-2" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" diff --git a/dev-python/pyqt6-sip/Manifest b/dev-python/pyqt6-sip/Manifest index 8d128ba0a5e2..52f640971c41 100644 --- a/dev-python/pyqt6-sip/Manifest +++ b/dev-python/pyqt6-sip/Manifest @@ -1,5 +1,5 @@ DIST pyqt6_sip-13.10.0.tar.gz 92464 BLAKE2B 2604e6b197dbb6438fa49ad7bfd8c0776d436a34fe90752be1229fd1a15e8a125b46f5cacf60fa653267c724d9d4ec7e5e8ba8b07407c14bc9125a72e21a284f SHA512 479142738d27d9ac0c83f212854f75ee75310e24a73de6a41d7ef6113fa14d82d532907b16e8df15b828c1983d652c88283281c28d638626453a5e0b163d8074 DIST pyqt6_sip-13.9.1.tar.gz 92358 BLAKE2B 0a92decce0b27acbc24cf903ea1ca6efa15315920bb4dd92af960c0e58bbc861b74daa950c983c56f5cc458204ebb86912c07af10b9f942ea66a6add8dc1ac7a SHA512 a4d4f3207f6bc86e148934fc84f86bcbe895d1d890b9e642154a1b5881898f1d363662ca51a847aed9bfc9942479b77581771b4f5d8d9c140bc4066d06d584f9 -EBUILD pyqt6-sip-13.10.0.ebuild 466 BLAKE2B 040dc3665cf8113b710dacd6622ea662b5fe3a8394ebdb3010a9333387c9588503e601808439af6f9a805eedcccbf76c1e87e1f41de8842cf2e4cf69fde61345 SHA512 0e390cc80c414ced00112788d29dcf808d70e3c2afb41d29c39ff24572d5c880b2bb20656d6ae2c13cc949849fd99aa03c6cba26c411ac456d344dd17d426a8a +EBUILD pyqt6-sip-13.10.0.ebuild 462 BLAKE2B a47fa93605f75ffd42d5acbfab72127a182dfe1dd8c6b02fdca19a3f4e1a0e294c2e079bd7264d40a1734b76a41568443f89dfc9ea079981203f4c8c6a945012 SHA512 0d8230f3b94a7e359fd7020f622b4e367c4d7ff055d3b571103f7fb4dedfae3a3943b4846b4c46b7a377d356656ec268434985e721bd395fb6db79ba1df06f25 EBUILD pyqt6-sip-13.9.1.ebuild 461 BLAKE2B e683bd6ab06e093dc04a11ef4a2dfc04c38ea6765120d6f306fb1b1c727d41926c467f76c388033badc34bd88b33d44f506c189360b9699c6740f72bf9184130 SHA512 3784a207fb7c8e70ca4040f386b63f35c8296a686e7ba1c59855711bef1971cde296689eb30fbd186ac63c0fc566461d263a820447b75e9dc0b3a4ffc206cc84 MISC metadata.xml 382 BLAKE2B df3e932890695657b0e29bb309514558938bb77489f1f95f275250f9fe960910c7c5e3a827a290e9ff9c557ced98904fb1ff92f580f3a99c6ca6b6b3932814fe SHA512 1cd634b2a0c34682fb6468301a3d7cd28e3988651b62cfa200783e6f75fde29e29ee06c494a8fc272261642e3d7c22d2d3f35c143f5c31f936af74c6aa748554 diff --git a/dev-python/pyqt6-sip/pyqt6-sip-13.10.0.ebuild b/dev-python/pyqt6-sip/pyqt6-sip-13.10.0.ebuild index 50a5d1ca9322..ac34ce493055 100644 --- a/dev-python/pyqt6-sip/pyqt6-sip-13.10.0.ebuild +++ b/dev-python/pyqt6-sip/pyqt6-sip-13.10.0.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/PyQt6-sip/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" diff --git a/dev-python/pyqt6/Manifest b/dev-python/pyqt6/Manifest index 59477f9cfdde..c874174e61a6 100644 --- a/dev-python/pyqt6/Manifest +++ b/dev-python/pyqt6/Manifest @@ -2,5 +2,5 @@ AUX pyqt6-6.8.0-qt682.patch 286 BLAKE2B 382975396a5e1ea4ba6250300f596486378bcae1 DIST PyQt6-6.8.0.tar.gz 1061357 BLAKE2B da944a8ec6c5632cb24d56b5a268521cbf3ae17d307ec5aba292bf5f25e33cb2e92fef28c1bcc506c4e5ea60c9e2f714bfd2a95aefe2cc40726b4ec9fccb36cb SHA512 da57be66ede5fe1355ab1fd95e436c139e0d1dffc75f23f3933c20623d62fc9b9fad573d876e90d066588d2dc2f01e83771a0f05fe3b668fbb69a889ddfbcc15 DIST pyqt6-6.8.1.tar.gz 1064723 BLAKE2B 99ac44fe250b6ff7a1762df5d668b69ad424dc1b563147be7ba94ce7f00729c29ce17be4cd7c39b276549199b66d877dec69e9eeb6b394ed42f944f9155825fa SHA512 87727369168fde6e3edc488f96dd13d537f026e207e4b4ab1c95d09bf85859512a117dfc801249e0891425a6b5579830724e4145f370e2ef9909788f56eb4df6 EBUILD pyqt6-6.8.0.ebuild 5966 BLAKE2B 268bb16327be36ed5f8e9f8f01fdb5071845348ac8960d1410180c8025bd2ef176abf9468afab01563c4257011934605196f45cd92b36b55460339a6de06bb4b SHA512 cd5c43cebde064a78bb3c552a116a99666c85a744141a748af62ae6bc07cfd23091ca2d3b7463e7c5f89a38b79bc106347036a7b72daa098482a5a95c7d1ec69 -EBUILD pyqt6-6.8.1.ebuild 5989 BLAKE2B 19343151c2831dfb64aec1ac3157529168af3db1380cecd0bc98ffd0d10d3b9cd28127c28a21a0df617a0a4d8fe656b79980cd5c9d2431c88dfb94b8bd977d31 SHA512 1d88c57b3a02bb34f0b66118b0c1ff09291964c3a0c6aacede4af745b189a3dfbbc0dda0e6b7da7c6a29ad597bef09e4eecff708cc245a52c7bb24ac4c40ef8a +EBUILD pyqt6-6.8.1.ebuild 5985 BLAKE2B 0ef20937b71bfad10b11069503cfc36232dba743220c2be432b532a44753d5f359643b061c8348f19c20cb58ca412dcc52bdf39ccf2f43c189bcf95a1cbae950 SHA512 13594c40761f5541b009bebffe8bdaffa1fed59f81328b83d969a60ccd773da54c53b0e7300699639a1d6b060c9170a357d6a3667e428c96702f544e391d5fc6 MISC metadata.xml 2539 BLAKE2B 3a9f0274ffd41a0debd982cfe5bf5eb68350521947840c80c1064354cd7d219f30f2b1b56e25855bcc7f415d8d0260c52833f450cc663df6f6226092b7ff456d SHA512 5cb15c64ffbccd347a5ca5211f48587bb491cd51f29cf6bb6173f697b73014e1d0e3975daec488cc82231fe663a262bd8462230d8fbab8a4d330e5829173c360 diff --git a/dev-python/pyqt6/pyqt6-6.8.1.ebuild b/dev-python/pyqt6/pyqt6-6.8.1.ebuild index 524c13d1af94..b13ffe35978c 100644 --- a/dev-python/pyqt6/pyqt6-6.8.1.ebuild +++ b/dev-python/pyqt6/pyqt6-6.8.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong 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=" diff --git a/dev-python/pyside/Manifest b/dev-python/pyside/Manifest index 03bdb70f99ab..c5a54a3dd485 100644 --- a/dev-python/pyside/Manifest +++ b/dev-python/pyside/Manifest @@ -2,8 +2,6 @@ AUX pyside-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236e AUX pyside-6.6.0-no-qtexampleicons.patch 221 BLAKE2B d45b4ebcd780a0151b793b5b21f5d7599ee5c427372ef19f518ac1c94306938178b0bfb603d9755aae9bddc4c31c35bb4648617c793f8e399f0f8dcce0d1f3bb SHA512 1da97be74142402454ef5384c58d2b2a792fea53b4155d7b5ede6d145496b45e4fd56723f8f7716150c2bba448ce816c6740059d7d38ae53d5cdf7c38c4acd7b AUX pyside-6.8.2-no-qtexampleicons.patch 285 BLAKE2B 13d406b6dde61962e3d47c651fc8041784fe2e71de626ab4a2884f045abb65d498ef05837d88e1a593ef4ca05914c4b45fa93605d504eef8f6cea00dfcafa4f6 SHA512 64f6bacb56a6930169ff4c727c5650ca8c515ad91733fcd8e4ddc1ec69c515f273ec619033f97e058d183d4fa1b80bb5464519cc21a12e513eb283a1964cb95c AUX pyside-6.8.2-quick-fix-build-wheel.patch 725 BLAKE2B d86c59ea666e0d21b6d7e43ddf0c9ba0f404c7543a02994239f12f4910a89c1a587b85122631da3bfa0818d3834ad3edac2bb5a54e2faafccadd463a3a534737 SHA512 2cd73337a8d1b9c5e9f774b97c3705265fbb61ef837fab438c8331e753508bffd125fbf2d9e235a496fe905038e5fb7e9247ba732f9af50416a4d6378386945c -DIST pyside-pyside-setup-6.8.1.1.gh.tar.gz 18699613 BLAKE2B 2c16f305a746106edc770c267900b31fe480b167a615adc82496e0604cc618982bb787a0c173b069c258749364d7d2cac900d8d8b82244fc3b916744b7339537 SHA512 bd258be6e4c5f0b6b4bbdf8887e5f8ab16a90117deb00f9c46c4acb7f6bbcc36fb9f6b6e7c201403556e0ee269947a5f5b2611ff1b05e48f231f81b1eeac7bce DIST pyside-pyside-setup-6.8.2.gh.tar.gz 19305680 BLAKE2B d4da8ec63d35714bf4418cdc9ff5921fe554c1635a7c5c467657b64c2140208b4bba57fc9932f0f96426e1d15c124209b0b29eb9340261d34eed194128a03545 SHA512 30691d27afaeaa3117e68b60745918d9697c8d9e4ee8941eaab51995cb5128c56d44964511f2db731f448bf32219160032e4a4cd4773d3fccc4de8c0e509d1c1 -EBUILD pyside-6.8.1.1.ebuild 10314 BLAKE2B 847d6ca8384319d93a13d71160de66c08728bb11ac1284882df009d0a20d5a5cb0333daa0c51c7ed5f67c395a836cfb53c3adb9f4121ba84c17e530234f33578 SHA512 940b7d2c366c24fcde499a8aae4e63840ea83cbacb7943eaf1d8f72e82b00f6c4e9634285fe560c97595483e0fde01bbe91a05ece4455d83c209a690bb936337 -EBUILD pyside-6.8.2-r1.ebuild 16364 BLAKE2B 7717e347296b5c70859cd453ea524df18ec2f8f191ccae7bbade5c9e222b4da60ba9375be34384f78c211c09dff93e4c86d8ec69ce0216eae280d119c75ed4c7 SHA512 acb142d47e70cbae9551ef6c4ed74905a87b369aef234d6737e00243c17f19acf3e6ee5f1ae62f52b72c9bd2bc39c1e80effcf60aa58e0ce2e3b98d3842e1403 +EBUILD pyside-6.8.2-r1.ebuild 16362 BLAKE2B 478b9186992c1b337080ccf62450cba994b4575b62b0b4adfcea29785e691a6754654dfb4e9d065b62dda3f50d66b7189d941749efe8242648833a17db6150a3 SHA512 5f679a3ec60e416915578da2dafb0be2da89978c421b50253cb0ad56594491d7f2ce1ed20d5e4a8717e8f2c2aa03b41abc2fed27a14a96db493a0506632ebcda MISC metadata.xml 2977 BLAKE2B abf5f630457dc13ad1bc9e08ed5fcd3f0beadff9815cf6d7ddb6107410c6584f7acae7d08194c7b621eb4470f844d67e13b97df7620493e27d2df2ec54dbbf77 SHA512 51fd0bdc6059a221fadb7c04b627be5ccd523d28a3234c5f01118d50b6d4b5938fda8390ce5e26e8f1f630b58ef4f5201710804c996607e85d7d69d793a4a09a diff --git a/dev-python/pyside/pyside-6.8.1.1.ebuild b/dev-python/pyside/pyside-6.8.1.1.ebuild deleted file mode 100644 index 37deb4916077..000000000000 --- a/dev-python/pyside/pyside-6.8.1.1.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..13} ) - -LLVM_COMPAT=( {16..18} ) - -inherit cmake llvm-r1 python-r1 virtualx - -# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. -# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once -# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. -# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note -# that the "PySide6/QtGui/CMakeLists.txt" and -# "PySide6/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by -# testing whether the "Qt5::Gui" list property defined by -# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation -# time contains the substring "opengles2". Since cmake does not permit -# properties to be overridden from the command line, these files must instead -# be conditionally patched to avoid these tests. An issue should be filed with -# upstream requesting a CLI-settable variable to control this. - -MY_PN=pyside-pyside-setup -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://github.com/qtproject/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}/sources/pyside6" - -# See "sources/pyside6/PySide6/licensecomment.txt" for licensing details. -# Shall we allow essential modules to be disabled? They are: -# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, -# x11extras (for X) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" -SLOT="6/${PV}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE=" - 3d bluetooth charts +concurrent +dbus designer gles2-only +gui help - httpserver location multimedia +network network-auth nfc positioning +opengl - pdfium positioning +printsupport qml quick quick3d remoteobjects serialport - scxml sensors spatialaudio speech +sql svg test +testlib uitools webchannel - webengine websockets +widgets +xml -" - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -REQUIRED_USE="${PYTHON_REQUIRED_USE} - 3d? ( gui network ) - charts? ( gui widgets ) - designer? ( widgets ) - gles2-only? ( gui ) - gui? ( dbus opengl ) - help? ( network sql widgets ) - httpserver? ( concurrent network websockets ) - location? ( gui network positioning quick ) - multimedia? ( gui network ) - network-auth? ( network ) - opengl? ( gui ) - pdfium? ( gui ) - printsupport? ( widgets ) - qml? ( network ) - quick? ( gui network opengl qml ) - quick3d? ( gui network opengl qml quick ) - remoteobjects? ( network ) - spatialaudio? ( multimedia ) - speech? ( multimedia ) - sql? ( widgets ) - svg? ( gui ) - testlib? ( widgets ) - uitools? ( widgets ) - webchannel? ( qml ) - webengine? ( network gui printsupport quick webchannel ) - websockets? ( network ) - widgets? ( gui ) -" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) - bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer,widgets] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant] ) - httpserver? ( =dev-qt/qthttpserver-${QT_PV} ) - location? ( =dev-qt/qtlocation-${QT_PV} ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV} ) - network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) - pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) - remoteobjects? ( =dev-qt/qtremoteobjects-${QT_PV} ) - scxml? ( =dev-qt/qtscxml-${QT_PV} ) - sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) - speech? ( =dev-qt/qtspeech-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - uitools? ( =dev-qt/qttools-${QT_PV}[widgets] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( || ( - =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] - =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] - ) - ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) - !dev-python/pyside:0 -" -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" - # References files not present in our dev-qt/qtbase - "${FILESDIR}/${PN}-6.6.0-no-qtexampleicons.patch" -) - -src_configure() { - # See collect_module_if_found macros in PySideHelpers.cmake - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=$(usex !3d) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=$(usex !bluetooth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=$(usex !httpserver) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=$(usex !location) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=$(usex !nfc) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=$(usex !pdfium) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=$(usex !pdfium yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=$(usex !remoteobjects) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=$(usex !scxml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=$(usex !sensors) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=$(usex !spatialaudio) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=$(usex !speech) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !uitools) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) - # try to avoid pre-stripping - -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes - -DQFP_NO_STRIP=yes - - ) - - pyside6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" - -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" - ) - cmake_src_configure - } - python_foreach_impl pyside6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside6_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}6.pc || die - - # Uniquify the PySide6 pkgconfig file for the current Python target, - # preserving an unversioned "pyside6.pc" file arbitrarily associated - # with the last Python target. (See the previously linked issue.) - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}6{,-${EPYTHON}}.pc || die - } - python_foreach_impl pyside6_install - - # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside6-tools) to target one - # "libpyside6-*.so" library linked to one Python interpreter. See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i -e 's~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)/cmake/PySide6/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die -} diff --git a/dev-python/pyside/pyside-6.8.2-r1.ebuild b/dev-python/pyside/pyside-6.8.2-r1.ebuild index 38de7536c40b..aa061d8a2999 100644 --- a/dev-python/pyside/pyside-6.8.2-r1.ebuild +++ b/dev-python/pyside/pyside-6.8.2-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" SLOT="6/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" # If a flag enables multiple Qt modules, they should be ordered # according to their dependencies, e.g. for 3d, 3DCore must be first. diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest deleted file mode 100644 index 937acf48985d..000000000000 --- a/dev-python/pyside6-tools/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST pyside-pyside-setup-6.8.1.1.gh.tar.gz 18699613 BLAKE2B 2c16f305a746106edc770c267900b31fe480b167a615adc82496e0604cc618982bb787a0c173b069c258749364d7d2cac900d8d8b82244fc3b916744b7339537 SHA512 bd258be6e4c5f0b6b4bbdf8887e5f8ab16a90117deb00f9c46c4acb7f6bbcc36fb9f6b6e7c201403556e0ee269947a5f5b2611ff1b05e48f231f81b1eeac7bce -EBUILD pyside6-tools-6.8.1.1.ebuild 1886 BLAKE2B 4121a04f4e1cc343006ff9224fa24e818c163f82c9f0f5c669dc21b81e69e2ee86dd05d7d68368267eb3f0914858332cba2ee656054c42ff8cd0dcd684d85a2a SHA512 e050ca61a5a945645014293884952027959ae2807b71ef1a4194545d67e5c63b83304ce7974f690e4d72171ef5a826e319b6de835fe2dcbccbb65af9d9ea11d7 -MISC metadata.xml 483 BLAKE2B 785ec6695ce4cb4592d4db9f16f59fcba9cd048792cceb1dcd42176d69283970c2eab379fb9c35a54379c93cd530c26d4c5a2369d117fe7a410820f241d23813 SHA512 db6a02d19b70d71640367eae23b15ab67798cb3e960c0cbd59429d05c45b50466502c96bf610f0716aadb4ac47c01357cc0976bbd0103e201069976cfd1d2609 diff --git a/dev-python/pyside6-tools/metadata.xml b/dev-python/pyside6-tools/metadata.xml deleted file mode 100644 index 9ede7ac09c48..000000000000 --- a/dev-python/pyside6-tools/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="proxy"> - <email>nowa@gentoo.org</email> - <name>Nowa Ammerlaan</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>waebbl-gentoo@posteo.net</email> - <name>Bernd Waibel</name> - </maintainer> - <upstream> - <remote-id type="github">qtproject/pyside-pyside-setup</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pyside6-tools/pyside6-tools-6.8.1.1.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.8.1.1.ebuild deleted file mode 100644 index 45435d0e5d3f..000000000000 --- a/dev-python/pyside6-tools/pyside6-tools-6.8.1.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..13} ) -LLVM_COMPAT=( {16..18} ) - -inherit cmake llvm-r1 python-r1 - -MY_PN=pyside-pyside-setup -MY_P=${MY_PN}-${PV} - -DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://github.com/qtproject/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}/sources/pyside-tools" - -LICENSE="GPL-2" -SLOT="6/${PV}" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - ~dev-python/pyside-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] - !dev-python/pyside6-tools:0 -" -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') -" - -src_prepare() { - cmake_src_prepare - - python_copy_sources -} - -src_configure() { - pyside-tools_configure() { - local mycmakeargs=( - # If this is enabled cmake just makes copies of /lib64/qt6/bin/* - -DNO_QT_TOOLS=yes - ) - cmake_src_configure - } - - python_foreach_impl pyside-tools_configure -} - -src_compile() { - pyside-tools_compile() { - cmake_src_compile - } - - python_foreach_impl pyside-tools_compile -} - -src_install() { - pyside-tools_install() { - # This replicates the contents of the PySide6 pypi wheel - DESTDIR="${BUILD_DIR}" cmake_build install - cp __init__.py "${BUILD_DIR}/usr/bin" || die - rm -r "${BUILD_DIR}/usr/bin/qtpy2cpp_lib/tests" || die - python_moduleinto PySide6/scripts - python_domodule "${BUILD_DIR}/usr/bin/." - } - - python_foreach_impl pyside-tools_install - - einstalldocs -} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 081663565242..52fd86d0dacc 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -111,6 +111,7 @@ DIST pyo3-ffi-0.22.6.crate 69352 BLAKE2B 99eea6ed87001b23fdeb263937bc14be0fadadc DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184cabf6391761f850d23508cebcf8d496ce12f747ea241523bb3899886eb20494b076a0651151744bb81d52901a1b4 SHA512 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 DIST qiskit-1.3.2.gh.tar.gz 8483402 BLAKE2B e2f191f3231f858ded9c389f952a2207bfea4680be13db6207e9870fb08f2015c483e3fd891a298eaa531635cb7d1027bc10952b0c471dff9b89ed524e6228a3 SHA512 067143cbab3b89a33327fb5350ebd699a12b1be6405d1186fce4767971cb0a59b27e08292d3828a3db40f241a70e96eab2e4ef117dc6b8de9dbfd6be05da1025 +DIST qiskit-1.3.3.gh.tar.gz 8489998 BLAKE2B 723e64f866366b1ef8f860dfb8d392aa1364973f333b9f4345e1e2830b0d8ada7db3d5ed0d75e412c746e05df71fc7501a2d2bd5d202362272663ed759237d47 SHA512 392ccd0ace7822c06324d8723e36211e97d1a5499b6e887b42a610d8d90cb29228e3cb0b7b82dfccb1e9c83c07f33f5b5c539f31874c71300eb524664759a0ef DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST ra_ap_limit-0.0.188.crate 1283 BLAKE2B 265a70d088ed76500cdbefa04d1b2778d54985aa978b806e9ebb016348556559799b8ac889c00aeff51d4ff08f3fa86cd3be3742f5896916edbbda49bca1946e SHA512 01d56844fb4437959e93fc3394d674848eaae3365d271c01ba5ff12fc05d4a1d11eb4145ee89a65eb5ba12db4075e8102ee31df55c569c8ee5ad6d383f9f451a DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 @@ -184,4 +185,5 @@ DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b279 DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa658624442f7e03cdcc6db5a0977d9f26bb4e277be172b7872ec365cf6e58ac742e5578636f7698f9f37093e9249d9a SHA512 17fcb31c029ae89c01e5bae5fb2bb46bd434120199a3dc2c7fe0012dbbcfe2a0bb38934c4a7d3a4920e3fe47c097403beee554fefa54b66cb390f8b1de638d3c DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb EBUILD qiskit-1.3.2-r1.ebuild 7665 BLAKE2B 679d56c68b6b554965df0ae4dc204be262e4eb4989d42fdcb85ea4ceda0315d09c12b579f7fece6863548995fa3963770d77887acbfda41f5648ecc924e0b216 SHA512 b6b6120eeaa98a553e810aff8004d51b86e868b150e5df5f02245870eaa342cd64d1243b7406743afbcc42ea54b4308ea648ad91efdf9e640b2f2efa4f0c3587 +EBUILD qiskit-1.3.3.ebuild 7665 BLAKE2B 679d56c68b6b554965df0ae4dc204be262e4eb4989d42fdcb85ea4ceda0315d09c12b579f7fece6863548995fa3963770d77887acbfda41f5648ecc924e0b216 SHA512 b6b6120eeaa98a553e810aff8004d51b86e868b150e5df5f02245870eaa342cd64d1243b7406743afbcc42ea54b4308ea648ad91efdf9e640b2f2efa4f0c3587 MISC metadata.xml 1087 BLAKE2B 3b20c74331333cfa3c08d2422ae65ba620ffbc331f9889d5e23a0a64ff169efed37d93df50131862b13dfe7a72cbca5af4c2a916315ea521fc063e57f6bdc198 SHA512 1bd62897d647ee140903ec4732831155683c131ab7c2ebb99bc1ab04b03e805b372b09d25846ec0a0d8bb0dd6a930c234db46c0bdd89f23a0ed376e9402475d2 diff --git a/dev-python/qiskit/qiskit-1.3.3.ebuild b/dev-python/qiskit/qiskit-1.3.3.ebuild new file mode 100644 index 000000000000..98e6c08d5022 --- /dev/null +++ b/dev-python/qiskit/qiskit-1.3.3.ebuild @@ -0,0 +1,310 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +CRATES=" + ahash@0.7.8 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.20 + approx@0.4.0 + approx@0.5.1 + ariadne@0.3.0 + autocfg@1.4.0 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + boolenum@0.1.0 + bytemuck@1.19.0 + bytemuck_derive@1.8.0 + byteorder@1.5.0 + cfg-if@1.0.0 + coe-rs@0.1.2 + concolor-query@0.3.3 + concolor@0.1.1 + countme@3.0.1 + cov-mark@2.0.0 + cpufeatures@0.2.15 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + crunchy@0.2.2 + crypto-common@0.1.6 + dbgf@0.1.2 + digest@0.10.7 + drop_bomb@0.1.5 + dyn-stack@0.10.0 + either@1.13.0 + enum-as-inner@0.6.1 + equator-macro@0.2.1 + equator-macro@0.4.1 + equator@0.2.2 + equator@0.4.1 + equivalent@1.0.1 + faer-entity@0.19.2 + faer-ext@0.2.0 + faer@0.19.4 + fixedbitset@0.4.2 + gemm-c32@0.18.0 + gemm-c64@0.18.0 + gemm-common@0.18.0 + gemm-f16@0.18.0 + gemm-f32@0.18.0 + gemm-f64@0.18.0 + gemm@0.18.0 + generic-array@0.14.7 + getrandom@0.2.15 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashbrown@0.15.1 + heck@0.5.0 + hermit-abi@0.4.0 + indexmap@2.6.0 + indoc@2.0.5 + is-terminal@0.4.13 + itertools@0.10.5 + itertools@0.11.0 + itertools@0.13.0 + lazy_static@1.5.0 + libc@0.2.162 + libm@0.2.11 + matrixcompare-core@0.1.0 + matrixcompare@0.3.0 + matrixmultiply@0.3.9 + memchr@2.7.4 + memoffset@0.9.1 + nano-gemm-c32@0.1.0 + nano-gemm-c64@0.1.0 + nano-gemm-codegen@0.1.0 + nano-gemm-core@0.1.0 + nano-gemm-f32@0.1.0 + nano-gemm-f64@0.1.0 + nano-gemm@0.1.2 + ndarray@0.15.6 + ndarray_einsum_beta@0.7.0 + npyz@0.8.3 + num-bigint@0.4.6 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + numpy@0.22.1 + once_cell@1.20.2 + oq3_lexer@0.7.0 + oq3_parser@0.7.0 + oq3_semantics@0.7.0 + oq3_source_file@0.7.0 + oq3_syntax@0.7.0 + paste@1.0.15 + pest@2.7.14 + pest_derive@2.7.14 + pest_generator@2.7.14 + pest_meta@2.7.14 + petgraph@0.6.5 + portable-atomic@1.9.0 + ppv-lite86@0.2.20 + priority-queue@2.1.1 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.89 + pulp-macro@0.1.1 + pulp@0.18.22 + py_literal@0.4.0 + pyo3-build-config@0.22.6 + pyo3-ffi@0.22.6 + pyo3-macros-backend@0.22.6 + pyo3-macros@0.22.6 + pyo3@0.22.6 + quote@1.0.37 + ra_ap_limit@0.0.188 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_distr@0.4.3 + rand_pcg@0.3.1 + raw-cpuid@10.7.0 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + reborrow@0.5.5 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rowan@0.15.15 + rustc-hash@1.1.0 + rustiq-core@0.0.10 + rustversion@1.0.18 + rustworkx-core@0.15.1 + same-file@1.0.6 + seq-macro@0.3.5 + serde@1.0.215 + serde_derive@1.0.215 + sha2@0.10.8 + smallvec@1.13.2 + smol_str@0.2.2 + syn@1.0.109 + syn@2.0.87 + sysctl@0.5.5 + target-lexicon@0.12.16 + text-size@1.1.1 + thiserror-impl@1.0.69 + thiserror@1.0.69 + triomphe@0.1.11 + typenum@1.17.0 + ucd-trie@0.1.7 + unicode-ident@1.0.13 + unicode-properties@0.1.3 + unicode-width@0.1.14 + unicode-xid@0.2.6 + unindent@0.2.3 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.45.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.42.2 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.52.6 + xshell-macros@0.2.6 + xshell@0.2.6 + yansi@0.5.1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +MY_P=${P/_} +DESCRIPTION="An open-source SDK for working with quantum computers" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+visualization" + +RDEPEND=" + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + <dev-python/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) + visualization? ( + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] + >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py::TestSparsePauliOpConversions::test_to_matrix_zero + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_fail_to_assemble_circuits_with_unbounded_parameters + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_in_sec_when_no_one_tells_dt + test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase + test/python/compiler/test_assembler.py::TestPulseAssembler::test_assemble_user_rep_time_delay + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # docstring mismatches + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_meta_lines + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_multiple_entries + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_no_meta_lines + ) + ;; + esac + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + epytest test/python +} diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index 97ba1864f030..8b7412ede752 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -10,41 +10,29 @@ DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST pyo3-0.22.6.crate 546746 BLAKE2B 2a6f8c5ce2ee96e1812177a11c5fad7e15f3a73d9e30850edf0855b13db6cc95427e186883b4aae25a2d2466d3fe82f56180a39f3e6e0a54bb0a3ef78d495400 SHA512 d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44 -DIST pyo3-0.23.1.crate 1072552 BLAKE2B 1d83f3d853eada9d10e7502c76ba665ccd75afe51ad8f09e6b72d076aba4eab5da535bcd9f0d636d9a5a120dd632d67bf89b65fc4372511b042a74bb697be56b SHA512 6f0f457669c0d5d54196e4d7f10a78c8ef1f576ffaf01e11fd142634949e9b1e12c8e4dcf041f9bbe21f7e9b4779ff7ac1b625b3d0ecaf8e448b468aaef7b3f5 -DIST pyo3-0.23.2.crate 1073639 BLAKE2B 01ddd26a4e347f3b6d7fee215a1894e779167730710373d59712f2119332fcf287d9c0e75d3d28baff8cf5000afb9d0e577947a26bdd8828428d33aa0f8be537 SHA512 b2b40809e1f26978c140b7ca4ecebb661a47fc01cd03fcd5c486076576c9b229de04f15ed55661db4e26545cb29110f1034a185abb623e4bf7fbb69188db335c DIST pyo3-0.23.4.crate 1087676 BLAKE2B 2c7d3530460ff687e8f60dcff0fb01465b2a4642043ebdfc927fc3824b9fbce9c4b304250808a85405d21df12d17a1d1ada7bdf8f3563710692f22223e2732f1 SHA512 0015aa75163ad0ec026d185e15c26f59aaad0eb3cc3044b146e5d703bb375fcd838df2044febbd52e6e129dfba81c8249329fc3e4805695274dac7a69eee0651 DIST pyo3-build-config-0.22.6.crate 31369 BLAKE2B a1a72de120c4ac4f23a3faaf9b2e340231d7a778a29083ef25fd863fa213afb2a9b720333e3d46a6e1d32105f63073276a23b9bcd999a97fe71eaff3afc7db99 SHA512 9ab44c830e56ddb9ee537ce438fc690664d2c5416f01cdf72498ce062e4c1e7192eac8b7dc2de86c9f2212890b133b69a66209b1615c4eabdf4eaa6882a980fe -DIST pyo3-build-config-0.23.1.crate 31755 BLAKE2B 7cac76855763159f61c26bf401545d12a95d8d0970ce4a0ae90e5b7ad1d67747af5414c02b8848042b4e2c2aa773d8cfe3b3db077895d12305097457dbd0ea60 SHA512 ec7b47db39e910760373adf3c035d7bef0cf48595562bf8c70d6ecf98ae3a676f19c94302bcf29dae60797b0dcd180498bf41faa65d6a6a268a0e2b14a309e42 -DIST pyo3-build-config-0.23.2.crate 32197 BLAKE2B 393c76b1dcb625145673736272d4cb9d96a02df87ddcc385316652f0ff1b5595a34ebe5d789f61888c2fd82de05476c85f781d21018bd99cb630fa634afee203 SHA512 29678272073e896cb0b65efb0eaba40c82977b18efd389597aef8902e32daff51f2609c6be93ecfe0336260446c3186951f770ff449823cdde5a0518a1585c81 DIST pyo3-build-config-0.23.4.crate 33885 BLAKE2B 7f95a8a9e08d413899ff1fa64af5a52783bad4a7b4db92835464f12bd8565f152497aaeb45d25cc91eed73950abeea30ca4c7495e3b15423ae588b97038beb18 SHA512 b11442609f43d9baab79daf083caf0366987f6ae182239814ad6df6fe4ad31b95132d74f1162fa9428d229bd8c18ef9b696a4c3329b3960fd705d1705fc5e973 DIST pyo3-ffi-0.22.6.crate 69352 BLAKE2B 99eea6ed87001b23fdeb263937bc14be0fadadc1ad77d4fa8834045ba2fc6ba5c0b89f4051916a058b7640be655afe22785b1da42aac8a32d10209b7b37bf810 SHA512 616e51a0eae1207830fe95251d5b62f126daf446bec68ac98cb1b8538aaa59761dbde62d446a9ee205c23453dbd32bd8ecb15e26265ed1fa1e5e2056efd96369 -DIST pyo3-ffi-0.23.1.crate 73993 BLAKE2B 4b16d423f6aec1a4b99aad79976dd17a8039e9a37ec35badb50cbd12001f12b88b7223e2dc6bb67257e821ffc935a3f23876f93941f2495e63ac88e631be51d9 SHA512 7533fdd016afb71a482cec07a61b04b0eaee10eb131e11d9c6d650e090a575896fb5ea243880341a2500b0b8442c36ac7792cb6ed39a2f9bd29645556cdc807e -DIST pyo3-ffi-0.23.2.crate 74052 BLAKE2B 085c66bae61e6059331813be77a1e4f850c4b8b12ac60b03188f2a009c9f58e062dc3ea2b9e470a480956bb8cbef645f95e53fae2638d59ebf5039aa5d41d504 SHA512 e228e473da98ce0fe4f15cf840ba1f51f66bb6fd103a7c0bb76b3218980c93b45ecf691f712333f4a27a9efc76517a85f6e13d5e9650b774eadebf59a647e493 DIST pyo3-ffi-0.23.4-pypy3_11.patch.xz 2140 BLAKE2B 29cf1a3b340241bb323192261b11a431a0b78748819dfe05683ce51c18fb53b5e9394fd4269197475d467f6be82df1fdc92e45450a1e2416ddd459bc00174b6e SHA512 43da84518b24022b82314fc509e8125ad6a9e5c47f8e2eb20da2fa38631719759ce821253a62bdd9fc3fdbedf798e9a37168c39d913570a6cfc53aca3ec0eedb DIST pyo3-ffi-0.23.4.crate 74806 BLAKE2B 650784d46347c00f09c010c39e9762f778efc510ad0b99b5ddf30cab18edaba552207339ad44ed4ae6d87ddfcc56fa540a17e3a4cb331905a0988d5ba2dc682a SHA512 c12097292b4620f4fd98d61fde4a0f0c7d423a94d518fa5b1cf759089b066fede6d83e20171acc2aa7bf268de5700c9b59da32131216734626b0fa5cd5651801 DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184cabf6391761f850d23508cebcf8d496ce12f747ea241523bb3899886eb20494b076a0651151744bb81d52901a1b4 SHA512 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179 -DIST pyo3-macros-0.23.1.crate 8064 BLAKE2B 26f0c07d230c6a749848094e84e1cd86d151b1d7639aa17debef73a49c9d15210a6f5ddf20d832f1175ba9fca690edc2be3244aef286112d2d097677558348e2 SHA512 2897b64b1e6695526a74822adc2e6bd6fccd0185918ab5e87561341c5e37382e77094a9e102bd6c817cddc919ed45c1a133cdc1e947ecab2c851328fecf14508 -DIST pyo3-macros-0.23.2.crate 8056 BLAKE2B a87c4b8aab972eaf5e9b941db34e18be411bed8b5753d3e2d3f65e4a18723a72e70858bb34e8db949f0c6b748e122fed41e9c78f6c20150077fcc3c4eb0026ba SHA512 dba0b5bd212b6a5f38d6fc93183c8ab80bb53bfa5f03d471897014f2d3d1959804e5fdbc817845c1cef797f314b924d58eff95cfcb848eb98b283e104d24637c DIST pyo3-macros-0.23.4.crate 8852 BLAKE2B ba5722fd52e47aa4dc2e89bacd69326bd98943a1670ebeab08a2e9e8070a0975ebbe928a0bce8b53a700b65294fee2b00d2a1e6623a0c48ac15902cdbfcb7a97 SHA512 c36c9005db5a4b48b5fda881130f4e7da8eef46e2c363c395ccca3fe476e0204d98c2a832cd03c787fb37a2664fadd42bf8f47de71eb44d055754ab5766af934 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 -DIST pyo3-macros-backend-0.23.1.crate 70118 BLAKE2B df6e7db9f88bc0fd039c2b0553c3371fcde654bad4528320e0e8cb8ee5ae98b541bf7fe800a872fb5ee43562e07a5b0cd9543f4b5c66b482818107a53e6e49ea SHA512 bb6df78ad712ab6c85535c60d3d5d8aa1b012b175845c6e073ca7b174c558e4a546fed5e62453bc3ce7f46dfaf3b016c01b88e13c8516b18d5024565464c1bf8 -DIST pyo3-macros-backend-0.23.2.crate 70067 BLAKE2B 905c0e6e5ca0c0a91af8386a632cc81f4a9b08a51a22a260188078abf9ee70d60f77e2fc0df09483d8dc6b37cd455a23b7f70f41ee74a2ad9dd0dbef39cc22c2 SHA512 dc3f8780c09c63c0e0d4f26c29a9a4e29e4fc9f14254ac8a942235e480a3f4bfa3bf073d3011e043b6c22e1999d1f68bf7b0fdf212e9edb4bfb2396a97ab0ee1 DIST pyo3-macros-backend-0.23.4.crate 70912 BLAKE2B a428c732f0b17d9a8f620d0e8d58469f2cba339c8a8307393ce252a7860808e5d50e6bbf711cafd0635c844f4b1d48e57db4dd99ef7b5e3d97d6f760164278e9 SHA512 2fe670fbf35724f489cc82f38d3f7c1e6aa15b087a2674b7a68b562572f9bb00cbb7746cccfcb62d0861a18f6d24c5739273c8302d1662a161142f4a6b532b6f DIST python3-dll-a-0.2.10.crate 74573 BLAKE2B 770c5b070f4dd1b9639b8aff59bb733575eb1117ae8e510818b6e13bdc69b22bcad395bb5cf0d1931de3562775a56e1404bb7fca7384b62e5e782e6284fa1494 SHA512 c1171c29f6914ff809950a9f6c330638e72c58c7c691bf4d9e765dee47166915cc91131b494b65aeb3a812543690c5072f2f5ff32cdebb76ba588330f9c74cdb DIST python3-dll-a-0.2.12.crate 83731 BLAKE2B 2ae21b085e7a7aae2c17584fa5feacfe35e974f1bf96673027cb6b6f382241d115df7c9cd009b0346840b6366163c08a62e1695b0834385e182d250390e446e2 SHA512 4d9860f7ecf689b8e5c865f4f2d2486baae0d6765ecedef08234973e921461a3af56f007dce178de6539053eab28dec0870c9f110c3c66dbf7b076e18d2e1fd7 DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b64b6c83947bf8b3718896781eb96cf96d4abac84aba0c7caaa5e95abf1364ab2ffd65d573d0af212e058 SHA512 b24640e34c2f88ecfff5efb1581941eb02987bb7b342dc439513e8d7c8ee0afa63949f8dee09bf8f445ec6f3b3ec22d2927d3d03be05fee3c651b29c924a6b3e DIST rpds_py-0.21.0.tar.gz 26335 BLAKE2B fa85722ccba1c21b20fe6a7f8069a68bdd03fc953299c5b53aa6b3343db363e8ebe491590a8ba6174e9fb2f2eb3b02bc43020896471b81c0cdc13c4296bf57ee SHA512 0cb1c48f6672d69c00e2b6c22cf586396849491fbeea4ca86a493fe09e59c2e4354bf4356320de32b5825c0a013b462085b03d2a7446ed878e52a139d97a41c7 -DIST rpds_py-0.22.0.tar.gz 26723 BLAKE2B f905d0801619b308b0eff1ab1f87b5758c2faad08363c156cfccb3df569acb6004ee0a2da4843b9e359e03ad2124db287dfac2b87e8fe349e36363b3c732b293 SHA512 b19d2cf94e63ef44abf8cdd0248d8b054ff74e740c08d20317f449b7ac5ae400da28c9fdf502a9967b62dc7bd8837405c0da612b44007fbd3f038ed52305547c -DIST rpds_py-0.22.1.tar.gz 26762 BLAKE2B 2af3334503a8de58d28cc8a3a519de26f137bd6769042323d0fdf24dffefb55cdbaacfb481ca39969a22fc8e47b78ebe75a09b996d02df4e75c31895d50a0c23 SHA512 344070477b51f0e9d2a0b5b565fabd63b98e4aae738df2d10411976f64905693ea7a63b71f25ac7c12c19ca24c2595c52640b804ac5ffb9ef4f163ecc200d6ad DIST rpds_py-0.22.3.tar.gz 26771 BLAKE2B b8841a7d7e5553a776d543e4371e0563916a36554cf9658606382df0561fe04dbef713e773c3265e9d6a7ca0870b38e568ff1247329bcecaf5473d81ea10dd50 SHA512 c813f2c2a6264ab42539c231c46f6f689301e15523633d9bf63a792e735b960a93fe6af28f0035b6bcf01940135b4036217e6c52144ba7aceba1abfe26c3d05d +DIST rpds_py-0.23.0.tar.gz 26808 BLAKE2B b1f5131e21923430c32601aea6426f13638053c4123622ec370eae0b0dbd9165857131df798236ad31f0011a66b0739cd81f03cb0a7033f12b55be58b8f9fe46 SHA512 7f3c8e081af68c41ef0cfebc88aa10cade6de464a23d145dc11cf41d9ede5a08f617ce4066e909053dfaec5eda0d0b4f49ba4316e4a26855efba8403006d572a DIST syn-2.0.69.crate 265441 BLAKE2B b01576c2c86426d2bbb2c9553dc1dce6a309d9922c35167ee6a718ad08cf3d0a22f0aed4d4c547cdbed85b47283e5b60a128fd1bbb230a6687f0c28af3a9c228 SHA512 fddc0f1ffa3e68ce57833c6ff18382296838287dd98f9f77f679ced471c3f801af30376363a870232f337bda27b3ba6ea93074f8e3c05ee390bcc024e3690bea DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a DIST triomphe-0.1.13.crate 29568 BLAKE2B f0450292e3a4c2df6b400621bada57c099e5779cd3659c6171e452b552d2acaedbb2c0cd074c8f2144fbba9dc095648ba1c43a3fdcfe6fe3e01efe2561f6971d SHA512 e8364bf262d41aaf23de5c519c0303fd6ad928d8691843c7e0eda26b530c746c458837b08421559c50edf1cb8b9a2a216d7c32f5ea50be1543a2dec2cc60dd6a DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 EBUILD rpds-py-0.21.0-r1.ebuild 1207 BLAKE2B cb09c7971d4cd10f0f46a6d95e17cd4bfb266c79db050a3f14fa1b4437a12112570637837cdeb40768f1fc76d0d02ecb362ff126457b096f4cf9c0d3f10f48d7 SHA512 c05e027daa69af28484990b55bca4fb6ff86013640156e3df8d42fb24fdf0bc04c3b322720a0966bc152fa0d17f3b252147d74c829ca994fb62a5d5a51080cbb -EBUILD rpds-py-0.22.0.ebuild 1214 BLAKE2B f3df5922cc0a97a8a78d524a5c23be20931121c56a2cba63ac23dbd566d91b475417f4d69e9470d27cbf4e5fac9bf22d70f85552abce6705fbbce3189bea9695 SHA512 ec11be579b99c4a206522925ec9bf50cf4bcf5dfc8377a82dbf080aad037cc4993ed1e933ce5b7615bb68e1471448ce0fdca02ffcf6d08b298872d15f1f81f06 -EBUILD rpds-py-0.22.1.ebuild 1214 BLAKE2B b04bd6f701d143f8114ece661d38e86ec4714e50cc7de4940fb800d8675f2d4b1795ab2c629492b42146585b6725e3e82709decb94a809c8d74d47562fefbd62 SHA512 a83c8ebfe21d9a70233167131b2aafac68a8dc0241ca07cdcdaea41d1129c1c81b9e5031977aa9875b096d49a0738877f96232e07c823fec6c2451f1c6cf9960 EBUILD rpds-py-0.22.3.ebuild 1522 BLAKE2B 25d2abd6cd7639731eb88bfc7734fdda55a0accdcc3bb70708d342273482ec719fde197451da37bcbcf7966c32d772046f5212b6bc64503fa3955e9b0880bd62 SHA512 476b0fbbb010ff79a409be6da1a2a369798315255fc7a6d0367a9ec303a17e181b27a1339cc5ddcd7e4042487d9b69e2bb3add07b6cb6e0fdee9e4c6190eaf69 +EBUILD rpds-py-0.23.0.ebuild 1433 BLAKE2B dd05b3f7464f1252867ef34d156ee8fa94180d4ee1fd08dc596e300839d587bb0d8510dc9dcd87e81d752e6eabdfad30fd4919bae9b906acbfcca70eb58c467e SHA512 7a23b60255870a1e136764edb99ecfa1b7003d153bd059d4c17c0d2420fbdd7a8dba6e30eb5424d72ef68986dd589cb5bf616cabe294bf749bb6ae772a176d8a MISC metadata.xml 364 BLAKE2B 33dc27885605ddf91618cb855a4039c3d978dda6ef80fc1ccbf810d354ad9a8eac78ae5854a3897de0058d63b79ae5075c47f7111150237390f863aa6be67d19 SHA512 5757331989615512c24c0a9276a525a9e5d718ab474f22ff9e81d93568b0be5c95265898ce16442dafcbc3d9a76c83407d1bd460190ba04ace9b45259d19019c diff --git a/dev-python/rpds-py/rpds-py-0.22.1.ebuild b/dev-python/rpds-py/rpds-py-0.22.1.ebuild deleted file mode 100644 index 190fe4fdbff9..000000000000 --- a/dev-python/rpds-py/rpds-py-0.22.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -CRATES=" - archery@1.2.1 - autocfg@1.3.0 - cc@1.0.90 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.23.2 - pyo3-ffi@0.23.2 - pyo3-macros-backend@0.23.2 - pyo3-macros@0.23.2 - pyo3@0.23.2 - python3-dll-a@0.2.10 - quote@1.0.36 - rpds@1.1.0 - syn@2.0.69 - target-lexicon@0.12.14 - triomphe@0.1.13 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -RUST_MIN_VER="1.77.1" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.22.0.ebuild b/dev-python/rpds-py/rpds-py-0.23.0.ebuild index 4d3535ed9f86..1c7c799e3146 100644 --- a/dev-python/rpds-py/rpds-py-0.22.0.ebuild +++ b/dev-python/rpds-py/rpds-py-0.23.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) CRATES=" archery@1.2.1 @@ -19,12 +19,12 @@ CRATES=" once_cell@1.19.0 portable-atomic@1.6.0 proc-macro2@1.0.86 - pyo3-build-config@0.23.1 - pyo3-ffi@0.23.1 - pyo3-macros-backend@0.23.1 - pyo3-macros@0.23.1 - pyo3@0.23.1 - python3-dll-a@0.2.10 + pyo3-build-config@0.23.4 + pyo3-ffi@0.23.4 + pyo3-macros-backend@0.23.4 + pyo3-macros@0.23.4 + pyo3@0.23.4 + python3-dll-a@0.2.12 quote@1.0.36 rpds@1.1.0 syn@2.0.69 @@ -45,6 +45,7 @@ HOMEPAGE=" " SRC_URI+=" ${CARGO_CRATE_URIS} + https://dev.gentoo.org/~mgorny/dist/pyo3-ffi-0.23.4-pypy3_11.patch.xz " LICENSE="MIT" @@ -57,4 +58,10 @@ QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" distutils_enable_tests pytest -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +src_prepare() { + distutils-r1_src_prepare + + pushd "${ECARGO_VENDOR}"/pyo3-ffi* >/dev/null || die + eapply -p2 "${WORKDIR}/pyo3-ffi-0.23.4-pypy3_11.patch" + popd >/dev/null || die +} diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 7eb7c5258dec..d43f9e1a7da8 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -3,14 +3,17 @@ DIST selenium-4.26.0.tar.gz 967159 BLAKE2B 211a82d59813884cd4be133726b2ae70c530b DIST selenium-4.26.1.tar.gz 967543 BLAKE2B 7e7476338a030083261199b725aaa38d03bb62f71c56c16495600428e976067b456c32b98d18a0fa4fcdcd6544ddb0043a8104b3c6c075917924ebb8466aee56 SHA512 08d75ee4b3b5d93ad5385c0755d1b9b4e604e491127da19ba3531c6de2213c6cbbdb768893168112643e6272019d4d761873039f42af1c96dffc7ccfb9fc3bab DIST selenium-4.28.0.tar.gz 981603 BLAKE2B 234aa3cc9a877b680c48483a08cf5b9bd385f1552db2999d8689e3bec5e9d84e7bb25029db9bb2193ad85199889508c7d513c502b30ec03b8efd24b166f2c0a0 SHA512 b45d42dbeaeafe750404414beec78b11ef085691829b82dbac2c0c1f628bfd90b931213fb8636690c7ea9184c95a0da4bb70e8e783b0b9cfbbaaf2e61b15d420 DIST selenium-4.28.1.tar.gz 981633 BLAKE2B a8b856d4de7be4a68028f97c88852faf867224c2632ec40273d1589de2b84a75ae96d4b3799bce50dd8967ed979da686511212c0fa2bad5775f9288c5fbf0be4 SHA512 cefcf4286fcce8f3e33d9d97001bee0ecee157609aa921adfe58b748cb4f7b90feeda95181a4d67ebc6ed2b5381db1fb2f1ffb105c6469f0034918a93cba01d1 +DIST selenium-4.29.0.tar.gz 985717 BLAKE2B 61dbda8dcc3280289a2f84159edd11bbef66c507ceb10d017b50249e4ae2d200761d7fc83d457ff412001c8e18f363b89c04eafc118ac4f2a2ac15f681e9a5a6 SHA512 aff22caec524b1835f3c0d857e44545693716e2cd250f835c77b89225c1a3af6dfe2090d66bbad270e131e36ba0629af72cf0075e40c04d9e8c908dd41f8f6ad DIST selenium-selenium-4.25.0.gh.tar.gz 77158053 BLAKE2B 9978239a874d32e23d98ec98eb5292153496c42abcdd0f959875b2b460df5a85c0b532b6843e0d13b931078490958ebdc2944a8c21ce2eae24a0ac6a3c830772 SHA512 6d11d1aa22d27dbc07c3d39f5f852080c5089b12b1da0251e7b09c38ac3b8f56f452a24c64a20685eb0aff238698ab4bd18a8b7089c69f261cfbcdc679ceeac8 DIST selenium-selenium-4.26.0.gh.tar.gz 77107740 BLAKE2B d4e466dbdb9a12126ae8ee9e311d5d997228da3b22620ead3dbf1a553232503fbd8c19470419d6ad5862acfc19f0012c4c48b3a5e1ccecaf0f7c4171f35904fb SHA512 03197215c04e8f6e151631d769975e70b5140d2d7635443c07e43e63b1c0cc3bc99b0694300ca4dbfea6178af9d037d28699a756ef74926a357f7a3030086182 DIST selenium-selenium-4.26.1-python.gh.tar.gz 77109265 BLAKE2B c0c5693c64fa65a627e5edf0cbbc051410fcddf59e4fd80c362b9a382c586fc3ad3d574674e5523ab284b40b6639e95e85fd1c8195f2f1a6f35ad6532ed667ce SHA512 7ace69332f17c6f7e28b81223f4c8c62cde1832b5acaf2fd1c777a08a5a9cfebb5d9c83daa10462eeb3acb9c7cb5038711f5acee51f5dad3910d7e29e4387d3f DIST selenium-selenium-4.28.0.gh.tar.gz 52440665 BLAKE2B c954745ffc62d05c7686dfad8be2963dc520d831849a3ff50e75d6b3bf6f14e985932026b61bd6c4df37a1cd50d877bd6b52d0ee35df3b0763d4f5d2f08b8b6a SHA512 02316b264a25888116070f697be59094139114ce3388013da8e907dc55ac4e0d60b773b35ae5a786fbd94ee59c3afc7ff9344aeec709c160960a343337f42d8c DIST selenium-selenium-4.28.1-python.gh.tar.gz 52438112 BLAKE2B 62e2a8334238a6fbe063eda6253f2e6d6ab83484dde2b6b7d2fb6fab3e37d7c1d78b82b424c665c5b38fa06928ec693ece8dab03831132b3d7666c296c4cd39f SHA512 f5c917615a7424470c095c7b9730c02e1e7d7e691b51bc29fbb2d72f3ea08d647705d67702e287e962c033f1269b7cff8cba93bef4999de09c90a6f0e9029efa +DIST selenium-selenium-4.29.0.gh.tar.gz 52589103 BLAKE2B 65b202e599c1a3d31ebd15a3da1246fe7e8ea4a55c24189a1146d07e4a49a5fcdfbdb000b7e8102b09de4f3c60d4ca13c033c2127603f8ed2c6277d254cb3069 SHA512 2a3dde375539592cb65fc2dca27e5a3f92ccdd9111dd0c7a0453a6f447a2f4b738d92120d1ef6872321265f86c87708859e714288b49893f6b8ccb1ad003cbf7 EBUILD selenium-4.25.0.ebuild 4194 BLAKE2B b6877b705f144862ae7a23e26e86339225422cbf4fb3b5af44dc9860158dda116968349ce3cff3f9b3cfa4e71a182f00a48b055a2cd9605c0b038021cabf5961 SHA512 ea12c310a886e39854b476fc04452c4c79cc2bd4e38d01f396bd4ab0eb36f0373719831830e762b2822e4672513343997bbb5854a0ffda60038abc35af37efbe EBUILD selenium-4.26.0.ebuild 4201 BLAKE2B b0ed725b0b4b250aa95d2decb5035cee2a35e7f10579b8524f1b7a05b1791b865a6d23891247ee05aac3088794b01b1c6937c6f57f0569317d751aa2d6d8ee87 SHA512 35d3ccd18f33d22336bceb9af0fe90e6011db93e17b8f40f043ab827a6cc34a150ed30d7bbb02e0ccf3f3ed1167af521cca1ef09fbec1feb6414e6f155fa0482 EBUILD selenium-4.26.1.ebuild 4202 BLAKE2B 9876ef8e0a106967968b0750fca67847337cd13e5a9bd842467d2fb71bb9919e21f782e3d63df9576b2f847720e35b9c6c8122cc93d5962b4e7e27c4ff21ef18 SHA512 0a6fd259df456323b953c11d8baa9ff1fd5f6b6fbbcb3cb292b76f03a6523abec33d0dbe9e0fa7ea9a80c3a453a5293f0d70030b7070eae294b968d04578f920 EBUILD selenium-4.28.0.ebuild 4466 BLAKE2B 46bf561300ce2707a176b4b97e5f0dddebb0bedd06ced00e313a3a054838e85837e639653e3ca8d7957510601d231b6e3cc89aa95620805f69f7a60c8b0bf671 SHA512 b4894ed802728aa84729f2510666572a8c68643633586e11ab1bbbb48d3ceb7b13a72a0af38d8829de7de2d806eddb7531ebe1a347937647d701606e025b4408 EBUILD selenium-4.28.1.ebuild 4349 BLAKE2B f224e8ecd3edad133bdee84a74b18be45c26cbbb019de5a7dd50630b02a649e95b29e4b9592782b43acb223481abf4cd4a26be721f12e40ef673389b31c6d3cd SHA512 30722a2a97fb7537bdcd6081824a9abd1f9ff0295d5213fac53eab43fbbd8160e22632e0b44bb56d326aef2140009f4129f97716f9b77db619ba2609553ddb61 +EBUILD selenium-4.29.0.ebuild 4350 BLAKE2B 22ab81d9a70b49317a186f557f4ea1bfc209c8d09f9b9e17ac210a236697dbb6fa437c3fe9e0535b965b7232e5349e3c522724af04e48a7185334ce1324e600c SHA512 d40ca69c332c4b0ca50713c552dea2b7912e459eb51566fd7e0b2922007f94ceb447e7abfec4237eaec9182929faaca05a5e0a3b8d98732eae5be08a4bdbe271 MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.29.0.ebuild b/dev-python/selenium/selenium-4.29.0.ebuild new file mode 100644 index 000000000000..cb21492e1c1c --- /dev/null +++ b/dev-python/selenium/selenium-4.29.0.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..13} pypy3 pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +# base releases are usually ${P}, followups ${P}-python +TEST_TAG=${P} +[[ ${PV} != *.0 ]] && TEST_TAG+=-python +TEST_P=selenium-${TEST_TAG} + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE=" + https://www.seleniumhq.org/ + https://github.com/SeleniumHQ/selenium/tree/trunk/py/ + https://pypi.org/project/selenium/ +" +SRC_URI+=" + test? ( + https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz + -> ${TEST_P}.gh.tar.gz + ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] + <dev-python/trio-1[${PYTHON_USEDEP}] + >=dev-python/trio-0.17[${PYTHON_USEDEP}] + <dev-python/trio-websocket-1[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] + <dev-python/websocket-client-2[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/filetype[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + test-rust? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-util/selenium-manager + net-misc/geckodriver + || ( + www-client/firefox + www-client/firefox-bin + ) + ) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # do not build selenium-manager implicitly + sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ + -i pyproject.toml || die +} + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + # TODO + 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' + ) + local pytest_args=( + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + -o "python_files=*_tests.py test_*.py" + -p pytest_mock + ) + if use test-rust; then + local -x PATH=${T}/bin:${PATH} + local -x SE_MANAGER_PATH="$(type -P selenium-manager)" + + local EPYTEST_XDIST=1 + pytest_args+=( + -p rerunfailures --reruns=5 + + --driver=firefox + --browser-binary="$(type -P firefox || type -P firefox-bin)" + --driver-binary="$(type -P geckodriver)" + --headless=true + ) + + EPYTEST_DESELECT+=( + # expects prebuilt executables for various systems + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac + test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os + + # TODO: these don't respect --*-binary and try to fetch versions + test/selenium/webdriver/firefox + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options + test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome + + # TODO + test/selenium/webdriver/common/bidi_script_tests.py + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities + ) + else + EPYTEST_DESELECT+=( + test/selenium + ) + fi + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest "${pytest_args[@]}" +} diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest deleted file mode 100644 index 6bca0519a97a..000000000000 --- a/dev-python/shiboken6/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX shiboken6-6.3.1-no-strip.patch 1001 BLAKE2B c486f9423d4934c2305e8f3109f017dbebd568573469a2fced8da895fbc61ef07a80e0d1c846e7a57988801d6ec4be05b86b46a8039e6702d667129a899fc137 SHA512 1f3e5b082a978e3ab8d8f4d9a5a0a661b8c063e2ece0221440abe342fbd45d566a384d588dbf00a1e469687f82da3728cd53e35d02077ce6a748d3747de3cec2 -DIST pyside-pyside-setup-6.8.1.1.gh.tar.gz 18699613 BLAKE2B 2c16f305a746106edc770c267900b31fe480b167a615adc82496e0604cc618982bb787a0c173b069c258749364d7d2cac900d8d8b82244fc3b916744b7339537 SHA512 bd258be6e4c5f0b6b4bbdf8887e5f8ab16a90117deb00f9c46c4acb7f6bbcc36fb9f6b6e7c201403556e0ee269947a5f5b2611ff1b05e48f231f81b1eeac7bce -EBUILD shiboken6-6.8.1.1-r1.ebuild 6369 BLAKE2B 00374672fba67735748e272786e66ab573ab64ee5e0923d901aa936da6b93201ff89b2a189005b632daa3d943678e69158f1a74482aa39d128567d0ab834e3ea SHA512 5b87539ff696aca54835e46b33a4676015f07e5d45afada69ae23515d44780d8a91287d3396e05a34d166a9570b368b5e8aef057707a076175aebb46f8613380 -MISC metadata.xml 786 BLAKE2B e6cddcb7dda08e5736ceed006a80d6cfbc437c65b322cb672c5d017cdd85bbac02cb27fdf8135a1bfd5d4c0c8c4d3a597d27334a113e37f33030dd655163f159 SHA512 df46e854f616d86bf3b7efdfde7c6716d32ab718bc1ebcd1f0871891f450f35f69d74da1bac0f10b5479997456e3d15a031075985d35b6c42561e8dddc60fcb2 diff --git a/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch b/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch deleted file mode 100644 index c43f945964d1..000000000000 --- a/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt -index c65dcdb..f27287f 100644 ---- a/libshiboken/CMakeLists.txt -+++ b/libshiboken/CMakeLists.txt -@@ -140,8 +140,6 @@ set_target_properties(libshiboken PROPERTIES OUTPUT_NAME "shiboken6${shiboken6_S - SOVERSION ${libshiboken_SOVERSION} - DEFINE_SYMBOL BUILD_LIBSHIBOKEN) - --qfp_strip_library("libshiboken") -- - install(FILES - autodecref.h - basewrapper.h -diff --git a/shibokenmodule/CMakeLists.txt b/shibokenmodule/CMakeLists.txt -index 2d52766..8defd5d 100644 ---- a/shibokenmodule/CMakeLists.txt -+++ b/shibokenmodule/CMakeLists.txt -@@ -34,8 +34,6 @@ target_link_libraries(shibokenmodule PUBLIC libshiboken) - - create_generator_target(shibokenmodule) - --qfp_strip_library("shibokenmodule") -- - install(TARGETS shibokenmodule DESTINATION ${PYTHON_SITE_PACKAGES}/shiboken6) - - configure_file("${CMAKE_CURRENT_SOURCE_DIR}/_config.py.in" diff --git a/dev-python/shiboken6/metadata.xml b/dev-python/shiboken6/metadata.xml deleted file mode 100644 index 60be4e57befa..000000000000 --- a/dev-python/shiboken6/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="proxy"> - <email>nowa@gentoo.org</email> - <name>Nowa Ammerlaan</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>waebbl-gentoo@posteo.net</email> - <name>Bernd Waibel</name> - </maintainer> - <use> - <flag name="docstrings">Expose documentation as Python docstrings (recommended)</flag> - <flag name="numpy">Implicitly convert passed NumPy arrays to Qt lists</flag> - <flag name="vulkan">Generate "QSurface::VulkanSurface" bindings</flag> - </use> - <upstream> - <remote-id type="pypi">shiboken6</remote-id> - <remote-id type="github">qtproject/pyside-pyside-setup</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild b/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild deleted file mode 100644 index a59c49db6819..000000000000 --- a/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Split the "/usr/bin/shiboken6" binding generator from the -# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former -# requires everything (including Clang) at runtime; the latter only requires -# Qt and Python at runtime. Note that "pip" separates these two as well. See: -# https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding -# Once split, the PySide6 ebuild should be revised to require -# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime. -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..13} ) -LLVM_COMPAT=( {16..18} ) - -inherit cmake llvm-r1 python-r1 - -MY_PN=pyside-pyside-setup -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python binding generator for C++ libraries" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://github.com/qtproject/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}/sources/shiboken6" - -# The "sources/shiboken6/libshiboken" directory is triple-licensed under the -# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 -# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be -# arbitrarily relicensed. (TODO) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" -SLOT="6/${PV}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="+docstrings numpy test vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -# Since Clang is required at both build- and runtime, BDEPEND is omitted here. -RDEPEND="${PYTHON_DEPS} - =dev-qt/qtbase-${QT_PV} - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - docstrings? ( - >=dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) - !dev-python/shiboken6:0 -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -DOCS=( AUTHORS ) - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" -) - -src_prepare() { - # TODO: File upstream issue requesting a sane way to disable NumPy support. - if ! use numpy; then - sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ - libshiboken/CMakeLists.txt || die - fi - - # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - if use vulkan; then - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - ApiExtractor/clangparser/compilersupport.cpp || die - fi - - # Shiboken6 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide6 does *NOT* care whether the end user has done so or not, as - # PySide6 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -e \ - 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ - -i ApiExtractor/clangparser/compilersupport.cpp || die - - cmake_src_prepare -} - -src_configure() { - # Minimal tests for now, 2 failing with the extended version - # FIXME Subscripted generics cannot be used with class and instance checks - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DDISABLE_DOCSTRINGS=$(usex !docstrings) - ) - - shiboken6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DUSE_PYTHON_VERSION="${EPYTHON#python}" - -DFORCE_LIMITED_API=OFF - ) - # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" - cmake_src_configure - } - python_foreach_impl shiboken6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - python_foreach_impl cmake_src_test -} - -src_install() { - shiboken6_install() { - cmake_src_install - python_optimize - - # Uniquify the "shiboken6" executable for the current Python target, - # preserving an unversioned "shiboken6" file arbitrarily associated - # with the last Python target. - cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die - - # Uniquify the Shiboken6 pkgconfig file for the current Python target, - # preserving an unversioned "shiboken6.pc" file arbitrarily associated - # with the last Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl shiboken6_install - - # CMakeLists.txt installs a "Shiboken6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., PySide6) to target one "libshiboken6-*.so" - # library and one "shiboken6" executable linked to one Python interpreter. - # See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i \ - -e 's~shiboken6-python[[:digit:]]\+\.[[:digit:]]\+~shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - -e 's~/bin/shiboken6~/bin/shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/Shiboken6/Shiboken6Targets-${CMAKE_BUILD_TYPE,,}.cmake || die - - # Remove the broken "shiboken_tool.py" script. By inspection, this script - # reduces to a noop. Moreover, this script raises the following exception: - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' - rm "${ED}"/usr/bin/shiboken_tool.py || die -} diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index b61c9eaf49c1..dee31495a28d 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,5 +1,5 @@ DIST sip-6.10.0.gh.tar.gz 2448793 BLAKE2B bbd88954884c83d489e86b6ffc0098dc0d5266bd06e31e4289464a0455d489fa260373e730ede45873834df8bc09b7ab7a6c411c8b82971aa4f3c9640849941b SHA512 b30a70c7cd62708f552b542e86449e35ae0b79f41ed2420c6c275fb5ccba605590bb3ee511e67c52c657361df0406ad0787f3bbb1c0c79d62f25bf916a0a0cee DIST sip-6.9.1.gh.tar.gz 517896 BLAKE2B 1ed8eb2e3cdf4eca76aed82bafbfb6ed60163cc58aff7a709cff29c2b370c68d5dcfce8db04768b9133fba58a24734bbc32b7c5a004ab84a73661db690976228 SHA512 670b1afcf7c6337f48d53cea86c535f24932393d68ee1654c754bfa3481f2f736f1dc935f39f501650e210112034b0fdb8c8ec46627066d9af3be0c599e8a093 -EBUILD sip-6.10.0.ebuild 855 BLAKE2B 12fb1beb0b03b9d70abe876101a1433f946f22d3aadc11f29a653c9c5922da84df9c8756c080c28467221df3ce7bcdf029e4f94b70507bd66ea998f130e17a63 SHA512 49f6e802279c0e116670b0154687ce2ceded2577b08a5c479cfe40edf406f88ee97985a2b5ab4360f6bf5d43dd1930fd77aafa5029617ee2a5dd13eb2e6f78d0 +EBUILD sip-6.10.0.ebuild 851 BLAKE2B 4e005055524eab3442194d014680d07b3c1a413a74a39309e0ecee57f647233068e7c75a1e608cdef8ca65b1d0f02499f1f32a08b141afbcab29a716c704e242 SHA512 9368a9d38c6b305f778961d8cb7fcec2e38d84ee6616ef6f403be9b4e6a7a0277099742972b335b04ec56b2bd036269b6d327a1f854f580900cc5748eaaa41fb EBUILD sip-6.9.1.ebuild 849 BLAKE2B 985e254c4f7e7810541b7d792f378c855ce4433418e4f874eaabce3116f865cff5dcd6f2c2a40b58753aa11c8723004391a39dc85ded39f70e70bd7abf42429d SHA512 b6b2d4dc861857525a41029841fe15ef43c6097e5710ea5cfe411ead400d286a34af3053f1758b0790542f8d88a494ba304f3c716086dfe0552d182b978b4f1e MISC metadata.xml 524 BLAKE2B 57657d01dc5be425f66f1136356fa028a32ad6a2ca79cadf4b9ed6a940b414b0e3efa161895d1858ab3d4977241883f9dfefbe37a8cbaad10589d57f598856a1 SHA512 82208b61b297d8c2110ea47a82c046118afd9332c52fa6590f7ed11b4e70af8b75f087b006fa5ed9058dbd2f98f02104559e085f781f2fc887396b7ff9d1b859 diff --git a/dev-python/sip/sip-6.10.0.ebuild b/dev-python/sip/sip-6.10.0.ebuild index b92e6e558699..8e35e49da09e 100644 --- a/dev-python/sip/sip-6.10.0.ebuild +++ b/dev-python/sip/sip-6.10.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD-2 BSD" SLOT="5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest index 25911fdd1ff7..bdc5b3058796 100644 --- a/dev-python/stevedore/Manifest +++ b/dev-python/stevedore/Manifest @@ -1,3 +1,5 @@ DIST stevedore-5.4.0.tar.gz 513899 BLAKE2B 6fda4d24f51ef9dd25db8adf28832ff30308415feaac0416c4fa93d3cdc185ed99ee82b8d6f93c8fbf4ef747827dff4f95494dccd4c89bc926727a1964380570 SHA512 b377f79c3d467fc910b6a85bb1788f85982f6e0df561b5187ac06652301ca357d274048e1538b0d641d1159c1de973edfa2146561946a965ac86015a88b7cce0 +DIST stevedore-5.4.1.tar.gz 513858 BLAKE2B 9aa55e0234a7a472432cfbdca7bbe235eca2e16b54b2b07401a8f0ffe441806b0c6677cc0d198c2dd76579c620b016c7f414e6adb3662453e1dc9c38f052be1b SHA512 cd2f23b7c4b48eb82b4a389a49d890d4cdeee9383f3a633a8c9f7e5c1edacbcb522af72240807dff204ecd2df1ee34cb3f5633d373b0ae95ed5e9fa0f3a7684d EBUILD stevedore-5.4.0.ebuild 1101 BLAKE2B 49622dc2355a17f22046a430ead31ffc20f6de5b37375678f34677c22aaa4234f2764cb0fc2d01656e2127f915f828146caaa9bdd64ee90260481f5ce191aea4 SHA512 ca7d356a63daf674ff94a10b4c5d6cc184b5251c2ff3b44f406687f09111d4594b2ee1142fa24c6f1ffb0e112b4bdfce818e73631195c676f644c375708a8e4b +EBUILD stevedore-5.4.1.ebuild 1327 BLAKE2B 36104851fa1582f7649e3638ac87415389faf10ed21ec5e4fcd27dee8ec0d2da1b496e99e33f1d65adf2c57f37acd7ede4660cd8297981cfd1d2955f94234991 SHA512 d9c070fb4660c84d4b09e888b669f2528d7d17661aeed043b0565e78c38799e45042ca6a9ed57d4c1e16a3c9389ac79dc442f509d500544772622787212036fd MISC metadata.xml 522 BLAKE2B 3ed51cb439d8350ff3df20a20a803c14bb11c9e0e5b15bd661f5780513f88a38f8a4d80703f6a7764488aa721f0fbbbf9a25d4fccb0f9916423198daa539bb69 SHA512 d08e11153dbb878de8f93d7a8293ddf2469adad8a2c436ef652f5c7cda7696a91f914260b841b3e64b3aab37d70dc76b1c369a08b9ef4bbd4f7c33c6a0ece690 diff --git a/dev-python/stevedore/stevedore-5.4.1.ebuild b/dev-python/stevedore/stevedore-5.4.1.ebuild new file mode 100644 index 000000000000..b48c9999045d --- /dev/null +++ b/dev-python/stevedore/stevedore-5.4.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE=" + https://opendev.org/openstack/stevedore/ + https://github.com/openstack/stevedore/ + https://pypi.org/project/stevedore/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx 'doc/source' \ + '>=dev-python/openstackdocstheme-1.18.1' \ + '>=dev-python/reno-2.5.0' \ + '>=dev-python/sphinx-2.0.0' + +python_prepare_all() { + # Delete spurious data in requirements.txt + sed -e '/^pbr/d' -i requirements.txt || die + + # Also known problem, inside venv + sed -i -e 's:test_disable_caching_file:_&:' \ + stevedore/tests/test_cache.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_IGNORE=() + if ! has_version "dev-python/sphinx[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + stevedore/tests/test_sphinxext.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index a55a5b00dead..a0ef4addbb1c 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,5 +1,7 @@ DIST translate-3.14.7.gh.tar.gz 1176117 BLAKE2B 4237e99c92b1e0e207e4618039061ff33170d1e152d224b2455514f7a30a7248566304e8550bb3f8a7412daf26f50c855541c3d0674d4f9e032e65d9d5e12eec SHA512 e0b505a0d5cd520a83560e08aa414a3b3d95b4c7af96a7dd3cd5a7e28ff827918e12cbefa36212b018a1ab7c2c345d6fb66e94d5d09f80eaa6bcaf330c5927e8 DIST translate-3.14.8.gh.tar.gz 1177211 BLAKE2B 70e57918899f77057f4f42af2e9aab0df180b788b4f8e22a081cc607d8ee2e34264ba0715e23ede85ffb8882c579b3d6c61cd247756cbdbb54fd8a92f44a838d SHA512 5ff3f56e44f171f2c6bc1c3bf82787cc7f024615fb0d1371a11e8135a2908150ec515b40beaf3a3deeaeefa6c4ea2345ce4766ebe9b3d188d5cabfd762b9ed30 +DIST translate-3.15.0.gh.tar.gz 1174826 BLAKE2B 56168081bd67e101f734c55642cbcfe017a1773483a8fbc3d57b51a8494f5069bd3c735a90b935e53cdc1997eaf040161f38c19ba461941733b34084811ee3c4 SHA512 1dbfaa1bf85c74cf5121daa71087e87fd8f642af1883c7d0a7f502bd1d8a29d9dd4b7d8a096cbd9e2fbc038907c0c2c6b417fcf7eed1a31e5fb5ad45af62c6f7 EBUILD translate-toolkit-3.14.7.ebuild 3179 BLAKE2B 7823612c89199b9c055e1d8bad2ec83f38196a9a8ec67a24f638a55b0bb5e0207b61f889c13fdae41634ff50c8e4f9994fc330aa2d9b0014b60f72e4f4970fe8 SHA512 b0e3a3795b4190b62c0ad2a73f399331ff3371e05eb820ada00b3f87efd8488a31c7dcdb3fe955be9ebd5840bfc5c7e6b41c7a5fada20b9698aa94874c60f08a EBUILD translate-toolkit-3.14.8.ebuild 3182 BLAKE2B 132ece55534f73a3628579ccbdaf1b49ba1a59f3d84b5e015c2b0f277c005db79fe3009f568dc78b6b184ed4dcc0bd6f4be5a1ee62c75d3eff424d446d81a88a SHA512 75e13d61a98635ad89257c8979403298df7fc33df50f2bfc598b8db07e39648fa4120c08e4bf881bc79538d042d876d80411d10feaa2981e6a193cd63b450b56 +EBUILD translate-toolkit-3.15.0.ebuild 3182 BLAKE2B 132ece55534f73a3628579ccbdaf1b49ba1a59f3d84b5e015c2b0f277c005db79fe3009f568dc78b6b184ed4dcc0bd6f4be5a1ee62c75d3eff424d446d81a88a SHA512 75e13d61a98635ad89257c8979403298df7fc33df50f2bfc598b8db07e39648fa4120c08e4bf881bc79538d042d876d80411d10feaa2981e6a193cd63b450b56 MISC metadata.xml 756 BLAKE2B 06f64f258d362954f99f7e9eee241eb3dddc6b00b9069df2ad977d28b5cf06f9c8ee2246ee5958600b5ac86297968d7aaced6b6420dca4ed507c441c58c61ca9 SHA512 80374c40513ca450f97e3930929c1450e7438ea15830e60937952a6fccfd999675f2ca2056c5aa4e287ba256c6ec08a09d8f7adb8b2c5af8ca0cd595f34acd85 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.15.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.15.0.ebuild new file mode 100644 index 000000000000..9af4d0313f20 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.15.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + >=dev-python/cwcwidth-0.1.9[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index c462294161b2..a008be0a9743 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -2,8 +2,10 @@ DIST trimesh-4.5.3.gh.tar.gz 13618342 BLAKE2B 1bb74c872a09d928b9ccd4b098377f584e DIST trimesh-4.6.0.gh.tar.gz 13621454 BLAKE2B 520d7be8479c3490dc5125c75ae91887ab499a7af82a7b4ef1568d2ff89ec78f40d2a06f4ad2f7176e9233ca1d6bf209cb64225f44642f93ec0fea4a317e9cb9 SHA512 afb430a939cba17b36d07c6b6eb1acae6aafc388ac636b76dacb8053069f929a60f0d4be56f706786d3853123f3fb361a4550c9cabdbf46aa7d07c7eea956d64 DIST trimesh-4.6.1.gh.tar.gz 13621428 BLAKE2B 2fc457ff32cfb69c93f0640c0f1a08cf801008c3804485dba1cdff8496cf4f5583223fe6c0b1099d3e75527f5ef5df2c8cbadce7cacecb878988c7d973d66bf8 SHA512 1adebab15a08324e4e6585aa2a1cd788439176c4c938a6507bb17eff1bafbb81d86f9be1fb7d7fc2274496b22ff94a47ebae050fc6c8a811cdebb7f68c008653 DIST trimesh-4.6.2.gh.tar.gz 13621607 BLAKE2B 796f06f9bd43779a6a7a9dea97ec6c62714a4dd1a9151afd37f638d715097b60c47f59f7b253cef355219359279c89f6d70b8e50b62c4746aedae77545cc0b13 SHA512 450d07e19af342f5676a33dd6594c360d6761eb19310c60c9c89bce0eaa0dc032c2a3c1503883baa9889d0c1e53a6738af0655df3ebe95bd7e62c2f9615921bf +DIST trimesh-4.6.3.gh.tar.gz 13622877 BLAKE2B 156424ebfe41fee80fc67ed099e17e72c83d86912056b6ec0ac0fba336109eede793dd998e4133d3df3903f7426f6b5fb05db7a4ed9cde554a9e57c3e300984c SHA512 b5e614e8846b9534af545aa1d8e9ba5f5c694e0c86ef46a7f40fcd186cc6d36a52d3fcae8313b021a38a74eacc21e41189f6dbfce7397a2d5abd94b7b5ec8c3a EBUILD trimesh-4.5.3.ebuild 2137 BLAKE2B 2ce922359cdb4fbba7e4c40c14742d30dcdaacb0b47ff2b6e4c169923ed25053f43263457fea7eb3bc98b5e9ba34672851933f7081f88961e19f4731598d6a63 SHA512 2f4a9dc06e4112786d55aa7ba015a318b6bbb782692760ad4799ccb62933abc2f869862ecb9dda5b0e32d34e31989f48a664136287f84fe931839fafac1c9b8e EBUILD trimesh-4.6.0.ebuild 2215 BLAKE2B 43322afa9917be896dce188e93431377514c6277fafddf601deedd645d7d867e412c189ddae9959ad77167de6cfd4b24d04e6a3a36135938691ed0ec8050ff15 SHA512 44a6739624691574771c722a5dcd128bb88980eb50054a3b6b3bb001cbceb0dcb46ab1b615411c3e3802df6513cbd085cfd1994ccdfca64e38d7c174c0e772ca EBUILD trimesh-4.6.1.ebuild 2215 BLAKE2B 43322afa9917be896dce188e93431377514c6277fafddf601deedd645d7d867e412c189ddae9959ad77167de6cfd4b24d04e6a3a36135938691ed0ec8050ff15 SHA512 44a6739624691574771c722a5dcd128bb88980eb50054a3b6b3bb001cbceb0dcb46ab1b615411c3e3802df6513cbd085cfd1994ccdfca64e38d7c174c0e772ca EBUILD trimesh-4.6.2.ebuild 2226 BLAKE2B 7e6d1ba1be19ff2487c6ff852dcd1bd564c9c08f57c9597a9de8ba0531a3274da1c760e7c94d5558c3cba451ea8827a11369f0a6f9e2d983eb31a05cc1f610b3 SHA512 5892d4adda07b8a21db84de49fc4bdda9a8ba4c073addaf2bf46066c5c5aca08a88cc9d14fce7e15aa32ff70015d8f038dd7bd6cb4cc047563194001bdd26a9f +EBUILD trimesh-4.6.3.ebuild 2185 BLAKE2B c604e438cc9ca47cc4c088c0126afe1f2736d399ca99ade28970f44951168d71ace351d9bc19016d94a04e79e6692c0ac951f5587a64621db414fa6176393fdd SHA512 7f1c51e048fdbbee8173cee7d66c2f0acc87687592d0343430b11901c8f6e18c0091090dd6a0f59b1375f46e95c4ee06ed3dd92bdbe0052fc8038feee86431c0 MISC metadata.xml 389 BLAKE2B 6dcc92dfafdedb5cc7fe5f40977594114bbf1628d8179d7222c3b60c4a591e236c7a937530006beb9649a8a84636bcb1923d8ad6a377994295f85b1fe8eb8bbd SHA512 a96f4fb6a1c2bd820f2dd072230fa160536834e1ef19483c372571df2d082cb5a63434181af9107022b75e1019d369d6bece8262eb752cedf24a5038e15ea473 diff --git a/dev-python/trimesh/trimesh-4.6.3.ebuild b/dev-python/trimesh/trimesh-4.6.3.ebuild new file mode 100644 index 000000000000..252b04a9f06e --- /dev/null +++ b/dev-python/trimesh/trimesh-4.6.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimesh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/charset-normalizer[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + >=dev-python/numpy-1.20[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + dev-python/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mapbox-earcut[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=1800 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires manifold3d + tests/test_boolean.py::test_multiple_difference + # timing nonsense + tests/test_bounds.py::BoundsTest::test_obb_mesh_large + ) + local EPYTEST_IGNORE=( + # require pyinstrument + tests/test_sweep.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox-earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" dev-python/scikit-image +} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 8f0bf388e2b4..8e57bc44d45a 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1,3 +1,5 @@ DIST weasyprint-64.0.tar.gz 498075 BLAKE2B 572bac1f70476d63f8f40e3ace90e534bbe69c5a071bbe1e9de7bb8d1c5b06b150d9e7ad7261e74d0c6aeb740b9889608e22bf71b7e01e0d313a1dc546b58fe8 SHA512 46e65777804d53174bb3020b1418d19c0bf815667d020c40fb7de567439272df65d74ab941fdb37edc7f1d4f06430d3ebaa65f8ce13c887235e39c51cefb3930 +DIST weasyprint-64.1.tar.gz 498647 BLAKE2B cc8f6f3a25ea92839dc8dabd10a680d1c14aaf72db48ac264c8d3ea80acabd6ead6c220e6fef06177ca46546361648a964d62a75f38af45ce9c6de961ad409d3 SHA512 35f66b56f2f0c6f5f9d48c7fd1ff5c8dd87481c9172856e17c53455b973484711134b9ab3fe9239831d334ff62c69e5e8b810cd982b771a4b3579ba0175fd6d2 EBUILD weasyprint-64.0.ebuild 1054 BLAKE2B 0f13f2bf3f8399d106b4215581c8c39f9c2c64b6ed1534c1d6859083f098da6af89b54ac50967664a0c14fab895d4edaa9cfa9c819278e7fb8fdefd54b92a39f SHA512 bff69e061eb270a4fcadfd53dd7610a0e38f7ae57b4227f5def0dd9df1d526531309a09312cbf491da77e04dd5ac008b59c63342ec3e375e3d4ba8508e885b13 +EBUILD weasyprint-64.1.ebuild 1055 BLAKE2B ca8289b15255682b429bd7966e6df10f3e1e4d665d12e9676c00d4ee0789358bc2eee399a0c5122fe7daa35d67969cb343b6d139702bc4f3fe5b60719bec8a3c SHA512 d0cf55032ff827bd628b52878bf04d1a32b9521c5091678ae41b25059d047ff86e70aae421dde9d0fb94ed3f3b6808f64c4a4c41c0a76dc415c91622326b9720 MISC metadata.xml 382 BLAKE2B 3e5d142b055354e1ea440d9efd4bf92458b1da3f777dd90929ce2041ca6e0969fa6e58aacfb4a5a93ff90805e0d8ec4c9c6253559ca54698f5029639ce35ac8a SHA512 43415064a6f56eaca974031e51d63118d1c65b33e4399302fc72cc2cd6f15e0a47cf411b18d3c5136e866115855deb19b6a9e058a18049151959ce5ee29ececf diff --git a/dev-python/weasyprint/weasyprint-64.1.ebuild b/dev-python/weasyprint/weasyprint-64.1.ebuild new file mode 100644 index 000000000000..d62e3bc92379 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-64.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest index f524587771b4..717d5a5acc31 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/zstandard/Manifest @@ -1,3 +1,3 @@ DIST python-zstandard-0.23.0.gh.tar.gz 732448 BLAKE2B 920b53dc4a221059411062229ddf0ff51c478c2212e5599dec21298fef8e30b7a160c2f7d958ef95251ce5fb1357eaf4a8c3e4eca37304ef7a43176f723f3394 SHA512 06d799f8c5e89e5cc2f5b8ff100aeb3c3ff938757ce39852affb075487f65406d7d3f6d611b1864ec025fff86a51bf15b80c8af6260beda050b4fef5b7edd206 -EBUILD zstandard-0.23.0.ebuild 1817 BLAKE2B 725d43852c8e6603a185bc936f2d61e0651222365bd1751589db2fe1df19c2d8059d69ceb43e2337a067126f5f4d3c0d045e5f223a5ffcaab634411d0b72ac75 SHA512 bef4d61b0960514aefbb55aa1b96027c42f999f035d8db28d3ac613eb39da9041eecb91a966d8ba17fd532ea9c9965a4b8011142ce047c10e1decab6ede07cf9 +EBUILD zstandard-0.23.0-r1.ebuild 1895 BLAKE2B b902b5ef065c4232d2ebc8fa3714b42ef6b136051f0086907043f68087bd28586aeac36e69158fbfb4102c56a8f1daf9f00b525fc4bbc13133c38810e9223317 SHA512 ecda9eb4ca319f254559c2b40b1cb79a05e7ac847d4ef7528c779c1750cbc3ce48063e779a0cff47fb50bfa538800caa8dadbe5b382eee1cb3ae56990f13a53e MISC metadata.xml 378 BLAKE2B dd5834c84bb375812b3a3cfcc00d29aa43ac8954b044e188e8f38bdca93fdf1ce98fe78b78dbeccd935c83ca10f3ce18f893e5720dd8991118b6c69149a4ac61 SHA512 06554d973b525d53c680c3e43041f33125dad222339e645294fbc22670a7eadb0e9bf8a3b0771d2b2fb8f136d958eadb32c295179d1547c50ae26754360609f3 diff --git a/dev-python/zstandard/zstandard-0.23.0.ebuild b/dev-python/zstandard/zstandard-0.23.0-r1.ebuild index fee208076d07..ea508a41132d 100644 --- a/dev-python/zstandard/zstandard-0.23.0.ebuild +++ b/dev-python/zstandard/zstandard-0.23.0-r1.ebuild @@ -25,8 +25,9 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +# TODO: figure out why zstd-1.5.7 breaks their hacky awful CFFI thingy DEPEND=" - app-arch/zstd:= + <app-arch/zstd-1.5.7:= " RDEPEND=" ${DEPEND} |