From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3D2E138334 for ; Wed, 20 Jun 2018 19:24:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09000E0AFF; Wed, 20 Jun 2018 19:24:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9539E0AFF for ; Wed, 20 Jun 2018 19:24:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6CA90335CCD for ; Wed, 20 Jun 2018 19:24:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5BAC2A1 for ; Wed, 20 Jun 2018 19:24:43 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1529522671.c048771cb2b44e4b2e6e5553eaa62d3795096b05.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-debug/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-debug/flask-debug-0.4.3.ebuild X-VCS-Directories: dev-python/flask-debug/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: c048771cb2b44e4b2e6e5553eaa62d3795096b05 X-VCS-Branch: master Date: Wed, 20 Jun 2018 19:24:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e0281207-05a5-4649-a76e-a375c4b6189c X-Archives-Hash: ebf66a76a84125efed3640d674163dc5 commit: c048771cb2b44e4b2e6e5553eaa62d3795096b05 Author: Louis Sautier gentoo org> AuthorDate: Wed Jun 20 19:22:58 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Jun 20 19:24:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c048771c dev-python/flask-debug: support PyPy{,3}, Python 3.6, fix deps Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/flask-debug/flask-debug-0.4.3.ebuild | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/dev-python/flask-debug/flask-debug-0.4.3.ebuild b/dev-python/flask-debug/flask-debug-0.4.3.ebuild index a9dce3dd0e8..cccb072ac7a 100644 --- a/dev-python/flask-debug/flask-debug-0.4.3.ebuild +++ b/dev-python/flask-debug/flask-debug-0.4.3.ebuild @@ -1,8 +1,8 @@ # 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=( pypy{,3} python{2_7,3_{4,5,6}} ) inherit distutils-r1 @@ -21,15 +21,15 @@ IUSE="doc test" RDEPEND=" dev-python/flask[${PYTHON_USEDEP}] dev-python/inflection[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) test? ( - dev-python/pytest-runner[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) " S="${WORKDIR}/${MY_PN}-${PV}" @@ -40,14 +40,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 -}