commit: f7870bc9a358b9b357965d8e60dfa84aadbe4d5f
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Dec 18 14:04:04 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Dec 18 14:04:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7870bc9
dev-python/anyio: add py3.8
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/anyio/anyio-2.0.2.ebuild | 34 ++++++++++++++++++++--------------
1 file changed, 20 insertions(+), 14 deletions(-)
diff --git a/dev-python/anyio/anyio-2.0.2.ebuild
b/dev-python/anyio/anyio-2.0.2.ebuild
index 891e7b58..ae1b57a6 100644
--- a/dev-python/anyio/anyio-2.0.2.ebuild
+++ b/dev-python/anyio/anyio-2.0.2.ebuild
@@ -3,18 +3,21 @@
EAPI="7"
-PYTHON_COMPAT=( python3_7 )
-
-DOCS_BUILDER="sphinx"
-DOCS_DIR="${S}/docs"
-DOCS_DEPEND="
- dev-python/anyio
- >=dev-python/sphinx-autodoc-typehints-1.2.0
- dev-python/sphinx_rtd_theme
-"
-DOCS_AUTODOC=1
+PYTHON_COMPAT=( python3_{7,8} )
+
+# Build with USE="-doc" first because of circular dependency
+# otherwise one gets the error that sphinx-autodoc-typehints
+# does not support py3.8
+# DOCS_BUILDER="sphinx"
+# DOCS_DIR="${S}/docs"
+# DOCS_DEPEND="
+# dev-python/anyio
+# >=dev-python/sphinx-autodoc-typehints-1.2.0
+# dev-python/sphinx_rtd_theme
+# "
+# DOCS_AUTODOC=1
-inherit distutils-r1 docs
+inherit distutils-r1 #docs
DESCRIPTION="Compatibility layer for multiple asynchronous event loop
implementations"
HOMEPAGE="
@@ -27,15 +30,18 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+# This is a mess
+RESTRICT="test"
+
RDEPEND="
>=dev-python/curio-1.4[${PYTHON_USEDEP}]
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
>=dev-python/trio-0.16[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]'
python3_7)
"
-#remember to add
-# $(python_gen_cond_dep 'dev-python/typing_extensions[${PYTHON_USEDEP}]'
python3_7)
-DEPEND="
+
+BDEPEND="
${RDEPEND}
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]