diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-07 04:45:45 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-07 04:45:45 +0000 |
| commit | 21e9c10b96a01e4d6bf8df25a04e138ead9d4300 (patch) | |
| tree | d3b9575eb6257710a53a9022757b8230cc0956e3 | |
| parent | 1d24e0cb5b6023b7261023d72d406134ac9c6aa2 (diff) | |
| parent | 031bc97a35844095a7209777f708cc52bf26120b (diff) | |
| download | gentoo-21e9c10b96a01e4d6bf8df25a04e138ead9d4300.tar.gz gentoo-21e9c10b96a01e4d6bf8df25a04e138ead9d4300.tar.bz2 gentoo-21e9c10b96a01e4d6bf8df25a04e138ead9d4300.zip | |
Merge updates from master
22 files changed, 497 insertions, 213 deletions
diff --git a/dev-python/backports-zstd/Manifest b/dev-python/backports-zstd/Manifest index fa2b0625c4e0..04cf7d8838f5 100644 --- a/dev-python/backports-zstd/Manifest +++ b/dev-python/backports-zstd/Manifest @@ -2,3 +2,5 @@ DIST backports_zstd-1.0.0.tar.gz 995991 BLAKE2B 6aa424ac191db255ed93e31a0c23c364 DIST backports_zstd-1.0.0.tar.gz.provenance 9489 BLAKE2B 6e9d39b29faae7a72934f14070db60b5e8464555cc77005e02088a8c0d53fd870e1c2e1d63eee8658d48ae569dcf6de1fd5ffaa81527fd1317189c06d29397db SHA512 87047ee17a00df0f6173d49131ec033f7811b825c0d95611bfde9a52d4a3248b94a2960f5bb55b4df75ad9b15502294d68d7f3ae0730b33d19e8dd6fa1fee328 DIST backports_zstd-1.1.0.tar.gz 996020 BLAKE2B 63747df8cbbbc69f53cabae56708849915ba822ed20487fdec01887100ab07c2d342dc275e9c80e4d62078282aef9f7eb100846539ceed832448c20b4198722d SHA512 9a23debaa624f85996a5ddc91cb085531c43ebe92518e8c82bbb0bdca71bcbb96229af9bd245a109c6c554e9af00a822288b452ce68f62f7d3a332167d53669c DIST backports_zstd-1.1.0.tar.gz.provenance 9395 BLAKE2B 8fa4bdf2e4c57926f897e0b1678b38b47f9097e2b788503b23ea366f6d6595ecdbb03739934d8bf8c494e4db9f4e9654760256b1a6cc6dcacb050852fea29c59 SHA512 165b5c10d2169f5a2f3d0315c77f965a720727d4616fcd539aa2bb1a026d35f11b9d6215e75d663604bcd129d95fbe78b690f4b363282175b2be4189b987bde4 +DIST backports_zstd-1.2.0.tar.gz 997263 BLAKE2B 63cc3af77e9b5ef0fc14f4b3c8fcf20b2dafd8b28fc6177e954c4261134de8f72c1d3c09478158ec36c92b6f3b1553a10c68cbe5f23b2b01164c4b65c7266b70 SHA512 98f3962ad2628c7c032848a43cc1116e2cdb1e5ac7fadff640ecd7a36dee8ccfae0c230ef0297047bf6a54159e3493ac468888a9d1cf6e02594541473cd31352 +DIST backports_zstd-1.2.0.tar.gz.provenance 9389 BLAKE2B 0c4fc2709b9cfb4fd614a21f4f660e786c3f8de250d08d77bbe8b4fff22ca4e8b541aff3f80166860b19e8fe76d6ad88be37bb4bd7977652b0ea4ef18efbccaa SHA512 109d3300d365d7ccbea6032f9d4e58fad9c46680489f474f7fea0b986e982ea0d0b1cf84f99096acb1758b4c984a700725c730a32da0d18c32f20b64df8f14e2 diff --git a/dev-python/backports-zstd/backports-zstd-1.2.0.ebuild b/dev-python/backports-zstd/backports-zstd-1.2.0.ebuild new file mode 100644 index 000000000000..36b2b573a9b6 --- /dev/null +++ b/dev-python/backports-zstd/backports-zstd-1.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/Rogdham/backports.zstd +# this is a backport from py3.14, so don't add it +PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of PEP-784: adding Zstandard to the standard library" +HOMEPAGE=" + https://github.com/Rogdham/backports.zstd/ + https://pypi.org/project/backports.zstd/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # remove -flto and other forced cflags + sed -i -e 's:kwargs\["extra.*:pass:' setup.py || die + + DISTUTILS_ARGS=( + --system-zstd + ) + + # remove namespace file + rm src/python/backports/__init__.py || die +} + +python_test() { + eunittest tests +} diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 87acb93dbe9a..9e7c5af2a78d 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1 +1,2 @@ DIST django-timezone-field-7.1.gh.tar.gz 36680 BLAKE2B 47a754f0050967c196b9d47199bb83f87984ae66cf36578681d54722b76908c506c5ae290d81bb5e33fe3df3c79840301697d935edf8f076f89c6cda1b64e36b SHA512 e242ccebccb3942b2b681e87ebeb4546f925d270b705fa9049a350640c3888c2a9388339c5be9909645b0fa772a4dd71199450639f9fbe2cce531fa6a9bd0df0 +DIST django-timezone-field-7.2.1.gh.tar.gz 39077 BLAKE2B 29c51cf5c4614891cb7d3ec82d629a98914f5efe0f15d024073cd7518d43547eb978544aee7ef0f3e5bca940cc64ec2845806881d64fe4eae1ce6bc1c713857a SHA512 700d98603a9c6345b6107ae970c7ceebcc02571798a7fcfa96820ea759d7784ff5385d56544ca93a0a03d9160d3eb71a847dd839d621d107da76310cf45d22c1 diff --git a/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild b/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild new file mode 100644 index 000000000000..a5f1a6e1141e --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for timezone objects" +HOMEPAGE=" + https://github.com/mfogel/django-timezone-field/ + https://pypi.org/project/django-timezone-field/ +" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + <dev-python/django-6[${PYTHON_USEDEP}] + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-django pytest-lazy-fixtures ) +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/findimports/Manifest b/dev-python/findimports/Manifest index b072791a14ff..209792c91d7a 100644 --- a/dev-python/findimports/Manifest +++ b/dev-python/findimports/Manifest @@ -1,2 +1,2 @@ -DIST findimports-2.6.0.gh.tar.gz 27787 BLAKE2B 713cd2fac7dea94c7168ee214f4b2b73dac6cab3275015caaa65f2d7eb87d30139a0c6ac6163127182ac22a56c9804dc8afa584bf5cd9cd2c3a2edcc5214a3cd SHA512 711926e8d59268e1b9ce3e8ddfa94852ad05e3c48eb5f2cd41ec0dc20d58dae2c7ee6175b7b90055b94537e6f634cd0de483a2b5d75d007da0c359b05a4b02b7 DIST findimports-2.7.0.gh.tar.gz 28476 BLAKE2B 7ab5ebc6cec477297437890464636c6b96676c1272ea5d3c786fa2229b113c6106070960c665b83dd920e90bda92fc4c4d70151b05006ceb6efd8ee8adc7b314 SHA512 fcf28e0c9bdc8a5c0768c734008b63f5b9abd5c46d455814b742f2464fd7bc49e0bc518b9feaf8c208d7b6c58fdc96ada9b20d593bdc90052f78cd155808960c +DIST findimports-2.8.0.gh.tar.gz 28588 BLAKE2B 11dd3bcd890da6ec61c38f2e121efcb0152bb467c5af3fe80a808802a71f26bdc5ed990a039baab89ee14d7176c7775fff355b3eed89b7ae417c639d5d96905a SHA512 528b3c3945d8340a60b3f7316cd1dd78ba8b9f3d6decc9e89e25c72e45e861fe832dc2759a1f783281b77aebec905abf3bb203c53c7688ffa6f5d633e3a53bcb diff --git a/dev-python/findimports/findimports-2.6.0.ebuild b/dev-python/findimports/findimports-2.8.0.ebuild index 99d64a9cd8c2..093d7f92d57d 100644 --- a/dev-python/findimports/findimports-2.6.0.ebuild +++ b/dev-python/findimports/findimports-2.8.0.ebuild @@ -22,6 +22,5 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -python_test() { - "${EPYTHON}" testsuite.py -v || die -} +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index 7137a5127562..8d075347f3da 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -2,3 +2,5 @@ DIST librt-0.6.3.tar.gz 54209 BLAKE2B 93f0cfaed3fb4868871149b752c5b2d7a7ec8ab67b DIST librt-0.6.3.tar.gz.provenance 9164 BLAKE2B 9c7d26223e381fd14f608f9082a28025db40d281a1d04b7ee56fddf72f4a12d9a31bc97f367306dc924f76f9ed7eea2f9f8f2d49c7a64b7fc3f5c658c3bba82a SHA512 e032f0d68d08f88f01ceedcfba7bca8f7de2f2089044a7bc1e4986e6b4cbd2847d9e40d5c4d16ca7ac526e13cc0f74e04e801c2ba09b2145f54da28c50b77ee0 DIST librt-0.7.2.tar.gz 144193 BLAKE2B 72e1f613839b493ce823224810057f7f7161b8001eeac46b32b7e784ebc49da6c5de86b4b1074ee1d4fbff14feae963103224a991f54d2d3cef9be9599dd3dfc SHA512 472c4d7077fdb22ef30f6833620553b0b821ff9142d06041b3f84f5247efdeced966d160e61b9218e65ec3ec3463f843dc57c8478fd088c466904792d7096de1 DIST librt-0.7.2.tar.gz.provenance 9211 BLAKE2B 30abcae4ba65ab329dbc18831407d48d12927dd2a745180cdb1bbb72961d8c73c1375f39494786bbbcf630e9354627e9a9c55e2353e0005a9e26c03935f31181 SHA512 4c6afc3f8b0a640a7f729aac617515dce7fd72a43e177cd550dac1299ee7552b003ac22e8bf0a4249df9738e3a3872741cc20a3b3041982b83a378fed7d73f03 +DIST librt-0.7.3.tar.gz 144549 BLAKE2B bd2dfcb0e38ec3661dbca593ea0dd04ed53cb83a2d4f6802ebdbac7cbd7adb0ec4c82ecf6270cefd2c17a8138db49fa4abbd1224c74427b5e4c790d2094d01be SHA512 40f69187c130426fd19257d034154a1ba4a26ffd55d031fbe63cd2322ad98a4b93ca844ec6a500b383cebbe1604762ec99c72aad17347d931e963da5e75cb75a +DIST librt-0.7.3.tar.gz.provenance 9031 BLAKE2B 29bb40bfd588ba30a4e8d011352efa59a862f5c542721f263ea07a0999ae4b1fa594a1474c4ed2fe463af95e16e612cf0ce5d9e80d97ac46f829e6fadccbe4c4 SHA512 6c98d14ed21339347b5cd12bae08333056b6172aa7296f9eb9d2c4282982c5c3df270e9e33b880a58306984bc0b60b33a456d5710a1b47199d9ddce3213e3e11 diff --git a/dev-python/librt/librt-0.7.3.ebuild b/dev-python/librt/librt-0.7.3.ebuild new file mode 100644 index 000000000000..6271fdc94475 --- /dev/null +++ b/dev-python/librt/librt-0.7.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/mypyc/librt +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index c65acf301dd1..579622e610ad 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -5,3 +5,4 @@ DIST libtmux-0.48.0.post0.tar.gz 359150 BLAKE2B 8e105588e041e9ec106c6fba0419c601 DIST libtmux-0.49.0.tar.gz 355432 BLAKE2B f6022b474168bfb1a71b319b1c6ebd3e290eaf4577576db72a877243d5ec81da86d4cdb7d1d979b5ef8f5ea22b590a8578285bf09699e122cab91a963a6f4fc4 SHA512 977f4da6f470474106f964559f1a40b0152b91ed7812977dbc504c3f54e1feff370c42b6ec259714b585e54edc55bf5422daa33e4cfafeff98f434038891d2a5 DIST libtmux-0.50.0.tar.gz 401066 BLAKE2B 4f8e24248d30ad5672eff5ea272223a0603eccfd158b735afe0ddb95c47f454c89f4f4fcc3c9d66d9e3e63cf881e6d0d442ea057abb5a925f5eae9760a99e8fd SHA512 101b7a3bc3c980aa9b5d8e3f7d3ce3c00ee778c5bdb6d65ca16782780982539409f2afa822171acc7913ec3c48bfc2e684d5a1142c85ab6b243c36f2efbe72b0 DIST libtmux-0.50.1.tar.gz 401531 BLAKE2B 0d6490122e21f0a82435e6506e1269fdf33478ab9fd8770b3147d517ba766b48de029d4ce6d7d78e5976bbd280137bd71d1cab590df2ae67e6c85bd4728e3475 SHA512 e3fccda1383b8443da55916f82a892d704248fb12b4afedf87f9fade6d69dcd302300af12fb9be5f783c1422973cd242431ad8f6f70498e1e25d2e90d6d3c663 +DIST libtmux-0.51.0.tar.gz 398729 BLAKE2B b8e3711278b5906a5945bc7c10dedc1bb4a2bc72df9c5ca3378fb95709f5ad3311f3788c797ac5c99035f938df4cc2701598a8ea7e260a2a45f4f8a78093f54d SHA512 1792151627c53d05fd856835e07a9fbc58d19a4153fef21f609a0837c67c5b699de86072d24fcf9cc07ca32436390f3b0e5a4569bd4922879aa4a8a444115db2 diff --git a/dev-python/libtmux/libtmux-0.51.0.ebuild b/dev-python/libtmux/libtmux-0.51.0.ebuild new file mode 100644 index 000000000000..578d5b1119f4 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.51.0.ebuild @@ -0,0 +1,37 @@ +# 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_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + + epytest -o addopts= tests +} diff --git a/dev-python/pudb/Manifest b/dev-python/pudb/Manifest index 5bf7badf782e..299f8b4b7fea 100644 --- a/dev-python/pudb/Manifest +++ b/dev-python/pudb/Manifest @@ -1,2 +1,4 @@ DIST pudb-2025.1.3.tar.gz 225627 BLAKE2B 64e4cf3fe1fed96fb6bb26339d02f85528bb8ef90a62fafea358f405b8303d3a1783fb507503dac28f390b6d4f891268d51aabe72c05408daefaa7d9388e8ed2 SHA512 68be2941ed57e6116b837049838253f2ec4d4f412ece601e8796ea1e33a29fac565e48abeed1e6e61d5a1532ec0bb3eb52b3d2b77598e6922f4565fea21ed398 DIST pudb-2025.1.3.tar.gz.provenance 9451 BLAKE2B c0d9c787aee05712c5c081c21155ad9b723fce29c6a4a5ceb5acc9f3f470dac9c52bcf188d628fe409e3882e777810509a5b7473711b18d8f7843d7e78811e5f SHA512 9fa91482449f60d0e46ceb41fb9c485cdde40272f88ef2424b1782fad02d5fcbfe7530865fe422b1d60ca216dd8980a978bbe6a7ac3af0092163d6ae2aa20677 +DIST pudb-2025.1.5.tar.gz 225714 BLAKE2B ea01971cb4a3e0be4777cf049a1d69165ebdb6d4d9d3b79da3c6c648aaab22d3bad16d052de1cc9ea46202e81fc4596e333f1bb0c43a61e3618617e5ea1118da SHA512 576fe317600f925c17edbcd41842e6ef651ba3c005eb1f7fd498751a9c5ad4bfef6304ed02d5e148cef7aecb0413e83e4f6f4f377a658d5384b9c3ac2122c379 +DIST pudb-2025.1.5.tar.gz.provenance 9398 BLAKE2B 1a7f35eafc7d85cd55862b0fd869b1e7bfb0c15e6012a1bebac8bd0daaf549b664dd3148b4fa5bf29ebcd3dae118dded3592970212dc6414c6ecfaa60239c6af SHA512 31c209e64c077f6745d7283dfbaae6f5396a2355dc05ce5c4036030d6d492b48e6abab020cc9bb7dcc7b91b4d64affa97db16f4980a9d72591329e18459fc8ad diff --git a/dev-python/pudb/pudb-2025.1.5.ebuild b/dev-python/pudb/pudb-2025.1.5.ebuild new file mode 100644 index 000000000000..0e2e44bdc623 --- /dev/null +++ b/dev-python/pudb/pudb-2025.1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/inducer/pudb +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="A full-screen, console-based Python debugger" +HOMEPAGE=" + https://documen.tician.de/pudb/ + https://github.com/inducer/pudb/ + https://pypi.org/project/pudb/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/jedi-0.18[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.19[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.13[${PYTHON_USEDEP}] + >=dev-python/urwid-2.5.1[${PYTHON_USEDEP}] + dev-python/urwid-readline[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +pkg_postinst() { + optfeature_header "Install the following packages for additional functionality:" + optfeature "Auto-complete support" dev-python/jedi +} diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 9a177bcec5ba..1f659b90859b 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,6 +1,5 @@ -DIST pytest-8.4.1.tar.gz 1517714 BLAKE2B 1122694101de967a16f3103aa54e02baf28e03ad231f8e3cd93a559d1d9c9249046e95cfcf5708821a4b843b6474e4d30793a454e93e5167b1ff7ddc4514f71b SHA512 1ed64a70e6b49f52364f4d08ca179a47bcd0a709c327c1666f6e5f909c723ce1e2ba56abe08cf1348f75c1fa447da71c4faac8e3e76adb0c563cf66267c8633a DIST pytest-8.4.2.tar.gz 1519618 BLAKE2B 0676b8a3510dc740d94e96eaa6312574ed0058baec13f161c4f1ab85872ac69ebabaa707032becb068fc128662d931b6b05f92dec9bdf6c268553b956bf43003 SHA512 a6732666e7b59b2c28b47b1020a8381d31073cf9113086c562295429fddfa6b4ef2afda3cdcce0ec60bf60d038ad2bf8e921a2a409f3d56e31d94ca39e5ea81b -DIST pytest-9.0.0.tar.gz 1562764 BLAKE2B cc762e4aad0e44b592a3b47c9db250332803f520d2f96b3325883a9e6ecdc0ce06d67e2795ab0a49379ca7f377199020e387a7c852adf65778a0bc4794913be9 SHA512 aea3b1187eb0792d32b706afc9b5042c047b786460d08c286fa2ff25ba76a073cdbaaaa1b068e2633059822fe735806ef61dcb6cfda9df033d5826018c3493bc -DIST pytest-9.0.0.tar.gz.provenance 9487 BLAKE2B 2dc6163e4a198412d43339b73ad1697f5ef3d3587587bb5df583521dde11f254c00d6a8abaea853756a311a59bbd6e9cc819f9230bad662eaf23634540511095 SHA512 4bffebf7f900fdca6465eff5c760dea9e53342a823ccffea69bebbfc020e8f80f678f97e0b781b538a0622ff9377286ca58de49bc2854650c94e8f8f54d0280d DIST pytest-9.0.1.tar.gz 1564125 BLAKE2B 60cb40383208e5db87e6f2c2ff41bf2e1955376f5057bfb4d06ff259eca5137b08142d4a0d380cae1e3a64146851095eb4fbee2f4b26b71e207249f88bcec511 SHA512 1cc2fe1eff97bf00f4b194da0dc8bd9976a27206b0b761b6a55503065a978f03d256aaf6b7a4c80aab08f09668cf120e80867f33a7d6fd2f09caa34226841671 DIST pytest-9.0.1.tar.gz.provenance 9471 BLAKE2B 7ccebb9ebc162e791ddbbda6c6e6cfa86c647152dd46b1c9665d2ea0be053c9f8054a10261d656f7ab678ef38595a751c0764963b848abeff43bbec3c7c640c1 SHA512 d3bea0c69e383dab300daf71469575cdf6043b86d0e7baa679139d4dd3a7375d4acf019e52e46fb720e765873d00a43a8dad5c0566f42d1e61ecc9859d4a5210 +DIST pytest-9.0.2.tar.gz 1568901 BLAKE2B dfee0770197f86ca8a13cb80f39c5d0e6a017097daca590fdbc0ef32e8882f03eb1ec8850682414da194deb63c48f7e280f2c9b14ed3b87e2de81b27a9ded366 SHA512 4f8177b30e39a644763d3e37a78d28d2e8b40e47a834862096571255279adfde22278d27801e36e366cc49e7ab59c38a0f4597b9f5b4c3e45912bd046ef214c9 +DIST pytest-9.0.2.tar.gz.provenance 9481 BLAKE2B e92eceb4757782e5c8654c7f5cb788e5c197f1f9c198d684104cbc5d540322f4c0f0e6a93d6352e318ec79660c48ea792c3bd3714be59ee7e2a0c40d11000e1f SHA512 07c5c0a21a593cb02810b7beb3e882c3bb3671873d2755f9490c737532ee3934f00be679cdcd0c8650f4cb85d302797978e89d8b5fab623f872a771086b64df1 diff --git a/dev-python/pytest/files/pytest-9.0.0-skiptest.patch b/dev-python/pytest/files/pytest-9.0.0-skiptest.patch deleted file mode 100644 index 2b266d8042fa..000000000000 --- a/dev-python/pytest/files/pytest-9.0.0-skiptest.patch +++ /dev/null @@ -1,79 +0,0 @@ -From 2ef26ee296c917d1699e283863921c134866d622 Mon Sep 17 00:00:00 2001 -From: Bruno Oliveira <bruno@pytest.org> -Date: Mon, 10 Nov 2025 08:51:35 -0300 -Subject: [PATCH] Restore skipping tests via `raise unittest.SkipTest` - -Revert "Remove unused code related to `nose` (#13528)" - -This reverts commit a620d24376eb2c4bc964f2b6efcc694a4adbbe21 and modifies it adding tests and docs. - -Fixes #13895 ---- a/src/_pytest/unittest.py -+++ b/src/_pytest/unittest.py -@@ -476,6 +476,14 @@ def pytest_runtest_makereport(item: Item, call: CallInfo[None]) -> None: - except AttributeError: - pass - -+ # Convert unittest.SkipTest to pytest.skip. -+ # This covers explicit `raise unittest.SkipTest`. -+ unittest = sys.modules.get("unittest") -+ if unittest and call.excinfo and isinstance(call.excinfo.value, unittest.SkipTest): -+ excinfo = call.excinfo -+ call2 = CallInfo[None].from_call(lambda: skip(str(excinfo.value)), call.when) -+ call.excinfo = call2.excinfo -+ - - def _is_skipped(obj) -> bool: - """Return True if the given object has been marked with @unittest.skip.""" ---- a/testing/test_unittest.py -+++ b/testing/test_unittest.py -@@ -1094,6 +1094,49 @@ def test_two(self): - result.assert_outcomes(passed=2) - - -+def test_skip_setup_class(pytester: Pytester) -> None: -+ """Skipping tests in a class by raising unittest.SkipTest in `setUpClass` (#13985).""" -+ pytester.makepyfile( -+ """ -+ import unittest -+ -+ class Test(unittest.TestCase): -+ -+ @classmethod -+ def setUpClass(cls): -+ raise unittest.SkipTest('Skipping setupclass') -+ -+ def test_foo(self): -+ assert False -+ -+ def test_bar(self): -+ assert False -+ """ -+ ) -+ result = pytester.runpytest() -+ result.assert_outcomes(skipped=2) -+ -+ -+def test_unittest_skip_function(pytester: Pytester) -> None: -+ """ -+ Ensure raising an explicit unittest.SkipTest skips standard pytest functions. -+ -+ Support for this is debatable -- technically we only support unittest.SkipTest in TestCase subclasses, -+ but stating this support here in this test because users currently expect this to work, -+ so if we ever break it we at least know we are breaking this use case (#13985). -+ """ -+ pytester.makepyfile( -+ """ -+ import unittest -+ -+ def test_foo(): -+ raise unittest.SkipTest('Skipping test_foo') -+ """ -+ ) -+ result = pytester.runpytest() -+ result.assert_outcomes(skipped=1) -+ -+ - def test_testcase_handles_init_exceptions(pytester: Pytester) -> None: - """ - Regression test to make sure exceptions in the __init__ method are bubbled up correctly. diff --git a/dev-python/pytest/pytest-8.4.1.ebuild b/dev-python/pytest/pytest-8.4.1.ebuild deleted file mode 100644 index b294fe3233c5..000000000000 --- a/dev-python/pytest/pytest-8.4.1.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# 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_{11..14} pypy3_11 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_{13,14}t ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE=" - https://pytest.org/ - https://github.com/pytest-dev/pytest/ - https://pypi.org/project/pytest/ -" - -LICENSE="MIT" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - <dev-python/pluggy-2[${PYTHON_USEDEP}] - >=dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -src_test() { - # workaround new readline defaults - echo "set enable-bracketed-paste off" > "${T}"/inputrc || die - local -x INPUTRC="${T}"/inputrc - distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x COLUMNS=80 - - local EPYTEST_DESELECT=( - # broken by epytest args - testing/test_warnings.py::test_works_with_filterwarnings - testing/test_threadexception.py::test_unhandled_thread_exception_after_teardown - testing/test_unraisableexception.py::test_refcycle_unraisable - - # does not like verbosity - testing/test_assertrewrite.py::TestAssertionRewrite::test_len - - # tend to be broken by random pytest plugins - # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) - testing/test_helpconfig.py::test_version_less_verbose - testing/test_helpconfig.py::test_version_verbose - testing/test_junitxml.py::test_random_report_log_xdist - testing/test_junitxml.py::test_runs_twice_xdist - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose - testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal - testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info - testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info - - # unstable with xdist - testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist - - # TODO (XPASS) - testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice - testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug - testing/test_debugging.py::test_pdb_suspends_fixture_capturing - - # setuptools warnings - testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package - - # PDB tests seem quite flaky (they time out often) - testing/test_debugging.py::TestPDB - ) - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # regressions on pypy3.9 - # https://github.com/pytest-dev/pytest/issues/9787 - testing/test_skipping.py::test_errors_in_xfail_skip_expressions - ) - ;; - python3.14) - EPYTEST_DESELECT+=( - testing/test_doctest.py::TestDoctests::test_doctest_unexpected_exception - ) - ;; - esac - - local EPYTEST_XDIST=1 - epytest -} diff --git a/dev-python/pytest/pytest-9.0.0-r1.ebuild b/dev-python/pytest/pytest-9.0.2.ebuild index 8863c957aea8..4dc0bb8c72d0 100644 --- a/dev-python/pytest/pytest-9.0.0-r1.ebuild +++ b/dev-python/pytest/pytest-9.0.2.ebuild @@ -46,11 +46,6 @@ BDEPEND=" ) " -PATCHES=( - # https://github.com/pytest-dev/pytest/pull/13912 - "${FILESDIR}/${P}-skiptest.patch" -) - src_test() { # workaround new readline defaults echo "set enable-bracketed-paste off" > "${T}"/inputrc || die diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 41f3e3f200ab..592db0a9619f 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -4,9 +4,11 @@ DIST selenium-4.35.0.tar.gz 907991 BLAKE2B e2d0baade499b41cdb23bdbae0059163fb581 DIST selenium-4.36.0.tar.gz 913613 BLAKE2B cc4354d8c5a85aea2ed8c825b2ed06833db7f85276f99c8294b4dcaa1b58ad48f81549a8aafd4e93143b97eeaafd1c96d162b93c3c7bb7d45df6dbd7e9764f9b SHA512 9ad9a3fbe1234754d7eaac94ad07f876108f390414addb057b50fa3ae46107f40f1cc7b40683064d59b82ce081ca9ca0297be6a55f61e8c19d93a49b91bc6d57 DIST selenium-4.37.0.tar.gz 918689 BLAKE2B 2ca4067e3e1729345b078515fc362571c73e818f9f71697f96648829d777df50e51d6ef29c1af5082718c5ce127e9bb8af4e3a7e3ed9b3f4f90164334c1693a6 SHA512 0406c57c1bd7614fed716c9fb59be089f63c102e2f7fc06ee38db4a3390bb3bda37f171818a3e6697ebe84f380238cb9d97214dbd5f7a99a2b6038cf6e75d682 DIST selenium-4.38.0.tar.gz 924101 BLAKE2B e0bb400e646a36abdaf11c2916257af63984c44bc748b3a9764905d860fa2ece8ec75ee5b7a5618e5b0cff5c95aae01e07d39005efb3c48a4ca8e8ce282c9ed5 SHA512 85e8b5a9a201838a82afc68e7eb0255aa67a50c51f62b705e4d064a27a5b80535960d980816266876054eb29917da1cf63d9d4c4924fe6cd2632822a1518817b +DIST selenium-4.39.0.tar.gz 928575 BLAKE2B 8a95a0ee4293156ddaccf9334e24df26de552b96f86827471027b011269f35f141174b486084731be4fb01d8a302c5c4d02ff04642adc089bcea5307b9e8aa05 SHA512 2950a52f452a652fd89f38f9c0d03abe9827be646827121f78c39f27995edeeb12177822215704b7e3f06e4e901e21ac87dadd68015c7a240bed09a914508dc3 DIST selenium-selenium-4.26.1-python.gh.tar.gz 77109265 BLAKE2B c0c5693c64fa65a627e5edf0cbbc051410fcddf59e4fd80c362b9a382c586fc3ad3d574674e5523ab284b40b6639e95e85fd1c8195f2f1a6f35ad6532ed667ce SHA512 7ace69332f17c6f7e28b81223f4c8c62cde1832b5acaf2fd1c777a08a5a9cfebb5d9c83daa10462eeb3acb9c7cb5038711f5acee51f5dad3910d7e29e4387d3f DIST selenium-selenium-4.34.2-python.gh.tar.gz 52515190 BLAKE2B 319a7083d5942c1962b4f48f907fea12943a403e4490f74f3cd38662f1c63f57270b27b6039a5a8f29a980540cd0dcf1d1c7560c7ac126f07e491983dc0e81ef SHA512 5ca0b6e970ded3dc93cd55a2c1af7c43063d87f57f119a011313eb7d08faa4057896a56d4eac2e13d39857c94b54f04840a053153cc39008c76cbdd33c8ddbba DIST selenium-selenium-4.35.0.gh.tar.gz 52550104 BLAKE2B b7ed0fb513cfb2ed24aa8393497b349f930739c3d24a330e5942fbaa5505f31d7086396a430776a3a28a5f65927b92bf27c0a32e8c36d893b5d62ef73151d5ef SHA512 dc73829e3b0fcb7fb7ee1cc04574b95b63d23f67974575dbd66338e14a5cb2b06f983145ce874be0d7124e8828b0a41b99c75d3befb19e04cbf8d027d0bb983a DIST selenium-selenium-4.36.0.gh.tar.gz 52567842 BLAKE2B e5e715ce0d4e491f2551ea13c2b9cd6c1021fafd6b0bf0dacba9b0aa4e3f479816cb910c66e286e8cb7b737063705caa2c843db3ccb83f964b4bd64ff174d935 SHA512 b95037df807c827c8f110d112ec0d062c7bb3c71b9faf31f5bfae59b5bfd1c2e20b035c3c3ab180b2319f8ba952042fb77966eb44db5b803a545fa18e0285bb5 DIST selenium-selenium-4.37.0.gh.tar.gz 52580241 BLAKE2B 360f0c435cd79c37d65e03a6e049ab75cde20683599965a4ffbd155dd31ca7c8e0c5bbca83f3688d29a2404a51b6c6633581e369bcfb95b7b13b8508b0b65787 SHA512 0389e5dad02719da66689a9509ca95ae009120218f47ffedc1db2bb4063e95d842b527be23828a988c66c8b2ab7452817571aeda14b4f3254c5536d2d4b0f535 DIST selenium-selenium-4.38.0.gh.tar.gz 52583428 BLAKE2B 539234726775fd23357bf18881242b8b9c27ca62a9a3dd27d5625ba571d9e83df5639fedcd062474358ab821c6c7609668481db1a5311a2388d52e922c4e9f5a SHA512 68b6e819ecfd9bdd02701ebe96e9d28aa98893a738c5684162e6bfd263652f13d49567b4e2365286fcd08501b00024646e65e7e6b54ee713af42ed0ae99a4985 +DIST selenium-selenium-4.39.0.gh.tar.gz 52628198 BLAKE2B 91745d908c8ce1c2a898daacf7e5b3c1d309e3f63e450f4d5e7d343ecf67a587b57b5c573630adcf736b4bcf28abd9b2cda101a632f48bec8eddd6fc7a67e510 SHA512 e780848fce92ce99977a7c24983e075bc7338450196e8511a11bdace9c7d6e7de0b64e471a02d7403c10031100dfff674b302f24133e49d11ed5af4ca1cc20ce diff --git a/dev-python/selenium/selenium-4.39.0.ebuild b/dev-python/selenium/selenium-4.39.0.ebuild new file mode 100644 index 000000000000..8aa390319d95 --- /dev/null +++ b/dev-python/selenium/selenium-4.39.0.ebuild @@ -0,0 +1,151 @@ +# 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_{11..14} 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://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 ~x86" +IUSE="test test-rust" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/certifi-2025.10.5[${PYTHON_USEDEP}] + >=dev-python/trio-0.31.0[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.12.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-2.6.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + $(python_gen_cond_dep " + dev-python/filetype[\${PYTHON_USEDEP}] + dev-python/pytest-mock[\${PYTHON_USEDEP}] + test-rust? ( + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] + >=dev-util/selenium-manager-${PV} + net-misc/geckodriver + || ( + www-client/firefox + www-client/firefox-bin + ) + ) + " "${PYTHON_TESTED[@]}") + ) +" + +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 + # unpin deps + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +python_test() { + # NB: xdist is causing random pytest crashes with high job numbers + + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_PLUGINS=( pytest-mock ) + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + ) + local pytest_ |
