mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/ipaddr: Set DISTUTILS_USE_SETUPTOOLS, EAPI 7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user