diff options
author | Louis Sautier <sbraz@gentoo.org> | 2018-06-20 00:01:23 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2018-06-20 00:03:16 +0200 |
commit | 8ba4b4fb5f7dc15540be79a176bd2ff2029a17c7 (patch) | |
tree | dcf344519ba63f8621ce10528dac4b342c0ff3f2 /dev-python/flask-nav | |
parent | sys-apps/xinetd: drop amd64-fbsd and x86-fbsd keywords (diff) | |
download | gentoo-8ba4b4fb5f7dc15540be79a176bd2ff2029a17c7.tar.gz gentoo-8ba4b4fb5f7dc15540be79a176bd2ff2029a17c7.tar.bz2 gentoo-8ba4b4fb5f7dc15540be79a176bd2ff2029a17c7.zip |
dev-python/flask-nav: support Python 3.6
Also remove pytest-runner from dependencies.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/flask-nav')
-rw-r--r-- | dev-python/flask-nav/flask-nav-0.6.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/dev-python/flask-nav/flask-nav-0.6.ebuild b/dev-python/flask-nav/flask-nav-0.6.ebuild index 2c76b7a87243..c9e9879ffa8d 100644 --- a/dev-python/flask-nav/flask-nav-0.6.ebuild +++ b/dev-python/flask-nav/flask-nav-0.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) inherit distutils-r1 @@ -28,7 +28,6 @@ DEPEND=" test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] ) " @@ -38,14 +37,12 @@ python_prepare_all() { } python_compile_all() { - use doc && emake -C docs html + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi } python_test() { py.test || die "Tests failed with ${EPYTHON}" } - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} |