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 1S2nVY-0000lv-3B for garchives@archives.gentoo.org; Wed, 29 Feb 2012 17:40:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5577E089F; Wed, 29 Feb 2012 17:39:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7EEB3E09B7 for ; Wed, 29 Feb 2012 17:38:24 +0000 (UTC) Received: from [10.0.0.62] (89-74-61-34.dynamic.chello.pl [89.74.61.34]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nelchael) by smtp.gentoo.org (Postfix) with ESMTPSA id A77991B4008 for ; Wed, 29 Feb 2012 17:38:23 +0000 (UTC) Message-ID: <4F4E628E.3050500@gentoo.org> Date: Wed, 29 Feb 2012 18:38:22 +0100 From: Krzysztof Pawlik Organization: Gentoo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120213 Thunderbird/10.0.1 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New eclass for Python References: <4F4D4380.9070909@gentoo.org> <4F4DD892.10707@gentoo.org> In-Reply-To: <4F4DD892.10707@gentoo.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0DA9E6372B729A8357F1A510" X-Archives-Salt: 006d6091-e820-423c-a57e-5bae2e1a5989 X-Archives-Hash: 00e44f6a9fafdf727d579c35745d7f3f This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0DA9E6372B729A8357F1A510 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 29/02/12 08:49, "Pawe=C5=82 Hajdan, Jr." wrote: > On 2/28/12 10:13 PM, Krzysztof Pawlik wrote: >> Highlights: >> - <400 lines of code including documentation >> - should work for >95% of packages (my educated guess) >> - did I mention it's *SIMPLE*? >> - easy to maintain & read so it's also easy to use >=20 > This is awesome! Compare that to over 3000 LOC of python.eclass. :) Count distutils.eclass too: $ wc -l python-distutils-ng.eclass python.eclass distutils.eclass 364 python-distutils-ng.eclass 3168 python.eclass 592 distutils.eclass >> Important thing: I'm not aiming at having 100% functionality of curren= t >> python.eclass+distutils.eclass in the new one, I think that simplicity= is more >> important that supporting every possible, obscure case that's out ther= e. >=20 > Exactly. >=20 >> If there are no objections then during the weekend (March 3, 4) I will= add this >> to portage (after finishing remaining TODO items, PyPy requires 4G of = RAM(!!)). >=20 > I second this so much (didn't review the eclass in detail, but it's > obviously better than python.eclass). Thank you :) > What's the plan to retire python.eclass? I'm not entirely sure - there's no pressure to migrate off it, both can c= oexist happily. I don't think it can be retired until be have all functionality = from python.eclass+distutils.eclass somewhere (especially tests!). If the package is distutils-based then migration should be pretty painles= s and new packages (or version/revision bumps) can start using it as soon as it= hits portage. --=20 Krzysztof Pawlik key id: 0xF6A80E46 desktop-misc, java, vim, kernel, python, apache... --------------enig0DA9E6372B729A8357F1A510 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCgAGBQJPTmKOAAoJEBZyv1r2qA5Gq4sH/REXTfgdgAuAy3SaDdIa32lS akH+gVwf95SUxWDOUgy31nQIARxqYRMNM9lgKvA/XnCmzMnYK6R0hzXfxizDL89Y fUjDPWNZ7X0MqgwcDWJ2T0HVLS3gUfM724/tOwII6RN2Qcmyc/lYgpQWN9bsJhu1 78UBJfDCrP5EeXn/7WVGFrpfVReGxpNA7BqzJidrT65i6Mz8JYTzkB25/o0PocVM 0HC1hmzZEgFqUZ+ITvGl9zkhHhhGNmeN/FazdLfrLveN36nKpaZx7bE8cqxUsefY A5dA2Sw/UAifgFm839GX/+PHnsQrbX46IzxWP60F/mj0vS7uy/ENAOyhOEDIUD8= =teFV -----END PGP SIGNATURE----- --------------enig0DA9E6372B729A8357F1A510--