dev-python/bz2file: Set DISTUTILS_USE_SETUPTOOLS, EAPI 7

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-12-16 14:56:20 +01:00
parent 6025cc4be4
commit 16720393fe

View File

@@ -1,9 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils-r1
DESCRIPTION="Replacement for bz2.BZ2File with features from newest CPython"
@@ -16,5 +18,5 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cy
IUSE=""
python_test() {
"${PYTHON}" test_bz2file.py -v || die "Tests fail with ${EPYTHON}"
"${EPYTHON}" test_bz2file.py -v || die "Tests fail with ${EPYTHON}"
}