commit: 6566c483cc5db9dd076e52d7b21c4fc2969f7b7d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 8 06:34:47 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 8 07:24:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6566c483
dev-python/anyioutils: New package, v0.7.1
Needed by dev-python/zmq-anyio, which is needed by dev-python/ipykernel.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/anyioutils/Manifest | 1 +
dev-python/anyioutils/anyioutils-0.7.1.ebuild | 46 +++++++++++++++++++++++++++
dev-python/anyioutils/metadata.xml | 12 +++++++
3 files changed, 59 insertions(+)
diff --git a/dev-python/anyioutils/Manifest b/dev-python/anyioutils/Manifest
new file mode 100644
index 000000000000..48bdc3038742
--- /dev/null
+++ b/dev-python/anyioutils/Manifest
@@ -0,0 +1 @@
+DIST anyioutils-0.7.1.tar.gz 14675 BLAKE2B
7b1d983613b3c770af9c09eabf2332651fce30a1bbc58e63e6a9a7e2bd97c6c59591927f034d0fde97454aae6b7fcf23dced19cb2cc64ac58ed1f1b7ed110fd5
SHA512
f259ee78c31b15f4f827158d251471229a4b1fb280cca6e0f08edadc4bde27d7e991cd27c13aae2510a63f33410f5e96f656b95ce65dd72d91e572df5c62703b
diff --git a/dev-python/anyioutils/anyioutils-0.7.1.ebuild
b/dev-python/anyioutils/anyioutils-0.7.1.ebuild
new file mode 100644
index 000000000000..1fa0866183c5
--- /dev/null
+++ b/dev-python/anyioutils/anyioutils-0.7.1.ebuild
@@ -0,0 +1,46 @@
+# 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"
+
+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? (
+ 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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p anyio
+}
diff --git a/dev-python/anyioutils/metadata.xml
b/dev-python/anyioutils/metadata.xml
new file mode 100644
index 000000000000..1ab064557a8d
--- /dev/null
+++ b/dev-python/anyioutils/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">davidbrochart/anyioutils</remote-id>
+ <remote-id type="pypi">anyioutils</remote-id>
+ </upstream>
+</pkgmetadata>