dev-python/fudge: EAPI 7

Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-03-24 15:57:06 -04:00
parent ae7db0188d
commit a204ddaca9

View File

@@ -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() {