From a204ddaca972ee50f7c6e09b340bef11bebe3d61 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 24 Mar 2020 15:57:06 -0400 Subject: [PATCH] dev-python/fudge: EAPI 7 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert --- dev-python/fudge/fudge-1.1.1.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dev-python/fudge/fudge-1.1.1.ebuild b/dev-python/fudge/fudge-1.1.1.ebuild index d07cb65e79e8..854bc14d6fe0 100644 --- a/dev-python/fudge/fudge-1.1.1.ebuild +++ b/dev-python/fudge/fudge-1.1.1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -16,18 +16,17 @@ KEYWORDS="~amd64 ~arm64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" python_compile_all() { use doc && emake -C docs html } python_test() { - nosetests -w "${BUILD_DIR}"/lib \ - || die "Tests fail with ${EPYTHON}" + nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" } python_install_all() { -- 2.26.2