diff --git a/dev-python/tekore/tekore-1.5.0.ebuild b/dev-python/tekore/tekore-1.5.0.ebuild index 53e4cb7b4f..9c3b0c4584 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}" }