dev-python/anyio: update 4.0.0 (from main)

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 15:35:43 +01:00 committed by Andreas Billmeier
parent f233c2c0fd
commit bd33c3ed5b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 7 additions and 78 deletions

View File

@ -3,6 +3,5 @@ DIST anyio-3.7.0.tar.gz 142737 BLAKE2B f27b6c854f8861c760a922542471b5d7714cd54da
DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a SHA512 b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
EBUILD anyio-3.6.2.ebuild 1190 BLAKE2B dfb8d8943acd7a3132cfcff2ec28749c902159239576e59a37543657e8a36f496f05a4fcaba72d9b28ec30d2df75cd6a7d86899fdfc6e5b0ed1631a31f93de1a SHA512 68b95f68fe744bf385af9f66b4ed3abcd9b5b0344316bacb57eb4df71b4743fa7b941a89c140a91987bca842be3781c787a4a8c0f5043bfabbfab75177d5035a
EBUILD anyio-3.7.0.ebuild 1920 BLAKE2B 3f854d5a5d05c4fc9692408944a9b025f9d2c7a7bb2b4612cc55d6ae1e3f402e60fd4be8b9a6e12e3538e23d552ea1c02bf1a80f53264197dc958643e7edc1ae SHA512 c7c1e58eadfba486368d4e79960a9c38f5e73bb9ebe2f5f2e83b7382530abaa84694989343a155cacfc6b9d8b686119212a267fc3cad91cf73a5a1c8110dcd20
EBUILD anyio-4.0.0.ebuild 1920 BLAKE2B 3f854d5a5d05c4fc9692408944a9b025f9d2c7a7bb2b4612cc55d6ae1e3f402e60fd4be8b9a6e12e3538e23d552ea1c02bf1a80f53264197dc958643e7edc1ae SHA512 c7c1e58eadfba486368d4e79960a9c38f5e73bb9ebe2f5f2e83b7382530abaa84694989343a155cacfc6b9d8b686119212a267fc3cad91cf73a5a1c8110dcd20
MISC anyio-4.0.0.ebuild.1 1630 BLAKE2B 72988c3293f75a6878769a358e04a28ff28892f9276fc575ad4d219e82e4ff42e237fb6515643adf651ab77b330deaf8470821f5853b9b1d0f1d280cc8675248 SHA512 1eb52b17d2a4da1adc1f3c699906490191ac444740016a4101faa05c90b2eef8ad997c9ec248e70b3ded3e4d137e2c020617f89d901d97659b6ba0b0d7431548
EBUILD anyio-4.0.0.ebuild 1564 BLAKE2B e8e2994e19fff714c7cbeeb6bcc6e60e612f67eecbb387343b919dbe4d6b1a44fbfa8d0ed55da7a4822e75c673291df6b755034c29831fb5da2b17128046f0df SHA512 a374f102ad6e15d1c1a9c19505fa0f32c75be1f87aca7d57ba47edb6dfd9871b6072ba844c2104edd60fe57a781e6aa5c5399a7c8c297a6cb1f07bf7a26716d8
MISC metadata.xml 513 BLAKE2B 1a128df54ff66d09506afbc9ad33b9f02166b027c5d5dc60e89abb9cd2809fdde85311090f2df1e2ce2f46ae376ae077b402e3a0e861b0453449cbc4907178ec SHA512 1a26bde236ca868281411456c983ae293dc1dd14d533696f74fb29048247ac918e21d4f74b05ff86a35ab3fdbbaf4d3ba99bf4aa5600f84a1610fa219a177011

View File

@ -20,8 +20,8 @@ KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
dev-python/exceptiongroup[${PYTHON_USEDEP}]
' 3.{9..10})
>=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}]
' 3.10)
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
"
@ -33,37 +33,27 @@ BDEPEND="
>=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/trio[${PYTHON_USEDEP}]
>=dev-python/trio-0.22[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
' python3_{10..11})
' python3_{10..12})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme \
'>=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
# trio-0.22?
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
'tests/test_taskgroups.py::test_exception_group_children[trio]'
'tests/test_taskgroups.py::test_exception_group_host[trio]'
'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
)
if [[ ${EPYTHON} == python3.12 ]]; then
EPYTEST_DESELECT+=(
tests/test_fileio.py::TestPath::test_properties
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'

View File

@ -1,60 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
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 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}]
' 3.10)
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
"
# 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/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
>=dev-python/trio-0.22[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
' python3_{10..12})
)
)
"
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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'
}