dev-python/anyio: add 4.6.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-18 12:57:36 +01:00
parent 0d223d0674
commit 5e9b895e88
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 78 additions and 2 deletions

View File

@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2335 Ebuilds in total, 2321 of them have in total 2360 (43 different) licenses assigned.
There are 2336 Ebuilds in total, 2322 of them have in total 2361 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1327|
|MIT|1328|
|Apache-2.0|551|
|GPL-3|145|
|BSD|123|

View File

@ -1,7 +1,9 @@
DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d SHA512 073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7
DIST anyio-4.3.0.tar.gz 159642 BLAKE2B 33b300d1da37137d45b311f8424c022d19518c207c39ec6f8bd3e42432cf1457f2d533eadeaa1e21853ed1b25a4f58818fc595e8588489722846f8a8d72262dc SHA512 26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f
DIST anyio-4.4.0.tar.gz 163930 BLAKE2B a37b8bc05e43cf1a4bc3f15ab399c78c7a76235942d776848307b189898973e46ddfb553bd20da154dc740d8b8bb93050ac460e56607b686bc2936c5a1e09332 SHA512 db8ad7a4faf257269de9975c3a6325023a95255a8bfe1a9642221080f44a2487160f3c0e8b220d637816e9eb3641550393a3c80b23bddafc33fd9ebe9a23b33d
DIST anyio-4.6.0.tar.gz 170983 BLAKE2B 686cb9b622cba29d02fe6e440502de80c159dc40547124aed79eb7558fe147fa62f378745c2aa5487ca1ea7c24e1f3c6167f8343236dbb7e0876d95f741c46ec SHA512 4828198d3e2b2924b3490c305dcaddc14b5746b29a0cb36f75913f897254fed0ac46e075a3c04bf164a7d4d597b0dcdd991fe5cb26ffce477d029db7ff924f38
EBUILD anyio-4.1.0.ebuild 1529 BLAKE2B 1f6266019ba9e42b127fb9883d6039276e293c3fb022501166d14ec95c5bfe254d1054b8acf548d26551d04e187704f4ba6ab88649bbcc9adedf7cb75e027762 SHA512 546f888e4f58e352aed8468515cdd570a1974bd00b37f87a64693423670a3ea34e6386b489d86a30472afef730a8ee5aac7169dda49e4d9f811d3d5cb5ff97b8
EBUILD anyio-4.3.0-r1.ebuild 2185 BLAKE2B c8dd2487623306660da7dd6ca60a9ad1697844a991b32d87f37806b4da3c0c881d6b4b81c9f2a64e9bc643529eb40a36c117ffcf5b970de234fd1390ef8cbd77 SHA512 3d69efa797c22c960695e1553f63b26487822e6c80d33468b6e67f6febc4b0becabb5b798773c520179aee99964beb826b64cca523b2df3dbfaace38beba00c4
EBUILD anyio-4.4.0.ebuild 2119 BLAKE2B 8f8111b32af15191063c06144ec16d409460ba382ff8c10f4d0ae8923c410c207299440d75da10c5528583393d8fb710264a35a6858976fec8616f0d2eea7e4d SHA512 1b7677d3a04d86edb3b2296640a3c900a931a0568aea403ce1d4aab4f9501f40094c197fd871500d938c11bb0b555d6fa7a891c6d92297d493545b825c74d137
EBUILD anyio-4.6.0.ebuild 2119 BLAKE2B 8f8111b32af15191063c06144ec16d409460ba382ff8c10f4d0ae8923c410c207299440d75da10c5528583393d8fb710264a35a6858976fec8616f0d2eea7e4d SHA512 1b7677d3a04d86edb3b2296640a3c900a931a0568aea403ce1d4aab4f9501f40094c197fd871500d938c11bb0b555d6fa7a891c6d92297d493545b825c74d137
MISC metadata.xml 513 BLAKE2B 1a128df54ff66d09506afbc9ad33b9f02166b027c5d5dc60e89abb9cd2809fdde85311090f2df1e2ce2f46ae376ae077b402e3a0e861b0453449cbc4907178ec SHA512 1a26bde236ca868281411456c983ae293dc1dd14d533696f74fb29048247ac918e21d4f74b05ff86a35ab3fdbbaf4d3ba99bf4aa5600f84a1610fa219a177011

View File

@ -0,0 +1,74 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
HOMEPAGE="
https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
' 3.10)
"
# On amd64, let's get more test coverage by dragging in uvloop, but let's
# not bother on other arches where uvloop may not be supported.
BDEPEND="
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
test? (
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/trio-0.26.1[${PYTHON_USEDEP}]
' 3.{10..13})
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.21.0_beta1[${PYTHON_USEDEP}]
' python3_{10..13})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx-rtd-theme-1.2.2' \
dev-python/sphinxcontrib-jquery \
dev-python/sphinx-autodoc-typehints
python_test() {
local EPYTEST_DESELECT=(
# requires link-local IPv6 interface
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
local filter=()
if ! has_version ">=dev-python/trio-0.26.1[${PYTHON_USEDEP}]"; then
filter+=( -k "not trio" )
EPYTEST_DESELECT+=(
tests/test_pytest_plugin.py::test_plugin
tests/test_pytest_plugin.py::test_autouse_async_fixture
tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network' "${filter[@]}"
}