commit:     5b8d77abacd18edaae2de2d16f8f9195847f6849
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 08:00:24 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 09:14:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8d77ab

dev-python/anyio: Bump to 3.4.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/anyio/Manifest           |  1 +
 dev-python/anyio/anyio-3.4.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 25927514d995..0d7b5e886733 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89
+DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 
6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c
 SHA512 
276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a

diff --git a/dev-python/anyio/anyio-3.4.0.ebuild 
b/dev-python/anyio/anyio-3.4.0.ebuild
new file mode 100644
index 000000000000..ab1b6221158b
--- /dev/null
+++ b/dev-python/anyio/anyio-3.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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'
+}

Reply via email to