dev-python/tekore: re-add py3_7

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-28 11:59:55 +01:00
parent f868d626e8
commit e88a44ea53

View File

@@ -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}"
}