diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-04 06:31:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-04 06:31:29 +0000 |
commit | 38efae7f3eb932ed41510139679efd5c1e2f5eda (patch) | |
tree | d331259e03d114338bc5a96a883b728facdc4cde /dev-python/pytest-asyncio | |
parent | 5087ee3bf0055aae666159351774f2fb3610e571 (diff) |
gentoo auto-resync : 04:01:2025 - 06:31:29
Diffstat (limited to 'dev-python/pytest-asyncio')
-rw-r--r-- | dev-python/pytest-asyncio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-asyncio/pytest-asyncio-0.25.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index c03ff36e7168..46d27156da33 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,5 @@ DIST pytest_asyncio-0.25.0.tar.gz 53298 BLAKE2B e29641f9e0ae24aac80bca7eaa14258d0bdfa6080abeaedd38ffe121cb9a9bf5886da2a38a3033010fcb47f4c2aee0eb17b0f63cee020c5ae81e8334486c66b7 SHA512 162d1693c82c4be96cf20cfeb075c4e434e897cdfc172564b8b2513b362a6bbf54d8be6da4a63a7de34236b6c55eb515e60b994198c07a5c63a63333fe019932 +DIST pytest_asyncio-0.25.1.tar.gz 53760 BLAKE2B e7e30691734c0c0c0783f152531b6e3e7455098b577a0ae87d560959e5fbd7a3a04148b85b13543a69763022b49d5d946af089a2ad0cedae5d9f3470643c1e6e SHA512 8a6ce121dfce4362a9b9dd320ee8207129a5f9d667e80fc8d6b9a43095883cfbbb59813e2fafc5deae062c596b2a9af76b80b18fabcc003fbecf9a0fc8b09e01 EBUILD pytest-asyncio-0.25.0.ebuild 1251 BLAKE2B 53929c20f83dd7b7037d028f39d49050f210fcd43627ad8d55b74c2205d8c6fe5eab5b08b26d770e644d66a366c8cd200d4f46fd586b844f0f860e09c81d6106 SHA512 b731ec436c460545d086973cc33efebefd396df1943e484ed39b0e8626be573f806dc8bc69c3a135f4c1bea040d1a4791d8e348f36ddc6202327d6dfac12b673 +EBUILD pytest-asyncio-0.25.1.ebuild 1259 BLAKE2B 82597cb1eb4bdcc5a4053e4a7467a4d8d3897efdcfc708de1da7552bafa1ad81aebf31d5735b3d7534768b969936243bbfee6c9d8d9f88ffd0ec958d2da92a41 SHA512 125eb9917a103e4f85b77576af454a31dec7c87754f74e6102503e60632665b9f6cc2d848f8f769a49ada429d2ec0217850f6b6ea6b90a14138c3a9161d552b9 MISC metadata.xml 385 BLAKE2B 3d8faba48e1b3e531ea338f08f2de4b7bf637190e65fc61df2bd4d994cc97707016f83927f4a5181ac27d412a8c91255e90caba15f2d687f2339bc8ea61b18f2 SHA512 71178d3fba362e7532c87cb519f3661b25018771b86c302660de11f1bc7817b8352a2c8fcf60084a5e62b15148307a360267381ac38e8c856784034d80327d4d diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.25.1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.25.1.ebuild new file mode 100644 index 000000000000..ea77c34a602f --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.25.1.ebuild @@ -0,0 +1,44 @@ +# 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..13} pypy3 ) + +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}] + test? ( + >=dev-python/hypothesis-5.7.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # rely on precise warning counts + tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +} |