dev-python/anyio: re-add 4.3.0-r1 from Gentoo Archive, drop 4.0.0

Closes: #3518
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-26 16:27:16 +02:00
parent 456dbf78ee
commit 33f0b4a4f4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 32 additions and 10 deletions

View File

@ -1,5 +1,5 @@
DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a SHA512 b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d SHA512 073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7
EBUILD anyio-4.0.0.ebuild 1564 BLAKE2B 7884d6fd765c895480590f689923cbbb172119bd837842b142956803129d08d0b9aa6b98ab517ee4a4a34e94e2e1f05de8097cfb99795df965870838fb88e133 SHA512 a62d236c7cdbf415f4755279a7d6063ea5e34399504947c1cdf54ba6fe72f9c0e355bfbce4ca753dc258ba1254e132d3ca34dc43bebfce0c64f5c5bf924e001d
EBUILD anyio-4.1.0.ebuild 1529 BLAKE2B bb47e2933accbe5df4deac1cf022e5890474d484a6f8d649fded3984161ee6509b94f9228400bcd05ab7b9ef604061c3f29e1ef31e0f21e389b1eebe66a91fa0 SHA512 42bf41c732c053adddcee14857d2a991ddbdfa8445a022b250e8825f07705525c2621b2beffb86180d5ff1c43c19aebd2a9b98b1dce220ecbc7b069dca28fbc2
DIST anyio-4.3.0.tar.gz 159642 BLAKE2B 33b300d1da37137d45b311f8424c022d19518c207c39ec6f8bd3e42432cf1457f2d533eadeaa1e21853ed1b25a4f58818fc595e8588489722846f8a8d72262dc SHA512 26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f
EBUILD anyio-4.1.0.ebuild 1529 BLAKE2B 1f6266019ba9e42b127fb9883d6039276e293c3fb022501166d14ec95c5bfe254d1054b8acf548d26551d04e187704f4ba6ab88649bbcc9adedf7cb75e027762 SHA512 546f888e4f58e352aed8468515cdd570a1974bd00b37f87a64693423670a3ea34e6386b489d86a30472afef730a8ee5aac7169dda49e4d9f811d3d5cb5ff97b8
EBUILD anyio-4.3.0-r1.ebuild 2185 BLAKE2B c8dd2487623306660da7dd6ca60a9ad1697844a991b32d87f37806b4da3c0c881d6b4b81c9f2a64e9bc643529eb40a36c117ffcf5b970de234fd1390ef8cbd77 SHA512 3d69efa797c22c960695e1553f63b26487822e6c80d33468b6e67f6febc4b0becabb5b798773c520179aee99964beb826b64cca523b2df3dbfaace38beba00c4
MISC metadata.xml 513 BLAKE2B 1a128df54ff66d09506afbc9ad33b9f02166b027c5d5dc60e89abb9cd2809fdde85311090f2df1e2ce2f46ae376ae077b402e3a0e861b0453449cbc4907178ec SHA512 1a26bde236ca868281411456c983ae293dc1dd14d533696f74fb29048247ac918e21d4f74b05ff86a35ab3fdbbaf4d3ba99bf4aa5600f84a1610fa219a177011

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
@ -19,22 +19,26 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 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}]
$(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/trio-0.22[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/trio-0.23[${PYTHON_USEDEP}]
' 3.{10..12})
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
@ -55,6 +59,24 @@ python_test() {
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
local filter=()
if ! has_version ">=dev-python/trio-0.23[${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
case ${EPYTHON} in
python3.13)
EPYTEST_DESELECT+=(
'tests/test_fileio.py::TestPath::test_properties[asyncio]'
)
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'
epytest -m 'not network' "${filter[@]}"
}