mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
dev-python/anyio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST anyio-3.1.0.tar.gz 122097 BLAKE2B 4a16a5d231cc5262dd4138f628b9d210180733bda4b9e81ced0c0e0c7f49e1760c8dd22db0a1db3b7a21f3210072f4e1c543e52a7dc716ad3f0415827da48e38 SHA512 120d8e3e24f542c06caedd0a67d16b3fb69c94f5feaebde5262e54f8ffba3f1cf927c82030d65fa2efb3479ee64abd968b6ce67aee767ea33ccef6b0e3fbd358
|
||||
DIST anyio-3.2.0.tar.gz 126210 BLAKE2B cedace636a115ad579ca47b345bb2a9bb32e97fa2ef886a9e6bd19219dcc92c393aaaf480df5e6f48c959590c2d6a3e0770f700ab4901c7a8e576b231597abf1 SHA512 f4e718704225d9cbb8e2592246ac393f96e82fb1898bc0ff89b2d7990c4aac7e7c9b339cb57a594c59a9e5730696122c9e647310c26e00ab152879e0a7e85863
|
||||
DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23 SHA512 ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
|
||||
HOMEPAGE="
|
||||
https://github.com/agronholm/anyio
|
||||
https://pypi.org/project/anyio/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
>=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/sphinx-autodoc-typehints
|
||||
|
||||
python_prepare_all() {
|
||||
# This will pull in dev-python/trio and a whole bunch of other new things
|
||||
# And trio does not yet have a release compatible with python3.9.
|
||||
rm tests/test_taskgroups.py || die
|
||||
sed -i -e '/trio/d' tests/conftest.py || die
|
||||
sed -i -e 's/test_cancel_scope_in_asyncgen_fixture/_&/' \
|
||||
-e 's/test_autouse_async_fixture/_&/' \
|
||||
-e 's/test_plugin/_&/' \
|
||||
tests/test_pytest_plugin.py || die
|
||||
|
||||
# skip network test
|
||||
sed -i -e 's/test_getaddrinfo/_&/' tests/test_sockets.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
|
||||
HOMEPAGE="
|
||||
https://github.com/agronholm/anyio
|
||||
https://pypi.org/project/anyio/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
>=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/sphinx-autodoc-typehints
|
||||
|
||||
python_prepare_all() {
|
||||
# This will pull in dev-python/trio and a whole bunch of other new things
|
||||
# And trio does not yet have a release compatible with python3.9.
|
||||
rm tests/test_taskgroups.py || die
|
||||
sed -i -e '/trio/d' tests/conftest.py || die
|
||||
sed -i -e 's/test_cancel_scope_in_asyncgen_fixture/_&/' \
|
||||
-e 's/test_autouse_async_fixture/_&/' \
|
||||
-e 's/test_plugin/_&/' \
|
||||
tests/test_pytest_plugin.py || die
|
||||
|
||||
# skip network test
|
||||
sed -i -e 's/test_getaddrinfo/_&/' tests/test_sockets.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user