From: Michał Górny Date: Fri, 3 Jun 2016 14:49:46 +0000 (+0200) Subject: sys-apps/portage: Clean up old Python impls from the compat ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8139c4bd4ce61c3ff87483e913d444264572095e;p=gentoo.git sys-apps/portage: Clean up old Python impls from the compat ebuild --- diff --git a/sys-apps/portage/portage-2.2.8-r2.ebuild b/sys-apps/portage/portage-2.2.8-r2.ebuild index 755956816f95..7d29fe9b2cfe 100644 --- a/sys-apps/portage/portage-2.2.8-r2.ebuild +++ b/sys-apps/portage/portage-2.2.8-r2.ebuild @@ -6,9 +6,8 @@ # syntax support) which also requires EAPI 2. EAPI=2 PYTHON_COMPAT=( - pypy2_0 - python3_2 python3_3 python3_4 - python2_6 python2_7 + python3_3 python3_4 + python2_7 ) inherit eutils multilib @@ -17,7 +16,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" LICENSE="GPL-2" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" SLOT="0" -IUSE="build doc epydoc +ipc linguas_ru pypy2_0 python2 python3 selinux xattr" +IUSE="build doc epydoc +ipc linguas_ru python2 python3 selinux xattr" for _pyimpl in ${PYTHON_COMPAT[@]} ; do IUSE+=" python_targets_${_pyimpl}" @@ -27,20 +26,13 @@ unset _pyimpl # Import of the io module in python-2.6 raises ImportError for the # thread module if threading is disabled. python_dep_ssl="python3? ( =dev-lang/python-3*[ssl] ) - !pypy2_0? ( !python2? ( !python3? ( - || ( >=dev-lang/python-2.7[ssl] dev-lang/python:2.6[threads,ssl] ) - ) ) ) - pypy2_0? ( !python2? ( !python3? ( virtual/pypy:2.0[bzip2] ) ) ) - python2? ( !python3? ( || ( dev-lang/python:2.7[ssl] dev-lang/python:2.6[ssl,threads] ) ) )" + !python3? ( >=dev-lang/python-2.7[ssl] )" python_dep="${python_dep_ssl//\[ssl\]}" python_dep="${python_dep//,ssl}" python_dep="${python_dep//ssl,}" python_dep="${python_dep} - python_targets_pypy2_0? ( virtual/pypy:2.0 ) - python_targets_python2_6? ( dev-lang/python:2.6 ) python_targets_python2_7? ( dev-lang/python:2.7 ) - python_targets_python3_2? ( dev-lang/python:3.2 ) python_targets_python3_3? ( dev-lang/python:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) " @@ -71,9 +63,8 @@ RDEPEND="${python_dep} >=app-misc/pax-utils-0.1.17 selinux? ( || ( >=sys-libs/libselinux-2.0.94[python]