diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-08-03 04:24:23 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-08-03 04:31:52 +0200 |
| commit | cc626606e468c7075c460fd55ca0a4d1ec37f90f (patch) | |
| tree | b848fe11acd71439a56dd554cdb86b0b6618cd80 /dev-python/anyioutils | |
| parent | 2cd04f8473e140ed3d39d7431e99a55893ed5b7e (diff) | |
| download | gentoo-cc626606e468c7075c460fd55ca0a4d1ec37f90f.tar.gz gentoo-cc626606e468c7075c460fd55ca0a4d1ec37f90f.tar.bz2 gentoo-cc626606e468c7075c460fd55ca0a4d1ec37f90f.zip | |
dev-python/anyioutils: Bump to 0.7.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/anyioutils')
| -rw-r--r-- | dev-python/anyioutils/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/anyioutils/anyioutils-0.7.4.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/anyioutils/Manifest b/dev-python/anyioutils/Manifest index 72619da7b066..aa2f1126ddfd 100644 --- a/dev-python/anyioutils/Manifest +++ b/dev-python/anyioutils/Manifest @@ -1 +1,2 @@ DIST anyioutils-0.7.3.tar.gz 15022 BLAKE2B 73070e1ee78d323783bc506b8bd723e7969999063e926130aade7b5b491f192acfd5f3140195bfe7b1e4669c9e3872682a274676983f7256660c86603f16ba91 SHA512 ba8a11453d002b1a23a553e118a23c5047d16d53b200ed2d2493f62e8b9c24e32c39aef864e6b719c1db45b00e9ee758eb974ec9bfd27a3e53a33572bcdc262b +DIST anyioutils-0.7.4.tar.gz 15697 BLAKE2B 69701e7ccd91d5083b7f9ae39827ffee85a4cf7a7031cfcb85649c93021e52ff2a2712ba2eb37df02df74a4780aaa4490e7f842c305dd53a07c01142d1396422 SHA512 e513a31fbcfc38d6b532414abba4854a5ad9cd7667e9e26c8e208b5de02635f7cc0aab8ec304f885db4cf1ae0b44f9f3dc65f8b80c0465a4dd537afa17ec11da diff --git a/dev-python/anyioutils/anyioutils-0.7.4.ebuild b/dev-python/anyioutils/anyioutils-0.7.4.ebuild new file mode 100644 index 000000000000..705d9d5d9502 --- /dev/null +++ b/dev-python/anyioutils/anyioutils-0.7.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility classes and functions for AnyIO" +HOMEPAGE=" + https://github.com/davidbrochart/anyioutils/ + https://pypi.org/project/anyioutils/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-4.8.0[${PYTHON_USEDEP}] + <dev-python/outcome-2[${PYTHON_USEDEP}] + >=dev-python/outcome-1.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + test-rust? ( + dev-python/trio[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( anyio ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires aioguest + tests/test_guest.py::test_host_trivial_guest_asyncio + ) + local EPYTEST_IGNORE=() + + local args=() + if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( tests/test_guest.py ) + args+=( -k "not trio" ) + fi + + epytest "${args[@]}" +} |
