diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-04 00:10:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-04 00:10:24 +0000 |
commit | 908e97e3e242743e9484f67c6f131955e6d0dadd (patch) | |
tree | 6983d82a1b66d15e489adac190f16fd663c2ec77 /dev-python | |
parent | 44f7bdd4803ecacf7943d21fdf2531eb2ea9aeff (diff) |
Diffstat (limited to 'dev-python')
42 files changed, 1010 insertions, 90 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 55d4501c3db1..2dbb12a2c032 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/beautifulsoup4/Manifest b/dev-python/beautifulsoup4/Manifest index 58b544cbd8e5..74774c7b68b1 100644 --- a/dev-python/beautifulsoup4/Manifest +++ b/dev-python/beautifulsoup4/Manifest @@ -1,3 +1,5 @@ DIST beautifulsoup4-4.12.3.tar.gz 581181 BLAKE2B dac85b2d56ad1d2faf040def2141cb7a7ca68def7fc48fab18e11c23878795fcecfdd43058e70229e014e23e67f56a55160aa4ba08bab4b3d955bd10a07c8168 SHA512 b5b6cc9f64a97fa52b9a2ee1265aa215db476e705d3d79e49301de7e8d36c56c96924cb440eec0715f7ec75c5ddf4c1ade9d6cef7cdc9bf9e37125ac6eb50837 +DIST beautifulsoup4-4.13.1.tar.gz 618295 BLAKE2B 4573920d2eeb53e0b4ae2ff9f0f7152a9209fbe79c1bf5ca894289759f5802a550a965016e16f731990e0be1a0dc343593a40720f18219ca1b834a7e49ffe91c SHA512 f661966c9c4a1e0ea3141b8c926ad9ffa010fb2ae48e2715c57812fca09d8a5434128f289a5bbc7a277ffc0b7925c7bc7c6c59c52e3126a926b06e74cc091a09 EBUILD beautifulsoup4-4.12.3.ebuild 1028 BLAKE2B d4d2262ab8edf41437ce0e7d5245c8543e0f2f4cd79f468c7c51cbf07936b2c6242ef7b6e44477435b1f9486657e5334b10ea4c41674345afda030f0753d0ed8 SHA512 102e4c2273b6780bc7514e6ec5afdfae16541f4b00a6528043464189f6dbab2242de9f849fbb5838c57ee9dfdaa8bbf6f051610b48614b9a79f8fc9ebafe8cd4 +EBUILD beautifulsoup4-4.13.1.ebuild 1126 BLAKE2B 7e9f53035de7d4ddd4e6ff04005cfd6aea3033348ef9115dce8ffdb3f3758656e58c7bccfdb35822d30b8c717c637487af9bac0a93092134eefe44f72a936776 SHA512 2fa504f56c05196472e45751c99f70dd4186119fe89934ea055489bcd4d1dbdadc5b3d0099bdfc434f50f0c87012814ffe2f8478e8b6c8e578f4215906eabd82 MISC metadata.xml 745 BLAKE2B 16e44221decda568bcfd7fc64384f3c10d6150801bd099fbee3abb0273fa53bc83494cd9a56d43b125e9b2d773f9e1dcd35820bcc26a28048beea287a9fc3e23 SHA512 b332203a23fbeef550ce75c70afcf6eb9decf4e3e0409899d556e4e12449608100e1e6af81f163a879937bea2726195524559aa1151f917cc9facdf2bde559e0 diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.13.1.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.13.1.ebuild new file mode 100644 index 000000000000..dc5f09a5c8a7 --- /dev/null +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.13.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE=" + https://www.crummy.com/software/BeautifulSoup/bs4/ + https://pypi.org/project/beautifulsoup4/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/soupsieve-2.6[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/faust-cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc diff --git a/dev-python/boltons/Manifest b/dev-python/boltons/Manifest index 76f3c461d39e..247ef8eb302c 100644 --- a/dev-python/boltons/Manifest +++ b/dev-python/boltons/Manifest @@ -1,3 +1,5 @@ DIST boltons-24.1.0.tar.gz 240916 BLAKE2B 65f3b3e3c495bcd168badd776e0e04da2339c52fddbaa4ba4ccce6ddc1f6143ab224fa6d89cc4f9a5632fcf91b2e7beac31f92e9587004282b24e177670e9bef SHA512 9f61fb9c9e0a56abc75c61c56bc47ac8ab219d0abd14f700ca609b61f25df392c1b5be3a2bfecd1a2b2c73a50e407c6f90f0460341dfa23d8dfdf8ad530974af +DIST boltons-25.0.0.tar.gz 246294 BLAKE2B 10b2e19188e287d9ed8071b30300456d48883dfa39e3673c0a11381d653f222c8ae1c66f68db80017ae42df55ba9ee77678c36e6b8ab4b608071ae46b2a5aa37 SHA512 4a1c9a511d5628c21c0416f289260f0dcbf4ebc38338d8dbf2d9a7ee8031b5d69c74ca6f5bc0a97fee1773a6e86fdb470af9b643f0c0b89db23987fe842dff4f EBUILD boltons-24.1.0.ebuild 956 BLAKE2B 1e0b371ae2fe9ae553c921036a138b87ed17b9de2bce2730f2443776a60410715b273b12d012c3acd37f274c021f70458e84acbd18ca9cdd3c75067b08732c31 SHA512 9a9e748220b328e2eb7e27edc36746d58de95608eb30fcf15dfe3695b53b99d5c4e3342d3c944fb89271cc24fbdcd4b74628227b0aa8bc97e4c7866e2adb59f9 +EBUILD boltons-25.0.0.ebuild 644 BLAKE2B da282ec12a0a1e472390408a16d7264acecaa1ce2a0b80343ede931fd275edcf109e825e94d8ec2f73837952d52b671448814ea38af1118b6cd1f2a1708cff2e SHA512 554212b4fed226f396f99254b6fc257a144dbc7fc4709f82ab4f829ac5ff9b7a3a0daae7b427a13ef8573e4c6e5a838dc207e73e2a8fdd1d189e60e9ca063487 MISC metadata.xml 395 BLAKE2B 6ed304f1dced75dfd795b9fe582ec669bf1c8ba5fefeb9e753b11aa20de8fc0966fc9a8a0ed40e460dd23a67ef0e5721a8dae27b3d799a4be629537bb18f54c9 SHA512 fb73041a95df230153dc686e21a88d91bb06367ae8c22a20777c4a0f13202cbaf59396f4ed2630265d331d6461a6da85f57ba62cc432c4d9105b8404753b383b diff --git a/dev-python/boltons/boltons-25.0.0.ebuild b/dev-python/boltons/boltons-25.0.0.ebuild new file mode 100644 index 000000000000..6e2bdbd86293 --- /dev/null +++ b/dev-python/boltons/boltons-25.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="Pure-python utilities in the same spirit as the standard library" +HOMEPAGE="https://boltons.readthedocs.io/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +DOCS=( CHANGELOG.md README.md TODO.rst ) + +src_test() { + # tests break with pytest-qt, django, and likely more + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + distutils-r1_src_test +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index ad72a50961a9..6dec04cf48af 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,8 +2,10 @@ DIST hypothesis-6.123.17.gh.tar.gz 9508250 BLAKE2B 494c41299a646856050889e2093da DIST hypothesis-6.124.3.gh.tar.gz 9510786 BLAKE2B d4104ce7cbe009ce1e0d2d6fa04db8d5dda2db08f8dcdaea90d4a111cbcf71db53214a5b06a69ca40715a0999970e45293aad754dcfbd06c1a6e4e04700aee83 SHA512 898567b6e32b619892292c07e95ca57f671e9fcc6925dd560285147491fba72df5fe5c41a3642d3910961ef569cbce8790ea1100359e674f08f5b24522073184 DIST hypothesis-6.124.7.gh.tar.gz 9507487 BLAKE2B d0160dedfd78443724a7388020fa093ba95e8621403f4fa69f04c324a5be8d49b51c3cae4cca488a86046818b6762a3f9703b1963186ae82daed2c8cdf0f8f70 SHA512 c9c699d830082ccfb056c42817592ad3736b3e1c2294bed889d9e581dc8d4b093a86a949b24e3fa842941daf18933c55c6a479cd6768c30cde0cecb94777a620 DIST hypothesis-6.124.9.gh.tar.gz 9507981 BLAKE2B 469448e2c97b0a798293d53d2ae1ea328c61c94245245b989a33a3520a903dbb6a4a468192dc7837dfe75bde5d9a010ffb7d4b8f16c7c8462bab8da4f183f310 SHA512 0c0f48a88a748d4bf1fc0763b4e464166536d4d16461f06a2090a2f5f54464730fff8eb7892ff60584c2135853aab7a56253db83dfd90a8e679fa3f37d4fb6a9 +DIST hypothesis-6.125.0.gh.tar.gz 9508026 BLAKE2B 1c1816de7cc2be2ac541671ce8a8172b9c75e2fcd79eb219888f5815ff84b2438088c7f63921fffb58a3c0c7db8b1f31437a0de7b4c12ef6947787608cde4ff0 SHA512 8eb92e945772b48d9ae2ed67d4a1f17b63222e2aa7755e0e3e2f9a93d5610ade79e5f13b1e9a50d72f21f3f1142ee2f05eb1fa13b9dfd94c51211a9c90308433 EBUILD hypothesis-6.123.17.ebuild 2622 BLAKE2B df55cc343dec022a974b612e246553b8e99f95b445de919b38ff05839c0211e82703de7e52c2b86c348a34e740ab922edec47a04d66e8709ef31d6442daa937f SHA512 3e4c5188f836adac8679af690b621753b8f6f0e98f85837a26697b7d540598307c4e675044a557ec07240d6b46cb3f23791e77682bebf27d1a3a83f0b21590ab EBUILD hypothesis-6.124.3.ebuild 2630 BLAKE2B 8b1352e3d2404bb112fb09c368d7df301ca18bdaa4d74a9f8afc624f1975bd8ab89720f08cfdc04e5cbf1123184aca86903821202d8515b40177b247e365053f SHA512 bb6f24f5ec5694c53856521aff3dada20f263a2d57ce899c227ab250d7f7983493130d8d8ed75300d5f4ef1160103e3e35172febc4c885e6c5a42254eeb79987 EBUILD hypothesis-6.124.7.ebuild 2630 BLAKE2B 8b1352e3d2404bb112fb09c368d7df301ca18bdaa4d74a9f8afc624f1975bd8ab89720f08cfdc04e5cbf1123184aca86903821202d8515b40177b247e365053f SHA512 bb6f24f5ec5694c53856521aff3dada20f263a2d57ce899c227ab250d7f7983493130d8d8ed75300d5f4ef1160103e3e35172febc4c885e6c5a42254eeb79987 EBUILD hypothesis-6.124.9.ebuild 2630 BLAKE2B 8b1352e3d2404bb112fb09c368d7df301ca18bdaa4d74a9f8afc624f1975bd8ab89720f08cfdc04e5cbf1123184aca86903821202d8515b40177b247e365053f SHA512 bb6f24f5ec5694c53856521aff3dada20f263a2d57ce899c227ab250d7f7983493130d8d8ed75300d5f4ef1160103e3e35172febc4c885e6c5a42254eeb79987 +EBUILD hypothesis-6.125.0.ebuild 2630 BLAKE2B 8b1352e3d2404bb112fb09c368d7df301ca18bdaa4d74a9f8afc624f1975bd8ab89720f08cfdc04e5cbf1123184aca86903821202d8515b40177b247e365053f SHA512 bb6f24f5ec5694c53856521aff3dada20f263a2d57ce899c227ab250d7f7983493130d8d8ed75300d5f4ef1160103e3e35172febc4c885e6c5a42254eeb79987 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.125.0.ebuild b/dev-python/hypothesis/hypothesis-6.125.0.ebuild new file mode 100644 index 000000000000..4486f30faf3d --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.125.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index a443a5e6131f..b8397b575270 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -6,7 +6,7 @@ DIST matplotlib-3.10.0.tar.gz 36686418 BLAKE2B b154d4d2512a7989d967e7e257ef148e5 DIST matplotlib-3.9.0.tar.gz 36069890 BLAKE2B 02ddb25901b5a93a8daf6f26c98b92d5e35abe2e98783b039928338abb1d628adbf3fd4786c08cb1610bf405cb558ca31fc12dbde77ec5f2a633143c7ea659a1 SHA512 135ee2f97c26cb60479cc10bf8a833384c393993d8a905ab869f4c73b91a50ffa596f84ce349af7f1a0b08a21e1906394cf6a702bb567a9c3999d40f54974326 DIST matplotlib-3.9.2.tar.gz 36088381 BLAKE2B c84d08b7afa1f0460b5b57447481ef90f22380c02d20227c3a45b6f603032a11359b223397f18c8dc9111ad36fbd7510e2d5496502b3202e3074ddf8e8258bb7 SHA512 4b7437eeb085915a90db64600d0e6c59501ea1513d07b8298a159a763461ef6947a0cb332dcde1a5f0996840320ca7dd1d972d7514ff6f87b036fc631e79885f DIST matplotlib-3.9.4.tar.gz 36106529 BLAKE2B f95791bce82bf62d922e3db7ebe8e34e5759896c26cf952e2c67e92d5c4e5e190c556ba3ff4d7160d60de3c90ed5e1dc4d7ca2866647ded6b96dd35e16d4e259 SHA512 adfa875cba0b030ee0efaf11ed1be881858dc13391c966a2d9485ae2358fccf0b5356e16966a0c9da9f682e4a9d2f3960551756aca30ddc048632346548b1447 -EBUILD matplotlib-3.10.0.ebuild 11073 BLAKE2B 62242e20eb4e61134009158606261862df306f6b9197145563349f12d9978d8c565738ff8f40883a9128430767f006c8c530390d4ac0f102ac9756ce22d047a8 SHA512 6e509f6004b36929763d6db5550aaaa9644b8893ecc3bbafffb8a26d9161b095f6c1f92b841d1146d97b34ac8b9ac0294077e39c27ccaddbea4da9a8f59d4d7e +EBUILD matplotlib-3.10.0.ebuild 11074 BLAKE2B eda45b09d6ffd56b9408b30b49d7598a8932e43d2879e2357c4025438c75ccb7c0e43f8697ae165473bfa8f36963d6f5e56c309cd6d576bf95657ef423b414e1 SHA512 a20fd939720a65c2991101469f0481765e0573063ce8e5182039be03e55f27cf5edf8419ee8b9ed94ddf19ddfa2d5fb1b43bcf6894c06930eae9d3ff4380a5e1 EBUILD matplotlib-3.9.0-r1.ebuild 9776 BLAKE2B 9f05ba95f89bb02c04d3338ca750b4b404a531e78c287208b7ecd9f04525adc23593c3b9f5e981d5e23357bf236d6487185cff354e7c80825d1342ff4720ec37 SHA512 120ae193b6b9b16dcd554cd818b52a80f529c6e72e7b67752707fc70407d6b7dc18908ab01ce81ee6d192063dd8bbd4165e17da76200310b74ff9df5ecced82e EBUILD matplotlib-3.9.2.ebuild 9808 BLAKE2B 852614b4db23c8eebbeece82fae15bd681a1cbe5ea637e2760fe399a87f0010d9c5c50524ee8f5dc3fccfd6de1f72ee5963798c6ec8ed6c2ddea27c37bb310ce SHA512 ff8dfb1e20bbd4b7fd2dffb880099c2e14b087229bd3fc7b1b0ca1c5108f72e52735f76808cc6408239e96d71c14801a534133ce60da61d25337eee09fdb255c EBUILD matplotlib-3.9.4.ebuild 9811 BLAKE2B 10a4c8972a6e8d60c11405b0a0a0f22050f520e0b142e261c824def7289fdeb30dd1e957fe92084b7224e4d72bfd67c68db7b6391301162b73c08d6853ed381d SHA512 5f46034244edecb756035e876e15e04ae9b017d46e1b1cdb0d41f79826246c643a1d71c35ee418c5eb457bfd54d7a2de7d19c994d2bc249b55b4fdaf71578c86 diff --git a/dev-python/matplotlib/matplotlib-3.10.0.ebuild b/dev-python/matplotlib/matplotlib-3.10.0.ebuild index 389bbe80a27d..5bcc2d1df943 100644 --- a/dev-python/matplotlib/matplotlib-3.10.0.ebuild +++ b/dev-python/matplotlib/matplotlib-3.10.0.ebuild @@ -78,7 +78,7 @@ RDEPEND=" $(python_gen_cond_dep ' || ( dev-python/pyqt6[gui,widgets,${PYTHON_USEDEP}] - dev-python/pyside6[gui,widgets,${PYTHON_USEDEP}] + dev-python/pyside:6[gui,widgets,${PYTHON_USEDEP}] ) ' 'python3*') ) diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index a33e64e1f08c..77d3e2e62661 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,7 +1,9 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 DIST moto-5.0.26.tar.gz 6442983 BLAKE2B 90fd0db1c2a5824d9aa65ff383812d98eb36452883472dafd679755cb506f1267f8f702222a6eb50e6ab02ee8bfe5e7b9439636c8da8943579ceb4c980b2c6f6 SHA512 04372b8bc958be915231906dadd891758ea7aca80246bd7724f2163e7f8bab406933d639f7d5819a2002e138d1b107add3b2fd8fc0d1dcf74c18ac76cd8b3600 DIST moto-5.0.27.tar.gz 6461751 BLAKE2B 92d0f884527c3ccee044120c4e4ec7b9d927b86a41bef505290d21c858b7be1f25ce0daea54fb4a5bc16e0c39a22c8c21372cc3280ca94e65402715df310226e SHA512 e8b45c2b0a02e381a45184fdead89086961c7fb029d71b828340aad5b1713f66d8421b836b6bf943833a331d13f81b976444e2875ae781951f6295aa4544e440 +DIST moto-5.0.28.tar.gz 6537950 BLAKE2B c9f81297d3336b28923f831afacf0b9be1b3e1f409384e049be710ead8e5d6354a4823089dcd4c2a7f0e453a14c6b3287b89b4a2597abb8984968423a6d53c62 SHA512 1c66279543324a726544e583d5091da7d47aec7dbbb4a2d565b6017e370cfd8c51d613fb56cb6d4279d4101426d88231fd6c70c59082e7b20acf4311278b41d2 EBUILD moto-4.2.14.ebuild 6507 BLAKE2B 4b1e22f10011ddf1b62996ad7d2efb5181843f958705ce1816f223bc3892f8515429f37c24403b03774c72f7d334a544e5688818e0e31f527b39c12979628ecc SHA512 ad9705a1f4c495c7fc9cec848d97a8f0f4d39d81848cb9c6d56788c083aabf120d4c89e8d59518fac93bcdee8561ce1fe8eff89eb277cb29921285899dd2ed97 EBUILD moto-5.0.26.ebuild 5237 BLAKE2B 8034705470843495c69e555a444615514c00248e29ed8c884889a83038ed6508f9d3d7fe9cb6a09849b5396304268dec24bf588871dfdaea3a6dda160412b0c8 SHA512 dcc68487edbe45460786f44f3e2fe5ff3856a4c487e94d47842ac1562a9a0c62518c904f757aa6fcd0e98b32f449ad11ef35a87c151c336819a0a7105192f441 EBUILD moto-5.0.27.ebuild 5240 BLAKE2B 1f3326ca93c5daed602bdfb9c5e00bbe6c10dd76f592ff7995075fc6cbff9fa222a7efa09f40a334e501e208e860d2c11fc059f0934bc474baaa05fc75916d44 SHA512 98c539dedaaaaac5d24ba0c8649c834e257318a8a01a4ac9315f25d86c3d0be56841a23800ada69b83ba807c0cab92913c64e42ee669900992f8652f2291c5b7 +EBUILD moto-5.0.28.ebuild 5240 BLAKE2B 1f3326ca93c5daed602bdfb9c5e00bbe6c10dd76f592ff7995075fc6cbff9fa222a7efa09f40a334e501e208e860d2c11fc059f0934bc474baaa05fc75916d44 SHA512 98c539dedaaaaac5d24ba0c8649c834e257318a8a01a4ac9315f25d86c3d0be56841a23800ada69b83ba807c0cab92913c64e42ee669900992f8652f2291c5b7 MISC metadata.xml 553 BLAKE2B 1669d17d3e655aa3fb41a489229a5fbfa6a9cfb23c667e98fbbef931992c7e9645581b9ea12011601093586cba491a5557d68e5256edb9f387c4db362346edf9 SHA512 48ae3bd9be8c3bfb68f7022d0e7bb422c2a06157967809be302067facf91db825023859d18ccea89109931538b0e93181d54a31fcc967628df61a9a3112edd3d diff --git a/dev-python/moto/moto-5.0.28.ebuild b/dev-python/moto/moto-5.0.28.ebuild new file mode 100644 index 000000000000..d3f815a7dd7c --- /dev/null +++ b/dev-python/moto/moto-5.0.28.ebuild @@ -0,0 +1,132 @@ +# 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 toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-35.0.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.10.1[${PYTHON_USEDEP}] + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.25.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +: "${EPYTEST_TIMEOUT:=180}" +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_core/test_request_passthrough.py + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + # broken code? (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + tests/test_cognitoidp/test_server.py::test_associate_software_token + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_stepfunctions/parser/test_stepfunctions_dynamodb_integration.py::test_zero_retry + # random crashes + tests/test_stepfunctions/parser/test_stepfunctions_sns_integration.py + tests/test_stepfunctions/parser/test_stepfunctions_sqs_integration.py + tests/test_stepfunctions/test_stepfunctions.py + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # suddenly started crashing, *shrug* + tests/test_xray/test_xray_client.py::test_xray_context_patched + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id_with_context_mgr + tests/test_xray/test_xray_client.py::test_xray_udp_emitter_patched + ) + ;; + esac + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + rm -rf moto || die + epytest -m 'not network and not requires_docker' \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/nanobind/Manifest b/dev-python/nanobind/Manifest index 698a771eeb0e..85c9db9ffaa0 100644 --- a/dev-python/nanobind/Manifest +++ b/dev-python/nanobind/Manifest @@ -1,3 +1,5 @@ DIST nanobind-2.4.0.gh.tar.gz 890566 BLAKE2B 7ecdd1cb6734d01f24518189cf404b84b050ba20ee264aab2cd8dd99880b819b1be696decb69263c23b9c21b855caa5d7c4a545a6f282145f0434e6cbd31f616 SHA512 b018784f1ea07c6dd76b861a759e373ff78dbf78a278d19aed7bb2725b35fa9fe071ba34db264684ba697f2d8d4d6e64f16693590640ca2877783de981a952ab +DIST nanobind-2.5.0.gh.tar.gz 900479 BLAKE2B 9711cde535b6e6717477229f25e2f8abc5d1973ccd307ad1d55613ac0b288815960ece8b279a4dded47dc90e86ad4d44b216e27012120fcc7ffc26ef7711e800 SHA512 885668ee4ea9c551ccd60d2e056a90021badfeb7b358aeace184a23f9c2d34cb31a81ebe84db33fd6f15b7983dbb455d9c11f9367de091cb9b56c99d7634f9a0 EBUILD nanobind-2.4.0.ebuild 1489 BLAKE2B 06bab4155f8482765e7fa4f9ff02dd50ae9e91f2ecc4039f6e683f04327ee6170e9f8aef1642d83a1298babc127f273bc720c3c57820bb8ed0b983d039f10d26 SHA512 567afd5a5aa638d138227318a933083383a0a678f5be440d37e8a73f50024a32b04914b418eef63a7d0d98959a7b9f8c1d9fec90be4dcb52abe4c9dd473f1aa9 +EBUILD nanobind-2.5.0.ebuild 1490 BLAKE2B 2e68cd3936a8a75e1b59ed07fa0126232b9d612ff2d46acf4253d871dcc0cc191094f8b91d9bb9718b511b679e08412ddcb029fcee47963740da49af4ebfd2b4 SHA512 396b2c254b6bb81673dcdeaa72c919407265adf8379ef40fcc033414e6d192815c31f3b58fd1dd52615e4ab363bf096788b203e702a1f7bfda7ee67c7cf37453 MISC metadata.xml 367 BLAKE2B 915d33ed8f2b0e38faec001e256fc86d393b23b94bae31f2648948339be7c3d6a2b1b2a18063193c9d190cabfdc4c744d6b664c63534b88dc7afc2a2f1ccc688 SHA512 b60a701257bad827d63af141fbc9b4cadadbb397bca054db97c63eba9e174a902afc7785c3f868b6e86ec62f007f7e822d3c5b6dacb107083559b31202cef7a2 diff --git a/dev-python/nanobind/nanobind-2.5.0.ebuild b/dev-python/nanobind/nanobind-2.5.0.ebuild new file mode 100644 index 000000000000..54382505da8a --- /dev/null +++ b/dev-python/nanobind/nanobind-2.5.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake distutils-r1 + +DESCRIPTION="Tiny and efficient C++/Python bindings" +HOMEPAGE=" + https://github.com/wjakob/nanobind/ + https://pypi.org/project/nanobind/ +" +SRC_URI=" + https://github.com/wjakob/nanobind/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv" + +DEPEND=" + >=dev-cpp/robin-map-1.3.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # https://github.com/scikit-build/scikit-build-core/issues/912 + sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die + cmake_src_prepare + distutils-r1_src_prepare +} + +src_configure() { + # XXX: nanobind installs a CMake config file which by default passes -Os + # We currently patch around it in dev-python/pyopencl. In future, we + # may want to add some override with Gentoo specific environment vars. + DISTUTILS_ARGS=( + -DNB_CREATE_INSTALL_RULES=ON + -DNB_USE_SUBMODULE_DEPS=OFF + -DNB_TEST=OFF + ) +} + +python_test() { + local mycmakeargs=( + -DNB_CREATE_INSTALL_RULES=OFF + -DNB_USE_SUBMODULE_DEPS=OFF + -DNB_TEST=ON + ) + cmake_src_configure + cmake_src_compile + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/tests" || die + epytest +} diff --git a/dev-python/pylsqpack/Manifest b/dev-python/pylsqpack/Manifest index ab828bfa3934..0aa3ef05fb6a 100644 --- a/dev-python/pylsqpack/Manifest +++ b/dev-python/pylsqpack/Manifest @@ -1,3 +1,5 @@ DIST pylsqpack-0.3.18.tar.gz 659125 BLAKE2B bb7320d9254feb12740536180aa065cdf38af42ed62772178213477fa48222cfb017e5d5c087862b223219ad8a2c1ef1ab65d44de183a906d96a2b11ae51995f SHA512 7a176512cbcea560145be6177976d93ebf61d66b5be3632f29e3cabf90aa9ebbfd3cceac2631c12297019846bc9ba19d292150fc2b7a98d9671175256ee780c0 +DIST pylsqpack-0.3.19.tar.gz 660771 BLAKE2B b4b8ded7022eadf581270465446a6e0df2d241d18cacdc4fcfd725c865c02f17b5af5cbfd8eba65217ef9db1f24babe06faebc16c6cce68042d452dce03ffb1f SHA512 7ed2c24dcacb099d00100c33ae4ede3bf19488d17920267cfe934eb069f3fc3d3a62b275c2a9d3a23ece42f1c09df6cf736cea47b798959a2a09d27dd8eda97d EBUILD pylsqpack-0.3.18.ebuild 499 BLAKE2B ac32c6fd4fece912dc4fb6b2190816a49845225a8cc0a970432dedd48ac20d594246d7c3b1222cada32b0539b7e43f2f89c108bd27df28ab5ba89d6cc0478998 SHA512 122714733aef4fdf3bc3084bdc4f6f96a1db78cdda5cb79e8ec94a50002e4563623fdbefab573896ebab21f0a0f7e4a15748db7e367b5e42d88c164c151fa9ed +EBUILD pylsqpack-0.3.19.ebuild 500 BLAKE2B fc05e40e4cd10640c81bae3ca66b189f613d81cb8bb029b5888f70ab44688e305b585a3585b22a21b472b20a90331955e13d16cfce77bbf0eb8f519dc245c3d9 SHA512 f54f8ccd3c8a85440fde5ba6fe49a5b3fd6f577c474becd635d8ea97060ab4cba614ad2e378495a270ef5d412d89857ee4dcbbf15110d6a373c96e38451ee5a2 MISC metadata.xml 347 BLAKE2B 40ddaeec2c05c73f0779c2139397736a6505989156a313bcfc7d44634cc60eb7b548d7b3d7930c72740b50f89afee23ca1a865d9b0ba9a85e083fe3ad3908b83 SHA512 bcc932a81cb8aa7e8b3d22f9158435ec335abccd7e0502021db41285209cbc4aa16061725438c0463d8b8a0ddcc90b242e238a50df5b030da239abf93b35438f diff --git a/dev-python/pylsqpack/pylsqpack-0.3.19.ebuild b/dev-python/pylsqpack/pylsqpack-0.3.19.ebuild new file mode 100644 index 000000000000..488c14f9a059 --- /dev/null +++ b/dev-python/pylsqpack/pylsqpack-0.3.19.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024-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=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the ls-qpack QPACK library" +HOMEPAGE=" + https://github.com/aiortc/pylsqpack/ + https://pypi.org/project/pylsqpack/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +distutils_enable_tests pytest + +# TODO: package ls-qpack and unbundle it diff --git a/dev-python/pyqt-builder/Manifest b/dev-python/pyqt-builder/Manifest index 31ac7d21895e..adf1685ad432 100644 --- a/dev-python/pyqt-builder/Manifest +++ b/dev-python/pyqt-builder/Manifest @@ -1,5 +1,5 @@ -DIST pyqt_builder-1.17.1.tar.gz 3671718 BLAKE2B 38290399fdd9bbe8a2582cdfc3b9edc15a330a18159e6dbe4bacd05d7c8ab31ebf39941bfce33a54d3ff13704a0b626ac3e9ab7ce8cb3599b1dff095e00e7e95 SHA512 645655c2a51821a909c2799427ba5aab8b14b8324c3d797b34a38d372b27de29a13688fb8ac9ee9fb9160d194e044f9f3e89822f94e2160b6238076bceb8a5c7 DIST pyqt_builder-1.17.2.tar.gz 3671828 BLAKE2B f8f822275f90929542e2800ff6802658b5a27402eda76de96d0546a8abee65ce803ce48eb93d001d6298f95c10393e066673057746e97de7244b4c6d17678f10 SHA512 54f99a50ba8534c84df563c80375165baaeb2dc1255297298a5a5360176d267d858b105b7fb06a8b029f1697919c3dad977aa1916c9ab41b9ace272db5db5295 -EBUILD pyqt-builder-1.17.1.ebuild 676 BLAKE2B ac173f7988dc8b2192b054d345a8f896134e4882b468addefd4b395a2f0deea9830ef99b1a2ae5fe23fa759a23228778f568bfb25358b7966e42e42b9cfda03f SHA512 a4aa758bd8ea66883050d1ff2d5d614a85324ab04edb8163afee4f2edbf0159606d2641c02ada245d4fc69db6b3878716d3ccee80afee3cd919b1470dc2897a0 +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 MISC metadata.xml 581 BLAKE2B 52b5d19b8febf7a2c0c0fb4d72e66b537f5824c1fc1a9d065b79ebe9e3c7fe5188fa0acd13bb446a9ad9f8c4481222027885a2ff6217cdf2c8caddf9c5d60b1f SHA512 b58cebc65e92de2af613423c8767dc75063e0c4dd2f1c3b308eb5b371ca499e43024e502839ffdf32b034a59294c24bca6a4703822e8365ad9c339747c17c238 diff --git a/dev-python/pyqt-builder/pyqt-builder-1.17.1.ebuild b/dev-python/pyqt-builder/pyqt-builder-1.18.0.ebuild index 316a400b3f9f..9978b298678f 100644 --- a/dev-python/pyqt-builder/pyqt-builder-1.17.1.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 f15f25e3ffff..b7d1d0aa1043 100644 --- a/dev-python/pyqt5-sip/Manifest +++ b/dev-python/pyqt5-sip/Manifest @@ -1,3 +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 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 new file mode 100644 index 000000000000..bfddee336a7c --- /dev/null +++ b/dev-python/pyqt5-sip/pyqt5-sip-12.17.0.ebuild @@ -0,0 +1,17 @@ +# 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 +# keep compat in sync with pyqt5 or else it confuses some revdeps +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="sip extension module for PyQt5" +HOMEPAGE="https://pypi.org/project/PyQt5-sip/" + +LICENSE="BSD-2" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-python/pyqt6-sip/Manifest b/dev-python/pyqt6-sip/Manifest index de930ab47289..8d128ba0a5e2 100644 --- a/dev-python/pyqt6-sip/Manifest +++ b/dev-python/pyqt6-sip/Manifest @@ -1,3 +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.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 new file mode 100644 index 000000000000..50a5d1ca9322 --- /dev/null +++ b/dev-python/pyqt6-sip/pyqt6-sip-13.10.0.ebuild @@ -0,0 +1,17 @@ +# 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 +# keep compat in sync with pyqt6 or else it confuses some revdeps +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="sip module support for PyQt6" +HOMEPAGE="https://pypi.org/project/PyQt6-sip/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-python/pyside/Manifest b/dev-python/pyside/Manifest new file mode 100644 index 000000000000..d2d395381096 --- /dev/null +++ b/dev-python/pyside/Manifest @@ -0,0 +1,11 @@ +AUX pyside-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a +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.1.gh.tar.gz 18700869 BLAKE2B 5924f8ffc3e5a4f15442af9191b0531ee9f509595d41ae2759b94c2a7f8d7e08f4a70f9c7fff07f11c5252afb77084dc21ca3b22762d6c8dd66f4fca5944c9f2 SHA512 941844b1f6711859add828cbefe7c39497d45f0936f970f3050631294ed3bfe88d9d7b827a81d61ba3efbbf7920daef6ea6c28fa9c78f8e672d68b8bd3fbb2ad +DIST pyside-pyside-setup-6.8.2.gh.tar.gz 19305680 BLAKE2B d4da8ec63d35714bf4418cdc9ff5921fe554c1635a7c5c467657b64c2140208b4bba57fc9932f0f96426e1d15c124209b0b29eb9340261d34eed194128a03545 SHA512 30691d27afaeaa3117e68b60745918d9697c8d9e4ee8941eaab51995cb5128c56d44964511f2db731f448bf32219160032e4a4cd4773d3fccc4de8c0e509d1c1 +EBUILD pyside-6.8.1.1.ebuild 10314 BLAKE2B ccdf54f48e1a4e3cc02b0a6210a8551ba88262b16d5bd569ada3ff64b70e868a360f54d43225f20501c298b0e1c42c5e831c774a67d79f08a20efec40335eb4a SHA512 b92d4dbaa0a9b7f7f838c3d99c16e757ade7a91b6c8f39f7c16bdac5a704cc5f5f163011b6f80e0efa654c8ed3e4da038372e0ac8963166904ae477b7b70c2c0 +EBUILD pyside-6.8.1.ebuild 10310 BLAKE2B ca864905f3ed3c13b4ff673fb0db08087075e30a950b40ca29fbeda9402cd8d23e2666c3a846a69704c6f308474dd5a87ad3aee677aa327d79bc149d4695e55d SHA512 501094285ad18dccd664d63819ceee40fb24f5ce61bb982f2c2ea12edaf4995c718080da5d9aa01598afd0d5b3fecdc441f880722e9c8fb3fab2bb28b3dd1e97 +EBUILD pyside-6.8.2.ebuild 14911 BLAKE2B b2aa09c2771620150d1dc01b00d1110589bfa02ca761d2d6145042ec025e037c6ad3084fb4737c9d9592fb4711d5ecc8a04b0b88c68d865e7bc8a2a7ca28c455 SHA512 799248f0354cde09378da066f8a8856916e7c96d376d46d17e97d627bffdff68fd02f18a6e872caea2f4965f852ed396125f3c545575c65511ec3a3dec7e7a38 +MISC metadata.xml 2977 BLAKE2B abf5f630457dc13ad1bc9e08ed5fcd3f0beadff9815cf6d7ddb6107410c6584f7acae7d08194c7b621eb4470f844d67e13b97df7620493e27d2df2ec54dbbf77 SHA512 51fd0bdc6059a221fadb7c04b627be5ccd523d28a3234c5f01118d50b6d4b5938fda8390ce5e26e8f1f630b58ef4f5201710804c996607e85d7d69d793a4a09a diff --git a/dev-python/pyside6/files/pyside6-6.3.1-no-strip.patch b/dev-python/pyside/files/pyside-6.3.1-no-strip.patch index 9f3a8c396f05..9f3a8c396f05 100644 --- a/dev-python/pyside6/files/pyside6-6.3.1-no-strip.patch +++ b/dev-python/pyside/files/pyside-6.3.1-no-strip.patch diff --git a/dev-python/pyside6/files/pyside6-6.6.0-no-qtexampleicons.patch b/dev-python/pyside/files/pyside-6.6.0-no-qtexampleicons.patch index f775310504f4..f775310504f4 100644 --- a/dev-python/pyside6/files/pyside6-6.6.0-no-qtexampleicons.patch +++ b/dev-python/pyside/files/pyside-6.6.0-no-qtexampleicons.patch diff --git a/dev-python/pyside/files/pyside-6.8.2-no-qtexampleicons.patch b/dev-python/pyside/files/pyside-6.8.2-no-qtexampleicons.patch new file mode 100644 index 000000000000..29adbe25d479 --- /dev/null +++ b/dev-python/pyside/files/pyside-6.8.2-no-qtexampleicons.patch @@ -0,0 +1,10 @@ +diff --git a/sources/pyside6/CMakeLists.txt b/sources/pyside6/CMakeLists.txt +index 2e4c701..6792258 100644 +--- a/sources/pyside6/CMakeLists.txt ++++ b/sources/pyside6/CMakeLists.txt +@@ -41,5 +41,3 @@ if(BUILD_TESTS) + endif() + + add_subdirectory(doc) +- +-add_subdirectory(qtexampleicons) diff --git a/dev-python/pyside/files/pyside-6.8.2-quick-fix-build-wheel.patch b/dev-python/pyside/files/pyside-6.8.2-quick-fix-build-wheel.patch new file mode 100644 index 000000000000..7cf0f46e87b1 --- /dev/null +++ b/dev-python/pyside/files/pyside-6.8.2-quick-fix-build-wheel.patch @@ -0,0 +1,17 @@ +diff --git a/build_scripts/wheel_override.py b/build_scripts/wheel_override.py +index b389bb8..71de230 100644 +--- a/build_scripts/wheel_override.py ++++ b/build_scripts/wheel_override.py +@@ -20,9 +20,9 @@ try: + + from packaging import tags + from wheel import __version__ as wheel_version +- from wheel.bdist_wheel import bdist_wheel as _bdist_wheel +- from wheel.bdist_wheel import get_abi_tag, get_platform +- from wheel.bdist_wheel import safer_name as _safer_name ++ from wheel._bdist_wheel import bdist_wheel as _bdist_wheel ++ from wheel._bdist_wheel import get_abi_tag, get_platform ++ from wheel._bdist_wheel import safer_name as _safer_name + + wheel_module_exists = True + except Exception as e: diff --git a/dev-python/pyside6/metadata.xml b/dev-python/pyside/metadata.xml index d4c2e9662fd1..c760fb957e04 100644 --- a/dev-python/pyside6/metadata.xml +++ b/dev-python/pyside/metadata.xml @@ -14,6 +14,7 @@ <flag name="bluetooth">Build QtBluetooth module</flag> <flag name="charts">Build QtCharts module</flag> <flag name="concurrent">Build QtConcurrent module</flag> + <flag name="core">Build QtCore module, if disable then only shiboken will be built</flag> <flag name="designer">Build QtDesigner and QtUiTools modules</flag> <flag name="gles2-only">Build QtGui "QOpenGL*" classes</flag> <flag name="gui">Build QtGui module</flag> @@ -24,6 +25,7 @@ <flag name="network">Build QtNetwork module</flag> <flag name="network-auth">Build QtNetworkAuth module</flag> <flag name="nfc">Build QtNfc module</flag> + <flag name="numpy">Build with support for <pkg>dev-python/numpy</pkg></flag> <flag name="pdfium">Build QtPdf module</flag> <flag name="positioning">Build QtPositioning module</flag> <flag name="printsupport">Build QtPrintSupport module</flag> @@ -32,6 +34,7 @@ <flag name="quick3d">Build QtQuick3D and QtQuickWidgets modules</flag> <flag name="scxml">Build QtScxml module</flag> <flag name="sensors">Build QtSensors module</flag> + <flag name="serialbus">Build QtSerialBus modules</flag> <flag name="serialport">Build QtSerialPort modules</flag> <flag name="spatialaudio">Build QtSpatialAudio module</flag> <flag name="speech">Build QtTextToSpeech module</flag> @@ -39,15 +42,18 @@ <flag name="svg">Build QtSvg module</flag> <flag name="remoteobjects">Build QtRemoteObjects module</flag> <flag name="testlib">Build QtTest module</flag> + <flag name="tools">Build PySide Tools</flag> <flag name="uitools">Build UITools module</flag> <flag name="webchannel">Build QtWebChannel module</flag> <flag name="webengine">Build QtWebEngine and QtWebEngineWidgets modules</flag> <flag name="websockets">Build QtWebSockets module</flag> + <flag name="webview">Build QtWebView module</flag> <flag name="widgets">Build QtWidgets module</flag> <flag name="xml">Build QtXml module</flag> </use> <upstream> <remote-id type="pypi">PySide6</remote-id> + <remote-id type="pypi">shiboken6</remote-id> <remote-id type="github">qtproject/pyside-pyside-setup</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pyside6/pyside6-6.8.1.1.ebuild b/dev-python/pyside/pyside-6.8.1.1.ebuild index 1964cf1dbe7b..89ab1f8e8b99 100644 --- a/dev-python/pyside6/pyside6-6.8.1.1.ebuild +++ b/dev-python/pyside/pyside-6.8.1.1.ebuild @@ -124,7 +124,7 @@ RDEPEND="${PYTHON_DEPS} ) ) websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) - !dev-python/pyside6:0 + !dev-python/pyside:0 " DEPEND="${RDEPEND} $(llvm_gen_dep ' @@ -234,12 +234,12 @@ src_install() { # 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}.pc || die + "${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}{,-${EPYTHON}}.pc || die + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}6{,-${EPYTHON}}.pc || die } python_foreach_impl pyside6_install diff --git a/dev-python/pyside6/pyside6-6.8.1.ebuild b/dev-python/pyside/pyside-6.8.1.ebuild index f6f18aa25ee5..e80e682b8c51 100644 --- a/dev-python/pyside6/pyside6-6.8.1.ebuild +++ b/dev-python/pyside/pyside-6.8.1.ebuild @@ -124,7 +124,7 @@ RDEPEND="${PYTHON_DEPS} ) ) websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) - !dev-python/pyside6:0 + !dev-python/pyside:0 " DEPEND="${RDEPEND} $(llvm_gen_dep ' @@ -234,12 +234,12 @@ src_install() { # 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}.pc || die + "${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}{,-${EPYTHON}}.pc || die + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}6{,-${EPYTHON}}.pc || die } python_foreach_impl pyside6_install diff --git a/dev-python/pyside/pyside-6.8.2.ebuild b/dev-python/pyside/pyside-6.8.2.ebuild new file mode 100644 index 000000000000..6a450ecd3f00 --- /dev/null +++ b/dev-python/pyside/pyside-6.8.2.ebuild @@ -0,0 +1,440 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +LLVM_COMPAT=( {15..19} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 llvm-r1 qmake-utils virtualx + +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}" + +LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" +SLOT="6/${PV}" +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. +# Widgets for various modules are handled as a special case later +declare -A QT_MODULES=( + ["3d"]="3DCore 3DRender 3DLogic 3DInput 3DAnimation 3DExtras" + ["bluetooth"]="Bluetooth" + ["charts"]="Charts" + ["+concurrent"]="Concurrent" + ["+core"]="Core" + ["+dbus"]="DBus" + ["designer"]="Designer" + ["+gui"]="Gui" + ["help"]="Help" + ["httpserver"]="HttpServer" + ["location"]="Location" + ["multimedia"]="Multimedia" # plus widgets + ["network-auth"]="NetworkAuth" + ["+network"]="Network" + ["nfc"]="Nfc" + ["+opengl"]="OpenGL" # plus widgets + ["pdfium"]="Pdf" # plus widgets + ["positioning"]="Positioning" + ["+printsupport"]="PrintSupport" + ["qml"]="Qml" + ["quick3d"]="Quick3D" + ["quick"]="Quick" # plus widgets + ["remoteobjects"]="RemoteObjects" + ["scxml"]="Scxml" + ["sensors"]="Sensors" + ["serialbus"]="SerialBus" + ["serialport"]="SerialPort" + ["spatialaudio"]="SpatialAudio" + ["+sql"]="Sql" + ["svg"]="Svg" # plus widgets + ["speech"]="TextToSpeech" + ["+testlib"]="Test" + ["uitools"]="UiTools" + ["webchannel"]="WebChannel" + ["webengine"]="WebEngineCore" # plus widgets and quick + ["websockets"]="WebSockets" + ["webview"]="WebView" + ["+widgets"]="Widgets" + ["+xml"]="Xml" +) + +# Manually reextract these requirements on version bumps by running the +# following one-liner from within "${S}": +# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt +declare -A QT_REQUIREMENTS=( + ["3d"]="gui network opengl" + ["bluetooth"]="core" + ["charts"]="core gui widgets" + ["concurrent"]="core" + ["dbus"]="core" + ["designer"]="widgets" + ["gles2-only"]="gui" + ["gui"]="core" + ["help"]="widgets" + ["httpserver"]="core concurrent network websockets" + ["location"]="core positioning" + ["multimedia"]="core gui network" + ["network-auth"]="network" + ["network"]="core" + ["nfc"]="core" + ["opengl"]="gui" + ["pdfium"]="core gui network" + ["positioning"]="core" + ["printsupport"]="widgets" + ["qml"]="network" + ["quick"]="gui network qml opengl" + ["quick3d"]="gui network qml quick" + ["remoteobjects"]="core network" + ["scxml"]="core" + ["sensors"]="core" + ["serialbus"]="core network serialport" + ["serialport"]="core" + ["spatialaudio"]="core gui network multimedia" + ["speech"]="core multimedia" + ["sql"]="widgets" + ["svg"]="gui" + ["testlib"]="widgets" + ["uitools"]="widgets" + ["webchannel"]="core" + ["webengine"]="core gui network printsupport quick webchannel" + ["websockets"]="network" + ["webview"]="gui" + ["widgets"]="gui" + ["xml"]="core" +) + +IUSE="${!QT_MODULES[@]} debug doc gles2-only numpy test tools" +RESTRICT="!test? ( test )" + +for requirement in ${!QT_REQUIREMENTS[@]}; do + REQUIRED_USE+=" ${requirement}? ( ${QT_REQUIREMENTS[${requirement}]} ) " +done + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-3)*:6" + +# WebEngine needs sound support, so enable either pulseaudio or alsa +RDEPEND=" + =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,gles2-only=] ) + gui? ( + =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] + x11-libs/libxkbcommon + ) + help? ( =dev-qt/qttools-${QT_PV}[assistant,gles2-only=] ) + httpserver? ( =dev-qt/qthttpserver-${QT_PV} ) + location? ( =dev-qt/qtlocation-${QT_PV} ) + multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[widgets(+)?] ) + network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) + network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) + nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) + numpy? ( >=dev-python/numpy-2.1.3[${PYTHON_USEDEP}] ) + 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}[opengl?,widgets?] ) + quick3d? ( =dev-qt/qtquick3d-${QT_PV}[opengl?] ) + 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} ) + serialbus? ( =dev-qt/qtserialbus-${QT_PV} ) + serialport? ( =dev-qt/qtserialport-${QT_PV} ) + svg? ( =dev-qt/qtsvg-${QT_PV} ) + testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) + tools? ( + =dev-qt/qtbase-${QT_PV} + =dev-qt/qtdeclarative-${QT_PV}[qmlls] + =dev-qt/qttools-${QT_PV}[assistant,designer,linguist] + ) + uitools? ( =dev-qt/qttools-${QT_PV}[gles2-only=,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} ) + webview? ( =dev-qt/qtwebview-${QT_PV} ) + !dev-python/pyside:0 + !dev-python/shiboken6 + !dev-python/pyside6-tool +" + +DEPEND="${RDEPEND} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + ') + dev-util/vulkan-headers + test? ( =dev-qt/qtbase-${QT_PV}[gui] ) +" # testlib is toggled by the gui flag on qtbase + +BDEPEND=" + dev-build/cmake + dev-python/distro[${PYTHON_USEDEP}] + dev-util/patchelf + doc? ( + >=dev-libs/libxml2-2.6.32 + >=dev-libs/libxslt-1.1.19 + media-gfx/graphviz + ) + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) +" + +PATCHES=( + # Needs porting to newer wheel and setuptools + "${FILESDIR}/${PN}-6.8.2-quick-fix-build-wheel.patch" + # References files not present in our dev-qt/qtbase + "${FILESDIR}/${PN}-6.8.2-no-qtexampleicons.patch" +) + +# Build system duplicates system libraries. TODO: fix +QA_PREBUILT=( + "/usr/lib/python*/site-packages/PySide6/*" +) + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" + # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". + sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ + sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die + + # 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 sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die +} + +python_configure_all() { + ENABLED_QT_MODULES=() + + # The order matters, dependencies must come first so process + # REQUIRED_USE and recursively enable modules + enable_qt_mod() { + local flag=${1} + local modules=${QT_MODULES[${flag}]} + if [[ -z ${modules} ]]; then + die "incorrect flag=${flag}, not registered" + fi + local dependencies=${QT_REQUIREMENTS[${flag//+}]} + if [[ -n ${dependencies} ]]; then + local depflag + for depflag in ${dependencies}; do + if use ${depflag}; then + if [[ -z ${QT_MODULES[${depflag}]} ]]; then + depflag=+${depflag} + fi + enable_qt_mod ${depflag} + else + die "${depflag} is required but not enabled" + fi + done + fi + if [[ "${ENABLED_QT_MODULES[*]}" != *${modules}* ]]; then + ENABLED_QT_MODULES+=( ${modules} ) + fi + } + # Enable specified qt modules + local flag + for flag in ${!QT_MODULES[@]}; do + if use ${flag//+}; then + enable_qt_mod ${flag} + fi + done + + # Special cases + if use widgets; then + use multimedia && ENABLED_QT_MODULES+=( MultimediaWidgets ) + use opengl && ENABLED_QT_MODULES+=( OpenGLWidgets ) + use pdfium && ENABLED_QT_MODULES+=( PdfWidgets ) + use quick && ENABLED_QT_MODULES+=( QuickWidgets ) + use svg && ENABLED_QT_MODULES+=( SvgWidgets ) + use webengine && ENABLED_QT_MODULES+=( WebEngineWidgets ) + fi + if use quick; then + use webengine && ENABLED_QT_MODULES+=( WebEngineQuick ) + use testlib && ENABLED_QT_MODULES+=( QuickTest ) + fi + + # Arguments listed in options.py + MAIN_DISTUTILS_ARGS=( + --cmake="${EPREFIX}/usr/bin/cmake" + --ignore-git + --limited-api=no + --module-subset="$(printf '%s,' "${ENABLED_QT_MODULES[@]}")" + --no-strip + --no-size-optimization + --openssl="${EPREFIX}/usr/bin/openssl" + --qt=$(ver_cut 1-3) + --qtpaths=$(qt6_get_bindir)/qtpaths + --verbose-build + $(usex debug "--debug" "--relwithdebinfo") + $(usex doc "--build-docs" "--skip-docs") + $(usex numpy "--enable-numpy-support" "--disable-numpy-support") + $(usex test "--build-tests --use-xvfb" "") + $(usex tools "" "--no-qt-tools") + ) +} + +python_compile() { + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --build-type=shiboken6 + ) + distutils-r1_python_compile + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --reuse-build + --build-type=shiboken6-generator + ) + distutils-r1_python_compile + # If no pyside modules enabled, build just shiboken + if [[ ${#ENABLED_QT_MODULES[@]} -gt 0 ]]; then + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --reuse-build + --shiboken-target-path="$(find "${BUILD_DIR}/build" -type d -name cmake)/../../" + --build-type=pyside6 + ) + distutils-r1_python_compile + fi + + # Link libraries to the usual location for backwards compatibility + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || + die + mkdir -p "${BUILD_DIR}/install/usr/$(get_libdir)" || die + local lib + for lib in */*.cpython-*.so + do + local base=${lib##*/} + ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so" || + die + done + for lib in */*.cpython-*.so.$(ver_cut 1-2) + do + local base=${lib##*/} + ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so.$(ver_cut 1-2)" || + die + done + for lib in */*.so*; do + ln -s "../../$(python_get_sitedir)/${lib}" \ + "${BUILD_DIR}/install/usr/$(get_libdir)/${lib#*/}" || die + done + popd >/dev/null || die + + # Symlinks for compatibility with pypi wheels + local dir + if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/PySide6 ]] + then + pushd "${BUILD_DIR}/install/$(python_get_sitedir)/PySide6" \ + >/dev/null || die + mkdir -p "${BUILD_DIR}/install/usr/share/PySide6" || die + for dir in doc glue typesystems; do + ln -s "../../../$(python_get_sitedir)/PySide6/${dir}" \ + "${BUILD_DIR}/install/usr/share/PySide6/${dir}" || + die + done + popd >/dev/null || die + fi + mkdir -p "${BUILD_DIR}/install/usr/include" + for dir in PySide6 shiboken6_generator; do + if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/${dir}/include ]] + then + ln -s "../../$(python_get_sitedir)/${dir}/include" \ + "${BUILD_DIR}/install/usr/include/${dir//_generator}" || + die + fi + done + + # Install misc files from inner install dir + find "${BUILD_DIR}"/build/*/install -type f \ + -name libPySidePlugin.so -exec \ + mkdir -p "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ + -exec \ + cp "{}" "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ + || die + + for dir in cmake pkgconfig; do + find "${BUILD_DIR}"/build/*/install -type d -name ${dir} \ + -exec cp -r "{}" "${BUILD_DIR}/install/usr/lib/" \; \ + || die + done + + # Uniquify the pkgconfigs file for the current Python target, + # preserving an unversioned "shiboken6.pc" file arbitrarily + # associated with the last Python target. + if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc ]] + then + sed -e 's~prefix=.*~prefix=/usr~g' \ + -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ + -e "s~libdir=.*~libdir=$(python_get_sitedir)/shiboken6~g" \ + -e "s~includedir=.*~includedir=$(python_get_sitedir)/shiboken6_generator/include~g" \ + -i "${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc" || die + cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"shiboken6{,-${EPYTHON}}.pc || die + fi + if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc ]] + then + sed -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ + -e 's~prefix=.*~prefix=/usr~g' \ + -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ + -e "s~libdir=.*~libdir=$(python_get_sitedir)/PySide6~g" \ + -e "s~includedir=.*~includedir=$(python_get_sitedir)/PySide6/include~g" \ + -e "s~typesystemdir=.*~typesystemdir=$(python_get_sitedir)/PySide6/typesystems~g" \ + -e "s~gluedir=.*~gluedir=$(python_get_sitedir)/PySide6/glue~g" \ + -e "s~pythonpath=.*~pythonpath=$(python_get_sitedir)~g" \ + -i "${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc" || die + cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"pyside6{,-${EPYTHON}}.pc || die + fi + + sed \ + -e "s~/lib/libshiboken6\.cpython~/$(get_libdir)/libshiboken6\.cpython~g" \ + -e "s~/lib/libpyside6\.cpython~/$(get_libdir)/libpyside6\.cpython~g" \ + -e "s~/lib/libpyside6qml\.cpython~/$(get_libdir)/libpyside6qml\.cpython~g" \ + -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-3)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-2)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -i "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cmake || die + local file + for file in "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cpython-*.cmake + do + local base=${file##*/} + ln -s "${base}" "${file%/*}/${base%%.*}-${EPYTHON}.cmake" || + die + done +} + +python_test() { + virtx ${EPYTHON} testrunner.py test || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest index f986cd8e7e1e..896d920783aa 100644 --- a/dev-python/pyside6-tools/Manifest +++ b/dev-python/pyside6-tools/Manifest @@ -1,5 +1,5 @@ DIST pyside-pyside-setup-6.8.1.1.gh.tar.gz 18699613 BLAKE2B 2c16f305a746106edc770c267900b31fe480b167a615adc82496e0604cc618982bb787a0c173b069c258749364d7d2cac900d8d8b82244fc3b916744b7339537 SHA512 bd258be6e4c5f0b6b4bbdf8887e5f8ab16a90117deb00f9c46c4acb7f6bbcc36fb9f6b6e7c201403556e0ee269947a5f5b2611ff1b05e48f231f81b1eeac7bce DIST pyside-pyside-setup-6.8.1.gh.tar.gz 18700869 BLAKE2B 5924f8ffc3e5a4f15442af9191b0531ee9f509595d41ae2759b94c2a7f8d7e08f4a70f9c7fff07f11c5252afb77084dc21ca3b22762d6c8dd66f4fca5944c9f2 SHA512 941844b1f6711859add828cbefe7c39497d45f0936f970f3050631294ed3bfe88d9d7b827a81d61ba3efbbf7920daef6ea6c28fa9c78f8e672d68b8bd3fbb2ad -EBUILD pyside6-tools-6.8.1.1.ebuild 1888 BLAKE2B cc17f552c2abad6e576be017ed67e4cdad30676caf717d0e0e27b9623c0fe70cc669e086ed856ae15907c5ce7bf604f6e9cde5275fc19bf05f6037a2e094f5be SHA512 2ae73fc693b701e819b3b212c2795ca35a0cc04280dc008f2897af4e31bcfde36447310a0b92d10f254017c0229460a3f9ec2d4d7fc01ef83c6454b36938c528 -EBUILD pyside6-tools-6.8.1.ebuild 1894 BLAKE2B ac27245e37c76dbaf58d730f1958db865e4a1081754f5e2b21f0c037d2a9d5c99e0ad8536c912332f50f0a9e8d9f88992248e41a9d3182a55e2bd1e00ca0ba22 SHA512 8025edbfcccc0f1ada1a2f693d3c23440acce366fa567faa72c9769c78573f811ebb43410dfac880e83b5094d8192b896636d1d87a45e12dc6e2f459ce95918d +EBUILD pyside6-tools-6.8.1.1.ebuild 1887 BLAKE2B 339583c2b314e50758a3f05e38d3c2a413474a2461b378c23cdd9c47d77b0eb89f4a16dde6ed8a1e25416d2c077c245d56fe027f2577a859fe52d28a920079dd SHA512 f82681c62f1052274a5bbfbeb3d9b77fdbc1415cac09bda3e8b6f3c8f68e8b13ed82554560df0207cc1fd2082cb80e209ee7333971319b09052887fb04aca901 +EBUILD pyside6-tools-6.8.1.ebuild 1893 BLAKE2B 590dc28869c9fa4f1fdb277e0bf397364d82282b88e7dc7814b389aa46688b6f262c134394460185b8adedd5fa2c06533725cee090e54ea4dcd9dd7ccee07103 SHA512 0fc372a2e39c93deb4bb549d880e49a9923e3515d76d3a9ea72c87a5ffec69d8d19bd465e3d290d51ea3f7c3c68471f01dc64548a0111f8e616a3c54fc516176 MISC metadata.xml 483 BLAKE2B 785ec6695ce4cb4592d4db9f16f59fcba9cd048792cceb1dcd42176d69283970c2eab379fb9c35a54379c93cd530c26d4c5a2369d117fe7a410820f241d23813 SHA512 db6a02d19b70d71640367eae23b15ab67798cb3e960c0cbd59429d05c45b50466502c96bf610f0716aadb4ac47c01357cc0976bbd0103e201069976cfd1d2609 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 index f4273b70a9dc..431ab6f76226 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.8.1.1.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.8.1.1.ebuild @@ -29,7 +29,7 @@ QT_PV="$(ver_cut 1-3)*:6" RDEPEND="${PYTHON_DEPS} ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - ~dev-python/pyside6-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] + ~dev-python/pyside-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] !dev-python/pyside6-tools:0 " DEPEND="${RDEPEND} diff --git a/dev-python/pyside6-tools/pyside6-tools-6.8.1.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.8.1.ebuild index e40fed32fe2f..d047e5694dda 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.8.1.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.8.1.ebuild @@ -29,7 +29,7 @@ QT_PV="$(ver_cut 1-3)*:6" RDEPEND="${PYTHON_DEPS} =dev-python/shiboken6-${QT_PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - =dev-python/pyside6-${QT_PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] + =dev-python/pyside-${QT_PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] !dev-python/pyside6-tools:0 " DEPEND="${RDEPEND} diff --git a/dev-python/pyside6/Manifest b/dev-python/pyside6/Manifest deleted file mode 100644 index 4d1c058053ee..000000000000 --- a/dev-python/pyside6/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX pyside6-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a -AUX pyside6-6.6.0-no-qtexampleicons.patch 221 BLAKE2B d45b4ebcd780a0151b793b5b21f5d7599ee5c427372ef19f518ac1c94306938178b0bfb603d9755aae9bddc4c31c35bb4648617c793f8e399f0f8dcce0d1f3bb SHA512 1da97be74142402454ef5384c58d2b2a792fea53b4155d7b5ede6d145496b45e4fd56723f8f7716150c2bba448ce816c6740059d7d38ae53d5cdf7c38c4acd7b -DIST pyside-pyside-setup-6.8.1.1.gh.tar.gz 18699613 BLAKE2B 2c16f305a746106edc770c267900b31fe480b167a615adc82496e0604cc618982bb787a0c173b069c258749364d7d2cac900d8d8b82244fc3b916744b7339537 SHA512 bd258be6e4c5f0b6b4bbdf8887e5f8ab16a90117deb00f9c46c4acb7f6bbcc36fb9f6b6e7c201403556e0ee269947a5f5b2611ff1b05e48f231f81b1eeac7bce -DIST pyside-pyside-setup-6.8.1.gh.tar.gz 18700869 BLAKE2B 5924f8ffc3e5a4f15442af9191b0531ee9f509595d41ae2759b94c2a7f8d7e08f4a70f9c7fff07f11c5252afb77084dc21ca3b22762d6c8dd66f4fca5944c9f2 SHA512 941844b1f6711859add828cbefe7c39497d45f0936f970f3050631294ed3bfe88d9d7b827a81d61ba3efbbf7920daef6ea6c28fa9c78f8e672d68b8bd3fbb2ad -EBUILD pyside6-6.8.1.1.ebuild 10313 BLAKE2B 9b8fe30d7cfc6d2bcc6f00d5cb536bbc70ae0297c1668f148a240bc37e2aa59236f7f5fd6b66c03ac9bc82097eb0c9abd6d7e4d942f0bda4f63b89ced2a375e5 SHA512 e5fca8bd5e899a22c2055eb4f3c607a0e8243d4d4c66a5ee5abb3559f8d1461e1a02b35468dbc5c820e53f3e70e83e786e94df91c06a80a7338867365dbd69f8 -EBUILD pyside6-6.8.1.ebuild 10309 BLAKE2B 83a66ccd6f437aa49cc289be9d01f403053baa749979f928fba004e3ba221ef00e6c2baf68c67b92a9ec709492fc759d612d8ed31c3459f0105ec6782ce49fff SHA512 e7803ce1d8b9d521627c1637d928ce4bd49fcc7062cfcc19f4a99c48f4c822d47c11c68afe99fcab871eb8a1bd4c10f3aae1c823a919d60241dec33828e9e2f7 -MISC metadata.xml 2601 BLAKE2B 72abd151c4ccdc2db18b6e53da0d7b626718d1aa9d018c55e16347ecb38e002138f9746c1c9819b81d5f5c1cb4cdea1421bf92551b9704e3004b7d21f024982c SHA512 d0957a559e1a37159952606d02b448a89b4f64a2affb697328908502704d2bf8e821d208a828ce24d79088cedbeaf90214f75128780bc5cfc9342139b56eca32 diff --git a/dev-python/pytest-plus/Manifest b/dev-python/pytest-plus/Manifest index 72558a8de1f1..0a9ce2db02e9 100644 --- a/dev-python/pytest-plus/Manifest +++ b/dev-python/pytest-plus/Manifest @@ -1,5 +1,7 @@ DIST pytest-plus-0.7.0.tar.gz 13235 BLAKE2B 87e712a21dcb99b459ac263c46c3dfa1586d6f28404424ea3f02e1436d296b617ead445d35080d014d8385dee56ad2cd579fdf9d52352c7d9e32e31ba90eebdf SHA512 a43b8bd3ea1a7a85e40ea6c180a06a31f5703292758d4c83e1a3f98e0750d75393d9ca8bfb614f1d3a180ee50d18e8162173bfee6b81cf1f7c087aad8e3be3ba DIST pytest_plus-0.8.0.tar.gz 15369 BLAKE2B 652f3322ff7594c5663ba904944320b8a53dd912f0b88e35fcd92bcb0d01889ee6ff2a3bbea76ff7ea0fdd07bb48592c0651c22a66679409d3736b911b5723a0 SHA512 cbe4fa85e7c5af54e2dccca0082f6cda2cf62cb68a942d27e3e977ea4e38e088b01ce3751759645df491eb509e4dd338425d2a10715f687612eebc42377e6a2d +DIST pytest_plus-0.8.1.tar.gz 15444 BLAKE2B 9f838340746fba1556f34fc212f36cfeffa91d51d7a78ee15c94df065274c117dcf80d137e70a8753961f3744f0fa33072ff225740871728f6f2dda1f81f00d7 SHA512 d84ec863522610fb66b8214da4fa626345da7afb6a127717bb8d3ba0c5c8bd91f0b756f4f1ca2e81f9c38c0ada7ddefa2879bc6b9969b1643c46b59c72e092e6 EBUILD pytest-plus-0.7.0.ebuild 596 BLAKE2B 81ea4e70b215fbab4d12e5fa59e9ef5af7d01c5fa5e13d374e4988fde61d628c6c40c0a836d968e8ca560f6ab8eda94e3ac3dd80b25254a26b1966cc3de96566 SHA512 6239c029e15750600f5dd42f3042bbc464fcf331788149dc553687dc3500256e18b39792bf10eff8b1daa645c70e5e2b6eaa1473f089e92ad52bfb6cc7526939 EBUILD pytest-plus-0.8.0.ebuild 578 BLAKE2B ae0117902ad236fe833f33f57ca1e6ac8459adca4037f396f25278750600aef4ae948091c62fb13a6fc1f75cb680450fb1a072c7c3b2c9f51b62366939f0649a SHA512 9147796867516b49f8c8e4eab51e0bdcf56196245fe6d7bb2e82384038bb9b32599cdf98f51fe7f82e118902fea65ed3ff9e3645431a4a3d20442703b3ceedc5 +EBUILD pytest-plus-0.8.1.ebuild 578 BLAKE2B ae0117902ad236fe833f33f57ca1e6ac8459adca4037f396f25278750600aef4ae948091c62fb13a6fc1f75cb680450fb1a072c7c3b2c9f51b62366939f0649a SHA512 9147796867516b49f8c8e4eab51e0bdcf56196245fe6d7bb2e82384038bb9b32599cdf98f51fe7f82e118902fea65ed3ff9e3645431a4a3d20442703b3ceedc5 MISC metadata.xml 401 BLAKE2B d95ecf5159a2fba3e32c4dffd74ac894bd8782d6697d953aa17abfcc381e4527041a5534504377271f83518a9468791513af5f06c7939daa65239d0416dfea92 SHA512 8525ec79a2887c155c3271dc716e653e2e318229f4f56920f5ca5534281f054611ec86015a70007fe832d00989282bcb31665dea733963d6e1f0ed283120028f diff --git a/dev-python/pytest-plus/pytest-plus-0.8.1.ebuild b/dev-python/pytest-plus/pytest-plus-0.8.1.ebuild new file mode 100644 index 000000000000..114b1083f711 --- /dev/null +++ b/dev-python/pytest-plus/pytest-plus-0.8.1.ebuild @@ -0,0 +1,28 @@ +# 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="PyTest Plus Plugin - extends pytest functionality" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-plus/ + https://pypi.org/project/pytest-plus/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/pytest-7.4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest index b77b92449b99..87349ec5b56e 100644 --- a/dev-python/pytest-qt/Manifest +++ b/dev-python/pytest-qt/Manifest @@ -1,3 +1,3 @@ DIST pytest-qt-4.4.0.tar.gz 125443 BLAKE2B db2653ffd220e6507edd9cd2610904e5d9c1f5b39edf7b2d5043ecb7951361a6bf75618c9847b62432e0182433f2df528fce300888cca405bdc03502d6ebe717 SHA512 57c6a1866c7685db5301faa42298f11ef3d3a030cbc72fb109a8d6166621625fac89365671f781e5c3d652a190567bec3bae6f12cdab20812f43c7ef8e4518fa -EBUILD pytest-qt-4.4.0.ebuild 2137 BLAKE2B 1dc03d3f102161418f3b6f48f14d1fa2ebd228820a377290969bc0ec7eb3cd99859e4f0c2c697063394c56c2d09e42bf62906131761fef12eebaeba6544e2c49 SHA512 6b896eaf9a86cf18716796bd2dffe7c7ea68d673548832d390af5457ee0bbb38e1037df5a7296a6263759e91a9d46362202bbe976ace8a8f92333e4411f4efd5 +EBUILD pytest-qt-4.4.0.ebuild 1984 BLAKE2B 492d6cb8a4f6482c1401a9eb989287ac56e6ca2b0c5226a4354b18e88515810f55102a0cf6ca21b0702a5705210e0eec397a9adb243ba107a284e7a7ec52af9b SHA512 bc0500daabd204185295a2ac3e1c2f7386464e45a474c58521f662766197b75e658f0bc5473a36d6e0e1228ef17affb203196fd7382e4cbfc6b2cf3aa47dc395 MISC metadata.xml 503 BLAKE2B 424cf260f990fdfdfe3e55caed5c68252139804afc48626112e9aca861da5c193319f794b553aa5ae4a805336fd90b2b7ce94b0fb6c7b87f52856d6fc462bef0 SHA512 56b478298ebfd45bbf6222810f2e83e6f682a170dc87f607dc47e2abbcafb0286dfd82c6359c74d6d4333c19b923a1e4850d6e4680c4c0fb73a7b7c1a6c36de0 diff --git a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild index d2289519c423..b465a82bef5e 100644 --- a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild +++ b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild @@ -6,7 +6,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..13} ) -PYSIDE2_COMPAT=( python3_{10..11} ) inherit distutils-r1 virtualx pypi @@ -29,10 +28,7 @@ BDEPEND=" || ( dev-python/pyqt6[gui,testlib,widgets,${PYTHON_USEDEP}] dev-python/pyqt5[gui,testlib,widgets,${PYTHON_USEDEP}] - dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] - ' "${PYSIDE2_COMPAT[@]}") + dev-python/pyside:6[gui,testlib,widgets,${PYTHON_USEDEP}] ) ) " @@ -64,7 +60,7 @@ python_test() { ) local -x PYTEST_QT_API - for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do + for PYTEST_QT_API in PyQt{5,6} "pyside:6"; do if has_version "dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]" then einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}" diff --git a/dev-python/qtpy/Manifest b/dev-python/qtpy/Manifest index 6adbe7ec9214..b811dd2667cf 100644 --- a/dev-python/qtpy/Manifest +++ b/dev-python/qtpy/Manifest @@ -1,4 +1,4 @@ DIST qtpy-2.4.2.tar.gz 66849 BLAKE2B 1eb362e797950d6c1406fb02bb3047ca7f8fdecd2b75371ab34f39601c9bdebce33336e3809c0d35dca31673c88d1734721a6dfdfb65f2ce20729445c4a4ca27 SHA512 2f9a0e1a4839c8dca23b4364900a12c2bd00f518353785a41eb6bd62fdc469670457f18224e1150a5a216ff5d0c4e799c3a1711ff7703ea07fadd655538fa37a -EBUILD qtpy-2.4.2-r1.ebuild 6288 BLAKE2B 6f3b335f3993e62ff8b244c1bd44354578816cc155961ad53c1499de13aa89d0bdbc2d98b1a75d3e714853b324fe5c7c8720409b39d252d3dfa1a5b049bffc49 SHA512 bf64164e84e94b8dce61c5cd8e549fa02a552bdbf0b756359ea21d96ffeb8bd362b3576d2a8014630ed0e74a24af3291d16d1c18a5ff3037061e3b34b158b48d -EBUILD qtpy-2.4.2.ebuild 8768 BLAKE2B c33df24c46c1a8ffce6f6d6d0b96b8768fac0b178892a5fa5281ed643773ecdd025b69b1fcedddb426feb9811f3ed0aab1fff69629403395cc08dfdab4be8d85 SHA512 3ab577bde2bc6ffe18ec62f2bd28581370a4aec395b4979d889f55f2dff03b9dc3f6006f2cb097579ac91c406edcb26f22b7ef961b35a6caa1b16d194cab6f6a -MISC metadata.xml 3107 BLAKE2B fa723132c270828a594454973fcf8d21a007bf8b85c0d8e894b88b0503ed04f47297dd6e64271044655fa28b2e4c2f3de1b66eb102482708faeb6663ba5b32cf SHA512 d58042f52758743ed55a485c08ec3373edcd3d45ca77d3c076784c527d143ad4e530558b849f5e84416446f638f1c050bfc8e255ff85c26d1bf75777d07aacf3 +EBUILD qtpy-2.4.2-r1.ebuild 6271 BLAKE2B 9bfa2a96e7fde10e49e3c3ad69b6bbfecb91dde5bfc3e02fde4769901151f66cad3e7689b92d067ed7aecb69f245b229516e13c860153e530f7f737070f98076 SHA512 0976c21c23cb3c7ef840cc3b2a067ad95602373e493a8b3356f3d3626710e68c4ba4b7512488320b3e35e59e8f8d9b4b4c7861d1c1cb2413915b638582a8e1ac +EBUILD qtpy-2.4.2.ebuild 7650 BLAKE2B c77ff951b80a52de5544bc64b679779d3bc5d4ea81b44dbedf063da61a3e3175ba2bb5e48a85d53152ecb1e1c31176a37a775779a1b2d42b95f4b1dcbe405c99 SHA512 d0d4c0df0cbb4cf8723007d5b42e690e5b0869f311e0bd1e060a319519b3ce76ba3b825f2ed1bd393a9b74a0c441651d9db270a390c61fadcd3ec2740a8aded7 +MISC metadata.xml 3021 BLAKE2B 0e8ae3c83ed9b91a202c684b769c9277f3e67957e534b18a9bad173bb749f021f794ee610d9ea9c58b7556d0c2e176e57c55c2e8d08396a65b9b30388e431889 SHA512 16bc446e4f9eb0f78f91e368a457c5a276000435ce9e8ada9135a8eb47b8bb97c0934b83450d110db4ea76445fd9089fa24a43a65759f0fc0db6a68eca086ba2 diff --git a/dev-python/qtpy/metadata.xml b/dev-python/qtpy/metadata.xml index 2c32e7f74480..efd532e34547 100644 --- a/dev-python/qtpy/metadata.xml +++ b/dev-python/qtpy/metadata.xml @@ -17,8 +17,7 @@ <use> <flag name="pyqt5">Use <pkg>dev-python/pyqt5</pkg> as Qt for Python implementation</flag> <flag name="pyqt6">Use <pkg>dev-python/pyqt6</pkg> as Qt for Python implementation</flag> - <flag name="pyside2">Use dev-python/pyside2 as Qt for Python implementation</flag> - <flag name="pyside6">Use <pkg>dev-python/pyside6</pkg> as Qt for Python implementation</flag> + <flag name="pyside6">Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation</flag> <flag name="designer">Pull in bindings for the QtDesigner module and enable the designer plugin</flag> <flag name="gui">Pull in bindings for the QtGui module</flag> <flag name="help">Pull in bindings for the QtHelp module</flag> diff --git a/dev-python/qtpy/qtpy-2.4.2-r1.ebuild b/dev-python/qtpy/qtpy-2.4.2-r1.ebuild index 9b6dbd689790..a4a3ff96131b 100644 --- a/dev-python/qtpy/qtpy-2.4.2-r1.ebuild +++ b/dev-python/qtpy/qtpy-2.4.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -62,12 +62,12 @@ RDEPEND=" ) pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[bluetooth?,dbus?,designer?,gui?,help?,multimedia?] - dev-python/pyside6[network?,nfc?,opengl?,pdfium?,positioning?] - dev-python/pyside6[printsupport?,qml?,quick?,quick3d?,remoteobjects(-)?] - dev-python/pyside6[sensors?,serialport?,spatialaudio?,speech?,sql?,svg?] - dev-python/pyside6[testlib?,webchannel?,webengine?,websockets?,widgets?,xml?] + dev-python/pyside:6[${PYTHON_USEDEP},core(+)] + dev-python/pyside:6[bluetooth?,dbus?,designer?,gui?,help?,multimedia?] + dev-python/pyside:6[network?,nfc?,opengl?,pdfium?,positioning?] + dev-python/pyside:6[printsupport?,qml?,quick?,quick3d?,remoteobjects(-)?] + dev-python/pyside:6[sensors?,serialport?,spatialaudio?,speech?,sql?,svg?] + dev-python/pyside:6[testlib?,webchannel?,webengine?,websockets?,widgets?,xml?] ) " @@ -88,14 +88,13 @@ BDEPEND=" dev-qt/qtbase:6[sqlite] ) pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[3d,bluetooth,charts,concurrent,dbus,designer,gui] - dev-python/pyside6[help,location,multimedia,network,network-auth] - dev-python/pyside6[nfc,opengl,pdfium,positioning,printsupport,qml] - dev-python/pyside6[quick,quick3d,scxml,sensors,serialport] - dev-python/pyside6[spatialaudio,speech,sql,svg,testlib,webchannel] - dev-python/pyside6[webengine,websockets,widgets,xml] - dev-python/pyside6-tools[${PYTHON_USEDEP}] + dev-python/pyside:6[${PYTHON_USEDEP},core(+)] + dev-python/pyside:6[3d,bluetooth,charts,concurrent,dbus,designer,gui] + dev-python/pyside:6[help,location,multimedia,network,network-auth] + dev-python/pyside:6[nfc,opengl,pdfium,positioning,printsupport,qml] + dev-python/pyside:6[quick,quick3d,scxml,sensors,serialport] + dev-python/pyside:6[spatialaudio,speech,sql,svg,testlib,webchannel] + dev-python/pyside:6[webengine,websockets,widgets,xml] dev-qt/qtbase:6[sqlite] ) ) diff --git a/dev-python/qtpy/qtpy-2.4.2.ebuild b/dev-python/qtpy/qtpy-2.4.2.ebuild index f2a73c7871e3..7ea469098454 100644 --- a/dev-python/qtpy/qtpy-2.4.2.ebuild +++ b/dev-python/qtpy/qtpy-2.4.2.ebuild @@ -24,14 +24,10 @@ _IUSE_QT_MODULES=" printsupport qml quick sensors serialport speech +sql svg testlib webchannel webengine websockets +widgets +xml " -IUSE="+pyqt5 +pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}" +IUSE="+pyqt5 +pyqt6 pyside6 ${_IUSE_QT_MODULES}" unset _IUSE_QT_MODULES -REQUIRED_USE=" - || ( pyqt5 pyqt6 pyside2 pyside6 ) - python_targets_python3_12? ( !pyside2 ) - python_targets_python3_13? ( !pyside2 ) -" +REQUIRED_USE="|| ( pyqt5 pyqt6 pyside6 )" # These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds # Disable them for now, please check periodically if this is still up to date. @@ -88,21 +84,12 @@ RDEPEND=" webengine? ( dev-python/pyqt6-webengine[${PYTHON_USEDEP},widgets?,quick?] ) ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?] - dev-python/pyside2[positioning?,printsupport?,qml?,quick?,sensors?,serialport(+)?] - dev-python/pyside2[speech?,sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside2[widgets?,xml?] - ' python3_{10..11}) - ) pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/pyside6[positioning?,printsupport?,qml?,quick?,sensors(-)?,serialport?] - dev-python/pyside6[speech(-)?,sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside6[widgets?,xml?] + dev-python/pyside[${PYTHON_USEDEP},core(+)] + dev-python/pyside[designer?,gui?,help?,multimedia?,network?,opengl?] + dev-python/pyside[positioning?,printsupport?,qml?,quick?,sensors(-)?,serialport?] + dev-python/pyside[speech(-)?,sql?,svg?,testlib?,webchannel?,webengine?,websockets?] + dev-python/pyside[widgets?,xml?] ) " @@ -130,28 +117,13 @@ BDEPEND=" dev-python/pyqt6-webengine[${PYTHON_USEDEP},widgets,quick] dev-qt/qtbase:6[sqlite] ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help] - dev-python/pyside2[location,multimedia,network,opengl(+)] - dev-python/pyside2[positioning,printsupport,qml,quick,scxml] - dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib] - dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras] - dev-python/pyside2[xml,xmlpatterns] - dev-qt/qtsql:5[sqlite] - dev-python/pyside2-tools[${PYTHON_USEDEP}] - ' python3_{10..11}) - dev-qt/qtsql:5[sqlite] - ) pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[3d(-),bluetooth(-),concurrent,dbus,designer,gui,help] - dev-python/pyside6[location(-),multimedia,network,nfc(-),opengl,positioning,pdfium(-)] - dev-python/pyside6[printsupport,qml,quick,quick3d,scxml(-),sensors(-)] - dev-python/pyside6[serialport,spatialaudio(-),speech(-),sql,svg,testlib,webchannel] - dev-python/pyside6[webengine,websockets,widgets,xml] - dev-python/pyside6-tools[${PYTHON_USEDEP}] + dev-python/pyside[${PYTHON_USEDEP},core(+)] + dev-python/pyside[3d(-),bluetooth(-),concurrent,dbus,designer,gui,help] + dev-python/pyside[location(-),multimedia,network,nfc(-),opengl,positioning,pdfium(-)] + dev-python/pyside[printsupport,qml,quick,quick3d,scxml(-),sensors(-)] + dev-python/pyside[serialport,spatialaudio(-),speech(-),sql,svg,testlib,webchannel] + dev-python/pyside[webengine,websockets,widgets,xml] dev-qt/qtbase:6[sqlite] ) ) |