From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P9l6M-0004vG-35 for garchives@archives.gentoo.org; Sat, 23 Oct 2010 20:54:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51C8BE00E8; Sat, 23 Oct 2010 20:53:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0996AE081A for ; Sat, 23 Oct 2010 20:53:37 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-235-97.broker.com.pl [85.198.235.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 453721B40B7; Sat, 23 Oct 2010 20:53:36 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: Re: [gentoo-dev] Patch for python.eclass Date: Sat, 23 Oct 2010 22:54:52 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-tuxonice-r8-AFTA; KDE/4.4.5; x86_64; ; ) Cc: qa@gentoo.org References: <201010180333.56025.Arfrever@gentoo.org> In-Reply-To: <201010180333.56025.Arfrever@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1529024.vgYB0zBxJN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201010232254.53820.Arfrever@gentoo.org> X-Archives-Salt: 5ea11d1a-0729-4029-93f1-3821f736d4e8 X-Archives-Hash: b412f34a28468c9d207a2fb9c869ee90 --nextPart1529024.vgYB0zBxJN Content-Type: multipart/mixed; boundary="Boundary-01=_du0wMSbBPacya4m" Content-Transfer-Encoding: 7bit --Boundary-01=_du0wMSbBPacya4m Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subpatch #11 adds temporary support for EAPI=3D"0" in python_get_implementa= tional_package() to work around a part of bug #340395. This subpatch is very small, so I'm planning to commit it with the rest of = subpatches. =2D-=20 Arfrever Frehtes Taifersar Arahesis --Boundary-01=_du0wMSbBPacya4m Content-Type: text/x-patch; charset="utf-8"; name="python.eclass.patch.11" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="python.eclass.patch.11" =2D-- python.eclass +++ python.eclass @@ -1711,10 +1711,18 @@ fi fi =20 =2D if [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "CPython" = ]]; then =2D echo "dev-lang/python:${PYTHON_ABI}" =2D elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "Jython"= ]]; then =2D echo "dev-java/jython:${PYTHON_ABI%-jython}" + if [[ "${EAPI:-0}" =3D=3D "0" ]]; then + if [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "CPython" ]= ]; then + echo "=3Ddev-lang/python-${PYTHON_ABI}*" + elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "Jython" = ]]; then + echo "=3Ddev-java/jython-${PYTHON_ABI%-jython}*" + fi + else + if [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "CPython" ]= ]; then + echo "dev-lang/python:${PYTHON_ABI}" + elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" =3D=3D "Jython" = ]]; then + echo "dev-java/jython:${PYTHON_ABI%-jython}" + fi fi } =20 --Boundary-01=_du0wMSbBPacya4m-- --nextPart1529024.vgYB0zBxJN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJMw0udAAoJEFU3/w1zlLfglGMQAKLWZtNEFYkZYxY0DcOGQzvu w5+fRUxn6MBS1qpN26Un9Ntd64nWVRvlQd5natGt//EagqRNT8AcYw8iYrF+LAag xkCGEOYokDpEIEbU7fW2daLh+p6iKF4fWiVRYcadJivZuxtNXC5HzZsWPJhr2hsV pJcWt5eRdWZ8CTgklytgwXD57ganiAD2wXAns+oUQd+brB2nfsTREBgcVFptgcYX OThFTI2QQG34QrtAqVaW6jGlaRBscWxmMLTJHjbQ6dpcI/oiHFiWwrXM8sGBndaB xus9WWkB69+/1fLrmewzgnFuaYeHrMuH+wmBknk5ELyrGZNFOaKtvOuNeVlgZBrg t0dfUIPBJ8TgJ2iJRQK26LMj8SMzemJgRaum7R0/fuJ6Xy1Ve1DU3O2VHV1jZGkB toHthJtl0I6Yp5t97Gh6+ymcgxkiXZMfaeqWZw3i1ziVfuV3srQB27Kzt2LdVAEQ +fFBJR+EHFQSiv6nEAZCqn5q8emznP5l+Hvlt2eVjKx8Qm+xDDE0uYN4vllhBnOp OP8YXsSUXEScMIisMC7kqw4xSmnWx9VgPfiP4zjqo6KYud7dts+7ghTxQS+f/B7o IY4mikBsIseWUOocWelutyV8lBA2T32GHQbptcPxFIXGoimdSJAMpca0PTaSlb0F eUbiOPDSmWnauDAv3f/4 =9WDw -----END PGP SIGNATURE----- --nextPart1529024.vgYB0zBxJN--