diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-11 10:12:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-11 10:59:11 +0100 |
commit | 4f4473bb399261404c01f218db6f7726ea0224a6 (patch) | |
tree | 3e6bb8238340b6724edd2182a31e8b627020d801 /dev-python/anyio | |
parent | sci-mathematics/z3: Remove old (diff) | |
download | gentoo-4f4473bb399261404c01f218db6f7726ea0224a6.tar.gz gentoo-4f4473bb399261404c01f218db6f7726ea0224a6.tar.bz2 gentoo-4f4473bb399261404c01f218db6f7726ea0224a6.zip |
dev-python/anyio: Bump to 3.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/anyio')
-rw-r--r-- | dev-python/anyio/Manifest | 1 | ||||
-rw-r--r-- | dev-python/anyio/anyio-3.5.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest index 0d7b5e886733..854e221cc9f1 100644 --- a/dev-python/anyio/Manifest +++ b/dev-python/anyio/Manifest @@ -1,2 +1,3 @@ DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23 SHA512 ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89 DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c SHA512 276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a +DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0 SHA512 b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206 diff --git a/dev-python/anyio/anyio-3.5.0.ebuild b/dev-python/anyio/anyio-3.5.0.ebuild new file mode 100644 index 000000000000..a57dd40c611b --- /dev/null +++ b/dev-python/anyio/anyio-3.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +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-6.2[${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_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + distutils_install_for_testing --via-venv + epytest -m 'not network' +} |