commit: 72c1b33756745e123b1db77fed821a616f163bb3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 8 04:26:44 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 8 04:45:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c1b337
dev-python/anyioutils: Bump to 0.7.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/anyioutils/Manifest | 1 +
dev-python/anyioutils/anyioutils-0.7.3.ebuild | 56 +++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/anyioutils/Manifest b/dev-python/anyioutils/Manifest
index 48bdc3038742..4446ee2c4d8c 100644
--- a/dev-python/anyioutils/Manifest
+++ b/dev-python/anyioutils/Manifest
@@ -1 +1,2 @@
DIST anyioutils-0.7.1.tar.gz 14675 BLAKE2B
7b1d983613b3c770af9c09eabf2332651fce30a1bbc58e63e6a9a7e2bd97c6c59591927f034d0fde97454aae6b7fcf23dced19cb2cc64ac58ed1f1b7ed110fd5
SHA512
f259ee78c31b15f4f827158d251471229a4b1fb280cca6e0f08edadc4bde27d7e991cd27c13aae2510a63f33410f5e96f656b95ce65dd72d91e572df5c62703b
+DIST anyioutils-0.7.3.tar.gz 15022 BLAKE2B
73070e1ee78d323783bc506b8bd723e7969999063e926130aade7b5b491f192acfd5f3140195bfe7b1e4669c9e3872682a274676983f7256660c86603f16ba91
SHA512
ba8a11453d002b1a23a553e118a23c5047d16d53b200ed2d2493f62e8b9c24e32c39aef864e6b719c1db45b00e9ee758eb974ec9bfd27a3e53a33572bcdc262b
diff --git a/dev-python/anyioutils/anyioutils-0.7.3.ebuild
b/dev-python/anyioutils/anyioutils-0.7.3.ebuild
new file mode 100644
index 000000000000..1b9342202b63
--- /dev/null
+++ b/dev-python/anyioutils/anyioutils-0.7.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+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="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~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}]
+ $(python_gen_cond_dep '
+ dev-python/exceptiongroup[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ test? (
+ test-rust? (
+ dev-python/trio[${PYTHON_USEDEP}]
+ )
+ )
+"
+
+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
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p anyio "${args[@]}"
+}