dev-python/anyio: new package, add 3.6.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2022-12-08 16:37:16 +01:00
committed by onkelbeh
parent 308dccac1a
commit 55053dac92
3 changed files with 69 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST anyio-3.6.2.tar.gz 140378 BLAKE2B 0b027c5278415a2eb54f6cce2c948d1e4975c2465331da86f18859ff2e23019edb06d6afd110dbf61ced0b061d57535fed163f88dd6276f64b8e75e965b4983b SHA512 e6e852e682374e7b9cf5e15765fae7f55175504897e044eafc66998411020ccd304d327a640a986fcaab0e7e7aa7566cf1db48ac2408622d0576f4c84b3861e9
EBUILD anyio-3.6.2.ebuild 1241 BLAKE2B 724041bfecb8d199cda909620a20530b066cd8872173397537e0c722fd97b0cd649f93f297b40dc9b1ac843a74ed244b5ae6511922ef9815bb7e41f86f7d0b5e SHA512 31cb54d298b2208f6ec40647dee77b945e543ea5a7397ef9664a94e8424347177a33f55619b9c2985178b8bb087e52c2fdf876b7cc81ee4cf114be0d4b6e1547
MISC metadata.xml 513 BLAKE2B 1a128df54ff66d09506afbc9ad33b9f02166b027c5d5dc60e89abb9cd2809fdde85311090f2df1e2ce2f46ae376ae077b402e3a0e861b0453449cbc4907178ec SHA512 1a26bde236ca868281411456c983ae293dc1dd14d533696f74fb29048247ac918e21d4f74b05ff86a35ab3fdbbaf4d3ba99bf4aa5600f84a1610fa219a177011
+50
View File
@@ -0,0 +1,50 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
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 arm64 x86"
RDEPEND="
>=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="
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
' python3_{8..10})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinx-autodoc-typehints
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'
}
+16
View File
@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">anyio</remote-id>
<remote-id type="github">agronholm/anyio</remote-id>
<maintainer status="unknown">
<email>alex.gronholm@nextday.fi</email>
<name>Alex Grönholm</name>
</maintainer>
</upstream>
</pkgmetadata>