commit: a204ddaca972ee50f7c6e09b340bef11bebe3d61 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Tue Mar 24 19:57:06 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Tue Mar 24 19:57:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a204ddac
dev-python/fudge: EAPI 7 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> 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 d07cb65e79e..854bc14d6fe 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() {