commit:     e88a44ea53c5659f6ca2fc491d2b62763d2ddf8a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:59:55 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e88a44ea

dev-python/tekore: re-add py3_7

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/tekore/tekore-1.5.0.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/tekore/tekore-1.5.0.ebuild 
b/dev-python/tekore/tekore-1.5.0.ebuild
index 53e4cb7..9c3b0c4 100644
--- a/dev-python/tekore/tekore-1.5.0.ebuild
+++ b/dev-python/tekore/tekore-1.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 # tests fail with py3_6
-RESTRICT="test"
+RESTRICT="python_targets_python3_6? ( test )"
 
 RDEPEND="
        dev-python/requests[${PYTHON_USEDEP}]
@@ -29,9 +29,10 @@ RDEPEND="
 DOCS="readme.rst"
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
+# doc not working: 'PosixPath' object has no attribute 'rstrip'
+#distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
 
-#is this necessary?
+#need this, otherwise: no tests ran
 python_test() {
        pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
 }

Reply via email to