From f953dc70343485250b836ad157649aaad47ac5bc Mon Sep 17 00:00:00 2001 From: root Date: Sun, 31 May 2026 17:23:40 -0500 Subject: Adding metadata --- dev-python/pytest-asyncio/Manifest | 4 +- dev-python/pytest-asyncio/metadata.xml | 2 +- .../pytest-asyncio/pytest-asyncio-1.3.0.ebuild | 2 +- .../pytest-asyncio/pytest-asyncio-1.4.0.ebuild | 56 ++++++++++++++++++++++ .../pytest-asyncio-1.4.0_alpha1.ebuild | 54 --------------------- .../pytest-asyncio-1.4.0_alpha2.ebuild | 2 +- 6 files changed, 61 insertions(+), 59 deletions(-) create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-1.4.0.ebuild delete mode 100644 dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild (limited to 'dev-python/pytest-asyncio') diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index dbef1b0cc9d8..0df065f40a47 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,6 +1,6 @@ DIST pytest_asyncio-1.3.0.tar.gz 50087 BLAKE2B 7a7c913cd31c9412947b63ab4fdf67998540831ef7d6914c96a4a97b271c92f81aeb9acad484de7aa98e36ec5b504a9a0a37a0684bf1cc2b99a22f683a3a9f11 SHA512 239fa63116622cdb22b0521f8af5b4f0c7f1c0e3975592a7711160ff636d2fbe3277d261df44dca5e11a666b50614732c5089c981d345b818de1abcad47dcf14 DIST pytest_asyncio-1.3.0.tar.gz.provenance 9390 BLAKE2B 3d73af4756ba0860af2ddea485595d6b09fe60c67d21fd5e441bca5e8b66de3dfd21e804283dbfc722d23ad690245bee2f8f620e58a872bdec0641e3c4a1041c SHA512 0e31a7de06316ac6fdd2a9e05325ca3fcdc6bad4837384c3a9b9230720994c1d71ba405c3bb9497c6dbe8c26f05df46e7a5459faef4ef2cbe5898dfd8e2fe4fe -DIST pytest_asyncio-1.4.0a1.tar.gz 57070 BLAKE2B 0f986f4d61ef07fab76f3ee56c7a5b14e13978ed9d1dc180bc39ca1a4d4eb6676a856ab5c456f2722fa33f35b95f2544470b10df1a25dfdf2e8ee6ef023aa242 SHA512 0e76449f620ded1b03eaa65c0c5eda0e45640aa563af2cb9a48045a6b9e24d0ad91cc157e9be20aa357659983886c735da6c406a8ddd2f7cd82d469ae23d87d6 -DIST pytest_asyncio-1.4.0a1.tar.gz.provenance 9675 BLAKE2B e827520f79b5d054a13c46b2fb3de85734e5b25947c3808c69117fc17d5bdf39069c54f693221582ff5017f2bf99b217f9965cb46cfc8e97fbe847678f5e6976 SHA512 684d0229043715267fc17f12e0becd15d881b286421ce8dfee36f61625e43038a207b2be1daffc6f8958d1ff0dd43bb27d4ae5b4581ec93e95327106d5b4ce27 +DIST pytest_asyncio-1.4.0.tar.gz 58514 BLAKE2B e6c60b530c04ed7abcdccb83b6048499157950a4759afa8c49ec63e7107102f7343bd282c449a4e7e1788843b382d8dd71d027dc1106f3fffc7e207fd813693a SHA512 29e05011f2f515b0ac517e43936bb853ec3aedc8016cdc3a0e3a97aa1a4b1f2e815db7e79f10d2edb59971a224c92229a1d9354d54f10a7fa9a04474afebd39c +DIST pytest_asyncio-1.4.0.tar.gz.provenance 9588 BLAKE2B 8a85513c6b3a48388db398860b9fef327987eabc51fb8b5b7b462c48e0c9c5b856c45b10346a80af2222996af4b9a53f52a2ca574830753497c05f18c760095a SHA512 8b4bca02b8345e49fee0fd041f72ab040f89062adb05ee20f10df86710f62bed02510ed5e2f9643bddac5153c7dd04109bc6d060e7901204b831bfb9a3c06447 DIST pytest_asyncio-1.4.0a2.tar.gz 57596 BLAKE2B c7e78fb44dfaa6175130971c08d2f2c7db786d7e9f27c794ef94400ee7140cbaa0bf3530960389da1d6f3fa49915a77478efe5535fb0da20be11e4d3846fcce6 SHA512 7bd28309b4cb0da9e3352145603416a72032d54cab6ce6464783c19e41742c9550bbddb8333cec5fd78ee935b0866427aeb5ccdc55cd24eca05a28a9ea25fb81 DIST pytest_asyncio-1.4.0a2.tar.gz.provenance 9722 BLAKE2B 2c44a53e0ddefb3b5be15db11d5c5c24eb26343fc0a73d6fe643217fb54d92825c2e72a643329839a4d1e3600855efea0ffa99d5a59247df4e84d85fc202c288 SHA512 b96a9ec255ade5b2c283581877912a85ff33d3c7590f30d47a80b36e442abd2ecfa68cc329ca9b4fb5a3322bc775fdbe62aa1012b57e7ab98c88a23bdb2ddaee diff --git a/dev-python/pytest-asyncio/metadata.xml b/dev-python/pytest-asyncio/metadata.xml index a0d4c5913ba0..15aaad51f1b3 100644 --- a/dev-python/pytest-asyncio/metadata.xml +++ b/dev-python/pytest-asyncio/metadata.xml @@ -5,6 +5,6 @@ python@gentoo.org - gentoo-staging + liguros-repo \ No newline at end of file diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild index 108eabb91de9..be06e78b0e83 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-asyncio -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0.ebuild new file mode 100644 index 000000000000..9bf572e50c8c --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2019-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-asyncio +PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) + +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" +if [[ ${PV} == *_alpha* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi + +RDEPEND=" + >=dev-python/pytest-8.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ' 3.{11..12}) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis "${PN}" ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fail due to mismatched warning count + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture + tests/test_event_loop_fixture.py::test_closing_event_loop_in_sync_fixture_teardown_raises_warning + 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 + # docs often fail randomly over test ordering (xdist) + docs + # probably manual plugin loading + tests/test_set_event_loop.py::test_asyncio_run_after_async_fixture_does_not_leak_loop +) + +src_prepare() { + distutils-r1_src_prepare + + # remove pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild deleted file mode 100644 index 91034821f1d4..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-asyncio -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" -if [[ ${PV} == *_alpha* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -fi - -RDEPEND=" - >=dev-python/pytest-8.2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] - ' 3.{11..12}) -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( hypothesis "${PN}" ) -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fail due to mismatched warning count - tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture - tests/test_event_loop_fixture.py::test_closing_event_loop_in_sync_fixture_teardown_raises_warning - 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 - # docs often fail randomly over test ordering (xdist) - docs -) - -src_prepare() { - distutils-r1_src_prepare - - # remove pins - sed -i -e 's:,<[0-9.]*::' pyproject.toml || die -} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild index fd167d7f79ed..9bf572e50c8c 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-asyncio -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) inherit distutils-r1 pypi -- cgit v1.3.1