From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9636D1381F3 for ; Mon, 26 Nov 2012 21:24:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69DE721C021; Mon, 26 Nov 2012 21:23:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E068D21C021 for ; Mon, 26 Nov 2012 21:23:50 +0000 (UTC) Received: from pomiocik.lan (87-205-66-159.adsl.inetia.pl [87.205.66.159]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 0328133D9C7; Mon, 26 Nov 2012 21:23:48 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH 01/10] python-utils-r1: support all EAPIs. Date: Mon, 26 Nov 2012 22:20:28 +0100 Message-Id: <1353964837-24198-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> References: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: 3c91f61f-98f5-4b5b-a4fe-b373139f2fd8 X-Archives-Hash: 73ad3e2d70479041f6f473dce46ff0ba --- gx86/eclass/python-utils-r1.eclass | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gx86/eclass/python-utils-r1.eclass b/gx86/eclass/python-utils-r1.eclass index d8e4b81..abc3c0c 100644 --- a/gx86/eclass/python-utils-r1.eclass +++ b/gx86/eclass/python-utils-r1.eclass @@ -21,10 +21,7 @@ # http://www.gentoo.org/proj/en/Python/python-r1/dev-guide.xml case "${EAPI:-0}" in - 0|1|2|3) - die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" - ;; - 4|5) + 0|1|2|3|4|5) # EAPI=4 makes die behavior clear ;; *) @@ -399,7 +396,7 @@ python_doscript() { local newfn=${oldfn}-${EPYTHON} debug-print "${FUNCNAME}: ${oldfn} -> ${newfn}" - newins "${f}" "${newfn}" + newins "${f}" "${newfn}" || die _python_rewrite_shebang "${D}/${d}/${newfn}" # install the wrapper @@ -477,7 +474,7 @@ python_domodule() { local INSDESTTREE insinto "${d}" - doins -r "${@}" + doins -r "${@}" || die python_optimize "${D}/${d}" } -- 1.8.0