mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
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:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_6 )
|
PYTHON_COMPAT=( python3_{6,7} )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|
||||||
# tests fail with py3_6
|
# tests fail with py3_6
|
||||||
RESTRICT="test"
|
RESTRICT="python_targets_python3_6? ( test )"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
@@ -29,9 +29,10 @@ RDEPEND="
|
|||||||
DOCS="readme.rst"
|
DOCS="readme.rst"
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
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() {
|
python_test() {
|
||||||
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
|
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user