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 F226B138334 for ; Tue, 19 Jun 2018 21:39:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F352FE0930; Tue, 19 Jun 2018 21:39:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C2052E0930 for ; Tue, 19 Jun 2018 21:39:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3AB8C335C8E for ; Tue, 19 Jun 2018 21:39:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63EE52CB for ; Tue, 19 Jun 2018 21:39:40 +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: <1529444374.5f16bc2acda903e79d7ed27b6c2e0445f64fffd6.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild X-VCS-Directories: dev-python/flask-appconfig/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 5f16bc2acda903e79d7ed27b6c2e0445f64fffd6 X-VCS-Branch: master Date: Tue, 19 Jun 2018 21:39:40 +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: 4d3ddc30-f51f-4cc6-9e3d-45cbeec9a6f9 X-Archives-Hash: 4f4b15c6bd4c387dfcb6922d83683f00 commit: 5f16bc2acda903e79d7ed27b6c2e0445f64fffd6 Author: Louis Sautier gentoo org> AuthorDate: Tue Jun 19 21:37:25 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Jun 19 21:39:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f16bc2a dev-python/flask-appconfig: Add Python 3.6, PyPy{,3} Also remove useless depend on pytest-runner. Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../flask-appconfig-0.11.1-r1.ebuild | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild index 66d2f6d3518..2e1c7689325 100644 --- a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild +++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.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=( pypy{,3} python{2_7,3_{4,5,6}} ) inherit distutils-r1 @@ -24,12 +24,11 @@ RDEPEND=" " 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}] ) " python_prepare_all() { @@ -40,14 +39,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 -}