dev-python/ipaddr: 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:59:14 +01:00
parent a83c10e4ae
commit 3e5a623a62

View File

@@ -1,8 +1,9 @@
# 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=( python{2_7,3_5,3_6,3_7} pypy )
inherit distutils-r1
@@ -15,8 +16,6 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare() {
if python_is_python3; then
2to3 -n -w --no-diffs *.py || die