diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-09 19:03:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-09 19:03:25 +0000 |
| commit | 0ca2475507fd66bddb0667616d8a492a9e6fef5a (patch) | |
| tree | 45eee576236685f6572fc0c30f3b76ac761af549 /dev-python | |
| parent | 9046328b88894e745a1675229f7d0333e0182290 (diff) | |
| download | baldeagleos-repo-0ca2475507fd66bddb0667616d8a492a9e6fef5a.tar.gz baldeagleos-repo-0ca2475507fd66bddb0667616d8a492a9e6fef5a.tar.xz baldeagleos-repo-0ca2475507fd66bddb0667616d8a492a9e6fef5a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
30 files changed, 489 insertions, 153 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.13.2.ebuild b/dev-python/aiohttp/aiohttp-3.13.2.ebuild index 8eb9b27f8e6f..aa76b28186b9 100644 --- a/dev-python/aiohttp/aiohttp-3.13.2.ebuild +++ b/dev-python/aiohttp/aiohttp-3.13.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" IUSE="+native-extensions test-rust" DEPEND=" diff --git a/dev-python/autobahn/autobahn-25.10.2.ebuild b/dev-python/autobahn/autobahn-25.10.2.ebuild index 84aa27d316a2..6b223c6934eb 100644 --- a/dev-python/autobahn/autobahn-25.10.2.ebuild +++ b/dev-python/autobahn/autobahn-25.10.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" IUSE="+native-extensions test xbr" RESTRICT="!test? ( test )" diff --git a/dev-python/backports-zstd/backports-zstd-1.0.0-r1.ebuild b/dev-python/backports-zstd/backports-zstd-1.0.0-r1.ebuild index a57bc005c25c..66f323d9eda0 100644 --- a/dev-python/backports-zstd/backports-zstd-1.0.0-r1.ebuild +++ b/dev-python/backports-zstd/backports-zstd-1.0.0-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" DEPEND=" app-arch/zstd:= diff --git a/dev-python/base58/base58-2.1.1.ebuild b/dev-python/base58/base58-2.1.1.ebuild index 33db65a44be2..28173c0f7822 100644 --- a/dev-python/base58/base58-2.1.1.ebuild +++ b/dev-python/base58/base58-2.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/btrfsutil/Manifest b/dev-python/btrfsutil/Manifest index c01e5db1e2e1..fc4d25f69c82 100644 --- a/dev-python/btrfsutil/Manifest +++ b/dev-python/btrfsutil/Manifest @@ -6,5 +6,7 @@ DIST btrfs-progs-v6.16.1.tar.sign 566 BLAKE2B d2d7078120f781f51abac29ad2d052d7e1 DIST btrfs-progs-v6.16.1.tar.xz 4953240 BLAKE2B 4d734022ddf3ff49a9a409ef387566a0e95bed22d2f2a3517e75e1c53083cd99e78da14afacc55cf49279c4dcdd718a9252ced52b280740f241c9526e21b3561 SHA512 55348627bdc3a0bcf6202ed352c539a9318328b2b9e0ab95526f34dff203d2abb66d70d4620122a6f90b7c1ccb7c646d297be3f6047a14144c867bae0cdc13d4 DIST btrfs-progs-v6.16.tar.sign 566 BLAKE2B 80e30440ac59c034fd4d9d9cec7a5ddd1fd9533e350066d3c92d276e97023ba12b83daa98bb87065ea93a3651a6b51d4195d3cb89f8dae43986674434dffab7e SHA512 21f134616f91e7cf2e863908ae9793c7561f24985ec879056d7dddf6ae3b0766ae83bd5205dc12633b215cae1cce177bb9b8c39c84909fbaf53624b44d3e2dc7 DIST btrfs-progs-v6.16.tar.xz 4949180 BLAKE2B 375c60a93bc5b62d7c3a94d5ed108b81786b27f2beba27d85bcede94a892d84e71b1fe00a1574cc53066fe77bb37408b2b382db4a1664fefcc676c1c3efa1c60 SHA512 b7b89c9f6855f48a369bfcaf647b50cd41fbd6b11e9017a57eace36917c0daec14d93946121640728e0dfcda74941f28f9c31abf694313cb5134156a2c1907f7 +DIST btrfs-progs-v6.17.1.tar.sign 566 BLAKE2B 0313dce425d84f16eb64085f4144bcfc21172f96223de0a36d78a8dc5f4da4d0ff5b2453961c99607426ce412a3f0d7acfc205788e897684b68d7da5758e339d SHA512 39dabbc3546e32468ae71b5d83606aabc38d9ef1996e1c40d8b5976cd4924b4877c373e05888b284988e35d5b363801f0c67f93ae43d907cba76dff145fc9f7b +DIST btrfs-progs-v6.17.1.tar.xz 4964964 BLAKE2B 6340fb5f87d3dcf9598785fbb00ccd2278e268c1b798a1013ede9d25fc8e2005376c2333c84befcf95ec9ae2b7e75562750a2bf8fbfc7bbf966d713e1feb5818 SHA512 7723dd924025e7d6d6cfa081dcbe86bfe86cc6f226c8eb7317d86871864807257bd96c19c715b819e76125b33b90100f6897f4eb665d8414f30a3aa7a5aba631 DIST btrfs-progs-v6.17.tar.sign 566 BLAKE2B 9c21f8c001cb9d80c84e42e751ca77713caf25e8b38888c67a4175e45b5d95c58128f7b7d112fed1f694e9eb077d97f6187b6f4e58d4a346dab156949055844a SHA512 e278efedabb51e8522f562f52aa2666727904775625b17e280ea7ded5563620a4a50aad57b165ab53af7594214070472bd2e0692ff1ca8aef76bcc6574d3f365 DIST btrfs-progs-v6.17.tar.xz 4962800 BLAKE2B 301409e4f0e17c25620070bab0aedc1e57ad672bc7b4e4c1f9db2cd34c6104667800df2979ff456554c94e415be649dd7b8f43859d6539f84a1c050c2db27dd4 SHA512 f8b39f66c4bf7cdaa8eee471f473eb88415435d309da45d45267ecd8d9e401367de881259c038fbc03a57bb661991d11ae74e8409b382dcd5ef98c66811a798a diff --git a/dev-python/btrfsutil/btrfsutil-6.17.1.ebuild b/dev-python/btrfsutil/btrfsutil-6.17.1.ebuild new file mode 100644 index 000000000000..3de171a2a789 --- /dev/null +++ b/dev-python/btrfsutil/btrfsutil-6.17.1.ebuild @@ -0,0 +1,62 @@ +# 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=( python3_{10..14} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc + +inherit distutils-r1 verify-sig + +DESCRIPTION="Library for managing Btrfs filesystems" +HOMEPAGE="https://github.com/kdave/btrfs-progs" + +MY_PN="btrfs-progs" +MY_PV="v${PV/_/-}" +MY_P="${MY_PN}-${MY_PV}" +SRC_URI=" + https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz + verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) +" +S="${WORKDIR}/${MY_P}/libbtrfsutil/python" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND="~sys-fs/btrfs-progs-${PV}" +RDEPEND="${DEPEND}" + +distutils_enable_tests unittest + +RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" + +src_unpack() { + # Upstream sign the decompressed .tar + if use verify-sig; then + einfo "Unpacking ${MY_P}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ + < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) + assert "Unpack failed" + else + default + fi +} + +src_prepare() { + cat <<-EOF > version.py || die + #!/usr/bin/env python3 + btrfs_util_py_version = '${PV}' + EOF + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + + rm "${ED}"/usr/share/doc/${PF}/README.md || die + dodoc "${S}"/../README.md +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 3d28929d87f7..4a4deb2bacf0 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -4,3 +4,5 @@ DIST coverage-7.11.0.tar.gz 811905 BLAKE2B 58ddf4598171d25363fbef08b19dfbb101d77 DIST coverage-7.11.0.tar.gz.provenance 9413 BLAKE2B 8a864e66d1ec7e96b334264bcc93a394ab44c33d192b4feab14126007425793c1e3c6c018f07026604ab135422aa372c581b1672e71ba38182a1da81a8403a97 SHA512 c01b2a2fdca8ce56e0f69eaf412a006a08f22c227abf74f1c30eab8ae1d33e2cf88df63abacb44fee3cc3d4e00247e7c78814b09cfacd3b747e762e65a3288b2 DIST coverage-7.11.1.tar.gz 814037 BLAKE2B 2abc22dbc488f9beeffa2b8dcbf83636af2fba8e274e77628e277cfc4b84074646b516e2439cb271c0e0b4e7116b4c59d222ab646cd22c6b5d064a2cdf0ee4e0 SHA512 bdedbc612faac63dbe9e0921617f512fc44a9c15c5b25b35ac0ad6efc0815096298d77e1bf5dc785c1d1fe29f2c09a206af797c3853015ef2046d7e1256b1db5 DIST coverage-7.11.1.tar.gz.provenance 9366 BLAKE2B 0ca719dbb11fae1ce5f390aa759e465eebcbbe08837526c307b4fc01e132fec07bd6014dc9441e0002d5d1640df426c01220ea44bdf927e66acc9d269a3cd60a SHA512 84ac1dfb79c5045f0dd785e3bf0fa49205f7f0fb121e5c4ca25341badf0f997c23f18ef8194c17351797d951ad3eb08d1e7af48b0280c7ee5b1921423714180c +DIST coverage-7.11.2.tar.gz 814849 BLAKE2B 9fa71ef6c78b4dd6ea7ef15e8aad439336dde33679b5f76429b790faf45017a779a5247c1768570fb95142237b2fb23feee13814b56e2257f3665798ff05551a SHA512 32894fd17790701d038174f90b5ed9f6cd01a0a78b4d7eb1cfe2f038707614801ed827603f05595f287c2edbab872ad2113d22a7901826ba481eeeffb5b46529 +DIST coverage-7.11.2.tar.gz.provenance 9323 BLAKE2B cd397ac0163d1a60fb4b246b98565f70083320b09dffbd6a23228fe66066810cf295cb87d476ec3fa612dcece0ccec0e9dc0e8e93529a7feef363f008a611100 SHA512 4abf5e01f0f9b2f3c20d92a384f9173361ffddfb5993ab77adcf8c96fd8aa052c1c4702b680f4531ebb9cd66c553b79a1e640e87424c771e1d434325825dc6fc diff --git a/dev-python/coverage/coverage-7.11.2.ebuild b/dev-python/coverage/coverage-7.11.2.ebuild new file mode 100644 index 000000000000..fa0e0a269ba6 --- /dev/null +++ b/dev-python/coverage/coverage-7.11.2.ebuild @@ -0,0 +1,110 @@ +# 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 +PYPI_VERIFY_REPO=https://github.com/nedbat/coveragepy +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-{rerunfailures,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + if ! use native-extensions; then + local -x COVERAGE_DISABLE_EXTENSION=1 + fi + + distutils-r1_python_compile +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -o addopts= "${@:2}" tests +} + +python_test() { + local EPYTEST_DESELECT=( + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + # packaging tests, fragile to setuptools version + tests/test_setup.py + # looks like a difference in exit status reporting? + # https://github.com/nedbat/coveragepy/issues/2008 + tests/test_process.py::ProcessTest::test_save_signal_usr1 + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + + local jobs=${EPYTEST_JOBS:-$(makeopts_jobs)} + local xdist_args=() + if [[ ${jobs} -gt 1 ]]; then + # required upstream to avoid cross-test conflicts + xdist_args+=( --dist=loadgroup ) + fi + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace "${xdist_args[@]}" + fi + + test_tracer pytrace "${xdist_args[@]}" + + case ${EPYTHON} in + *3.11) + ;; + *) + # available since Python 3.12 + test_tracer sysmon "${xdist_args[@]}" + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest index 53413e5c24b3..ae388549f269 100644 --- a/dev-python/dbus-fast/Manifest +++ b/dev-python/dbus-fast/Manifest @@ -1,2 +1,3 @@ -DIST dbus-fast-2.44.3.gh.tar.gz 203381 BLAKE2B ce98728ab1182ffebba71be077e9714df4712b77e0440eb43e7728601c0c20d6bb78338b4798438afe98a15da6ced26ee3d3743121b6340336ea0bac0e1eba23 SHA512 955231acef70154973ec1968c9bde95be726caa6d218b8a9857e8e837261088fb209dbdede0ed7e6e416c842ee886012ee9437c5166f53103d2400b23cd05f43 DIST dbus-fast-2.44.5.gh.tar.gz 205159 BLAKE2B 4c5529ec4255106a37df493864dca3d5be20c76ebfe019382ee3b1e1bf7248121ab4100102655530464df64eb5d04551fdf396e993782b390f7b84a62889a6a4 SHA512 5d458687db282a0974d994a262234c12287ae3b93fc6e060a302046289943f542ca3953c0cc6ab158a413159e6f3764e616d1b7d1deebaeee9897790cbd13dc5 +DIST dbus-fast-2.45.0.gh.tar.gz 203980 BLAKE2B daef3011faa73508ae8903126d6fce5e53283fa0aca1df863fff131f48ef5165a8862e00981794f3c7b76d36f094d2db55c93ef56f4f09f1a584883b1a61b984 SHA512 29dea51de795d73fc6a996c1abd5fb117687e72085d9532b4a87c293db32046d8ae5dac0fd11570c97f2e511dce4472f4b4bddfcd88851506014dfc061ad1c1d +DIST dbus-fast-2.45.1.gh.tar.gz 204077 BLAKE2B 61bc1c3b5dd757939653d09381b936111cdb89e8a347cd71d301283ecaf25e783dc2c6399d2a2304adba1e46a217859b75cd35a91e229eb7d3491a84c66ec50b SHA512 74f71ba47f51eccc51f411dbcbd150935949f56f1131ce03d72366f876a8114e4ec10986cf4acab5fef3804d9abb52546ed606d91cde63ad828589d265fb0a90 diff --git a/dev-python/dbus-fast/dbus-fast-2.44.3.ebuild b/dev-python/dbus-fast/dbus-fast-2.45.0.ebuild index a722221301ca..5ab086fc9e30 100644 --- a/dev-python/dbus-fast/dbus-fast-2.44.3.ebuild +++ b/dev-python/dbus-fast/dbus-fast-2.45.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~riscv" +KEYWORDS="~amd64 ~riscv" BDEPEND=" >=dev-python/cython-3[${PYTHON_USEDEP}] diff --git a/dev-python/dbus-fast/dbus-fast-2.45.1.ebuild b/dev-python/dbus-fast/dbus-fast-2.45.1.ebuild new file mode 100644 index 000000000000..5ab086fc9e30 --- /dev/null +++ b/dev-python/dbus-fast/dbus-fast-2.45.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="A faster version of dbus-next" +HOMEPAGE=" + https://github.com/bluetooth-devices/dbus-fast/ + https://pypi.org/project/dbus-fast/ +" +SRC_URI=" + https://github.com/Bluetooth-Devices/dbus-fast/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.4.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/pycairo-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.50[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,timeout} ) +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +src_test() { + local dbus_params=( + $(dbus-daemon --session --print-address --fork --print-pid) + ) + local -x DBUS_SESSION_BUS_ADDRESS=${dbus_params[0]} + + virtx distutils-r1_src_test + + kill "${dbus_params[1]}" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # interface not found on this object: org.freedesktop.DBus.Debug.Stats + tests/client/test_signals.py::test_signals + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + nonfatal epytest -o addopts= || die +} diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 83817c156ef8..69b7ec92a133 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,4 +1,3 @@ DIST hishel-0.1.5.gh.tar.gz 1065622 BLAKE2B 926801f579a57cc2b45cb6cd5326459493452d34b32a2725b906307dcc4575b1297b35ffc626e51acc5805216731552d58c672dedb0541f2c771f153daee960d SHA512 b1f850895b147da616ace381d98ac9b6a15386d7e79d64a57a4e87f9bd0b42009a6ffa15fe1f8e46c57f8bc664c3af97d46e5adb81211e30fae87dab898f7734 -DIST hishel-1.1.1.gh.tar.gz 1096020 BLAKE2B aa575b65be1f95905c789ffc8159c81d7c39a30b8f8f2e3f85983e4f0d7a47b13b5953bf08fc53fb81116d2fe6f7735daef88fc623abb1f2e8c7d7df25b17670 SHA512 cd6e90695cfd4194306432cf8adaf2a7adc3f44bbe6ccb31b6a651f07eb0ccb6ea16641f1c4b6f0f3a5198a8a891ebedce051e597613d8d8ab5028e95328e2e6 -DIST hishel-1.1.2.gh.tar.gz 1097284 BLAKE2B 230bde8f23bea76a6741c7030c63b0eb10698f99092010044d7b269673f9c1426a9aa8e268261bfe0634d318f361d5a87578c056842ab294296e2f9afc73c900 SHA512 49d956184421da99ae89f047023fbe3584a3e5623cd07d288e1b4759969be73b7de07020712b5b57117ffe95385ca14a4bea346e2a3beecc024f6fdb1df71436 DIST hishel-1.1.4.gh.tar.gz 1097778 BLAKE2B 0e2569a0e3c956d3df498f8b3ce5da267a584b0c452541ebeb7d43cc8433ab9d929594ff2487394effeac00dec27bc2c8be48ef4e6cb64cfaf28bc5c0b2d6e4e SHA512 ff52c048edaef0fa50f2c38371e33128ec8f1ae1682d78de49c1a48ee7cec82cc21ba9e4ef82cb349fd6e95c032d60cea5ce4b01cc8dcb6e0e4ecfd08fb4bfdc +DIST hishel-1.1.5.gh.tar.gz 1098331 BLAKE2B 5b3b9fc3770842bc1323c0ca46718d9ce82265dc11321f3f9335aa69fa1f6a78384125139a249af3b268d9035d213b4dc3f09532b0a06158c1986746285a2757 SHA512 47de167f3e24a7db05cbcb1b8d549b0abf9fe4d39829a0a41ab7f86f71697ac4ea78c32ad3901d5edca5e520fd1862e47ab79dd0ce635abe37224ff0ad37869e diff --git a/dev-python/hishel/hishel-1.1.2.ebuild b/dev-python/hishel/hishel-1.1.2.ebuild deleted file mode 100644 index f11ce5dc514c..000000000000 --- a/dev-python/hishel/hishel-1.1.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="An elegant HTTP Cache implementation for HTTPX and HTTP Core" -HOMEPAGE=" - https://github.com/karpetrosyan/hishel/ - https://pypi.org/project/hishel/ -" -SRC_URI=" - https://github.com/karpetrosyan/${PN}/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/anyio-4.9.0[${PYTHON_USEDEP}] - >=dev-python/anysqlite-0.0.5[${PYTHON_USEDEP}] - >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-1.14.1[${PYTHON_USEDEP}] -" - -BDEPEND=" - ${RDEPEND} - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - test? ( - dev-db/redis - >=dev-python/boto3-1.15.3[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.28.0[${PYTHON_USEDEP}] - >=dev-python/redis-6.2.0[${PYTHON_USEDEP}] - >=dev-python/time-machine-2.19.0[${PYTHON_USEDEP}] - >=dev-python/trio-0.30.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( anyio ) -distutils_enable_tests pytest - -src_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_async_httpx.py - tests/test_requests.py - tests/test_sync_httpx.py - ) - - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Starting Redis" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/hishel/hishel-1.1.1.ebuild b/dev-python/hishel/hishel-1.1.5.ebuild index f11ce5dc514c..f11ce5dc514c 100644 --- a/dev-python/hishel/hishel-1.1.1.ebuild +++ b/dev-python/hishel/hishel-1.1.5.ebuild diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest index 3b4d3e8aec3c..e687cd116fd7 100644 --- a/dev-python/hypercorn/Manifest +++ b/dev-python/hypercorn/Manifest @@ -1 +1,2 @@ DIST hypercorn-0.17.3.gh.tar.gz 162354 BLAKE2B 60e5e0edbf60330e1a172d8b86ed1e0b2bfbb047dca22bf9eecfd672d8bdcf7a224658d0b5b123fb5f63fcff74ad2928760df58c1be065e4849c5bd36cc5f90f SHA512 d1dd42445af580d4083cfae906cbed7d74b9378be93b476ef2188744f9f17a041b496b270847a8a47ffd99198513f6133942367fc7a11d4d502353c1204a1abb +DIST hypercorn-0.18.0.gh.tar.gz 162840 BLAKE2B f4bee105da7538a3ae6e28adf8b1274c6ad19a98d4789e2086000aa77b4901cdc7c9c4538e9a82d232a25a5c802bcb868866b41cbeb05b589bd9b79d6bee60e2 SHA512 ed21ddfe01c53bd823b406663eba09b7366af99ba478939ca6d948e3dc284b63681a7f57c96dd65f4a3156cb0d4bd1a7464dabc3f6d86ed6ccf5911640393731 diff --git a/dev-python/hypercorn/hypercorn-0.18.0.ebuild b/dev-python/hypercorn/hypercorn-0.18.0.ebuild new file mode 100644 index 000000000000..c33f804e5463 --- /dev/null +++ b/dev-python/hypercorn/hypercorn-0.18.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A ASGI Server based on Hyper libraries and inspired by Gunicorn" +HOMEPAGE=" + https://github.com/pgjones/hypercorn/ + https://pypi.org/project/Hypercorn/ +" +SRC_URI=" + https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/h11[${PYTHON_USEDEP}] + >=dev-python/h2-4.3.0[${PYTHON_USEDEP}] + dev-python/priority[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/trio-0.22.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,trio} ) +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--no-cov-on-fail::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index b2d37371c131..fea9a3d7f1bc 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,5 +1,4 @@ DIST pytest_asyncio-0.26.0.tar.gz 54156 BLAKE2B 763053772ff148a80773bb22457bd1a14e23f8b8c10279731ad356b168618a675f5e5ac20eff11bc5db0989a53ca079fbe3fd00d2afdbee41f61848b375b018e SHA512 60cb6e9bf7554b5d94d8e9c3bb8e60fba92ecb2fd4258ea8967eebf5af2b2050913e08917dafeddf4e27ad09bc52c800f38739eed9705330ce70f653bcd765a0 -DIST pytest_asyncio-1.0.0.tar.gz 46960 BLAKE2B e72564ea0f125358c16a1dde81b3d139ffee4f698fe6ccde1c7daba83037eea9b405658c4f919220a29329f4691bc00b1ea530eefeba846d93fb4dd0fddb0ce4 SHA512 d3ae6729e1cc798adc0707c0a08ee32bded6430776e224d5565d7e93b51ec05e2ab0e64b9244d4b69e42275b1c73bdea4a3fe5d38edbfc4bf256857e22e41322 DIST pytest_asyncio-1.1.0.tar.gz 46652 BLAKE2B e0ce03326320b4e6ab4470d8b982eebd0c1628c94497d2a1a2a1a1ebed56d886de026163b56eef15c0037b2e3ee227077dbb798808bce64174b94b5710f064f6 SHA512 f2f8efcfe965edf3a9ff29dffe776f60240b229235391b09ff266d97568c01c6014d5b0a9fb9963af728f6e30e3eda8deb726b9ff2616f524f3228e4f66535e4 DIST pytest_asyncio-1.1.1.tar.gz 46590 BLAKE2B 9e629a879431ad92b8699651e99277526b187d9e24e876f0c53802c32530f056db3dc7b537e245e62c4eda5d6dde8ed23c1a6ab1a2dc2c2e60af7aed5349674b SHA512 7c242318b07593dc511baef46f1fe9469a8731a9ee79f88bfce1229370dc06c25c80ed1bf2902d018f40b5651687e4cbcf004c9187c7c97d955e8ab35e6bb481 DIST pytest_asyncio-1.2.0.tar.gz 50119 BLAKE2B e013b58c49f53f9785203ca8e6162899537c3c64ea4a8acd32c184ed8d5252145ed26e73b2032a216ab290b630a7555811e1504971224a0490b2ee56de417b22 SHA512 290850d18d915eb9230c3658817ff35555f78ef5901cde84a914d2231c7c036f3644e954790e53eb2cd3da26acffd0d124c17f51c054a6477fe19fcda77ef5e4 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild deleted file mode 100644 index 0c56989fa8e8..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2019-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for testing asyncio code with pytest" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-asyncio/ - https://pypi.org/project/pytest-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/pytest-8.2[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( hypothesis ) -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # redundant, and breaking setuptools-scm >= 1.2.0 - # https://github.com/pypa/setuptools-scm/issues/1216 - rm setup.cfg || die -} - -python_test() { - local EPYTEST_DESELECT=( - # fail due to mismatched warning count - tests/test_event_loop_fixture.py::test_event_loop_already_closed - tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error - tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen - tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_fixture_warning - tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_autouse_fixture_warning - # TODO - tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_coroutine - tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture - ) - - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" pytest-asyncio ) - epytest -} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.2.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.2.0-r1.ebuild index 9e60b04596ec..32f38f77bf24 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.2.0.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.2.0-r1.ebuild @@ -39,3 +39,10 @@ EPYTEST_DESELECT=( tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen ) + +src_prepare() { + distutils-r1_src_prepare + + # remove pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/pytest-describe/pytest-describe-3.0.0.ebuild b/dev-python/pytest-describe/pytest-describe-3.0.0-r1.ebuild index 598df522f3a0..6fbc00e7655e 100644 --- a/dev-python/pytest-describe/pytest-describe-3.0.0.ebuild +++ b/dev-python/pytest-describe/pytest-describe-3.0.0-r1.ebuild @@ -20,10 +20,16 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" - <dev-python/pytest-9[${PYTHON_USEDEP}] >=dev-python/pytest-6[${PYTHON_USEDEP}] " EPYTEST_PLUGIN_LOAD_VIA_ENV=1 EPYTEST_PLUGINS=( "${PN}" ) distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin dependencies + sed -i -e 's:,<[0-9]*::' pyproject.toml || die +} diff --git a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild index 75af649c807a..d752444083dd 100644 --- a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild +++ b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild @@ -20,14 +20,20 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" - =dev-python/httpx-0.28*[${PYTHON_USEDEP}] - =dev-python/pytest-8*[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) " +EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin dependencies + sed -i -e '/==/{s:==:>=:;s:\.\*::}' pyproject.toml || die +} diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 642c689c12b6..f436d26b1512 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pytest/pytest-9.0.0.ebuild b/dev-python/pytest/pytest-9.0.0.ebuild new file mode 100644 index 000000000000..8d66a2a2ace4 --- /dev/null +++ b/dev-python/pytest/pytest-9.0.0.ebuild @@ -0,0 +1,120 @@ +# 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 + +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-1.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-22[${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 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_PLUGINS=() + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index aac7d8d5671c..de521b0538c7 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -1,2 +1,3 @@ DIST pyupgrade-3.20.0.gh.tar.gz 66442 BLAKE2B d03984ba30d5e5eb1c46dba2384ef476ed7bfa41ef7a372d9ff0bf49568c96f07ef596c25f20b06833c17eace00b605c5ba282b013b35b6d7847b30a786f9889 SHA512 e9ed4663aa8fb3ddc77441b569f8f4da17ad6d4493a401d56be353b3b5c04826fd38091a6ef14afa4e1b91889af1e366c15eb7f583ccf2bdcebcf864c18ed819 DIST pyupgrade-3.21.0.gh.tar.gz 66794 BLAKE2B 6c1588e0e5763f8adcdff74ee675549696b4a2e539afffad093e2221a493a813fbb486aada00bae6a58b03ae22b699fbe01149334c71ee9b7b04a7889be780c8 SHA512 007c93846e869c9a803558e2e73463af48c4ff79cd844e1ccd3745cef958ae85623de8c0f4344e42acd5ae72248fe1ef729df436e5aefa7624ae42af6e7f1f27 +DIST pyupgrade-3.21.1.gh.tar.gz 66869 BLAKE2B 074b4d49c28d94909de9fdb97d1193c74a61849cf8871bd0b4fe788bbcde19c1a52af4dac88143f864d866032bc49d58655b2b663a3926140cfd5ce6e0d58877 SHA512 9ae7e87a7734cd0f5651d4d2c8fbe7fcdeb14d24aa36176df7176fc9d1f19ffde549f2e74a0ddde6d4559804a20e0223f153139312101ff5cc7e810668fea846 diff --git a/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild b/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild new file mode 100644 index 000000000000..0ca1212a41aa --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons" +HOMEPAGE=" + https://github.com/asottile/pyupgrade/ + https://pypi.org/project/pyupgrade/ +" +# no tests in sdist, as of 3.3.2 +SRC_URI=" + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/tokenize-rt-6.1.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/tavern/tavern-3.0.0.ebuild b/dev-python/tavern/tavern-3.0.0-r1.ebuild index 617c618a04b7..791c7062187b 100644 --- a/dev-python/tavern/tavern-3.0.0.ebuild +++ b/dev-python/tavern/tavern-3.0.0-r1.ebuild @@ -29,6 +29,7 @@ RDEPEND=" >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] >=dev-python/pytest-8[${PYTHON_USEDEP}] >=dev-python/python-box-6[${PYTHON_USEDEP}] + <dev-python/pytest-9[${PYTHON_USEDEP}] >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] >=dev-python/simpleeval-1.0.3[${PYTHON_USEDEP}] |
