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 28AAF1381F3 for ; Sat, 3 Aug 2013 21:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC2D6E0AF8; Sat, 3 Aug 2013 21:57:34 +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 150DDE0AD2 for ; Sat, 3 Aug 2013 21:57:33 +0000 (UTC) Received: from localhost (87-205-64-135.adsl.inetia.pl [87.205.64.135]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 3593C33ECC0; Sat, 3 Aug 2013 21:57:32 +0000 (UTC) Date: Sat, 3 Aug 2013 23:57:52 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: python@gentoo.org Subject: Re: [gentoo-dev] [New eclass] twisted-r1.eclass Message-ID: <20130803235752.7267fd9a@gentoo.org> In-Reply-To: <20130803171303.18911eba@gentoo.org> References: <20130803171303.18911eba@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.20; x86_64-pc-linux-gnu) 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; micalg=PGP-SHA512; boundary="Sig_/Cbkoe6yiVoe.ptD3iSu.qIG"; protocol="application/pgp-signature" X-Archives-Salt: 9b7d5709-660a-42b7-b491-5d5c514246a6 X-Archives-Hash: 6162b57bffe4012d855d9cb06498fcd2 --Sig_/Cbkoe6yiVoe.ptD3iSu.qIG Content-Type: multipart/mixed; boundary="MP_/=smTCFXBbCxYT5wcAwmZT/6" --MP_/=smTCFXBbCxYT5wcAwmZT/6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dnia 2013-08-03, o godz. 17:13:03 Micha=C5=82 G=C3=B3rny napisa=C5=82(a): > We've been working with yac for a while to get the old twisted.eclass > converted to be compliant with distutils-r1 both in design > and in spirit. This is the first version we'd like to submit for review. Second version, with much more faster camelcase magic (about 1.5 times) and bash-4 support. --=20 Best regards, Micha=C5=82 G=C3=B3rny --MP_/=smTCFXBbCxYT5wcAwmZT/6 Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=twisted-r1.eclass IyBDb3B5cmlnaHQgMTk5OS0yMDExIEdlbnRvbyBGb3VuZGF0aW9uDQojIERpc3RyaWJ1dGVkIHVu ZGVyIHRoZSB0ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIHYyIG9yIGxh dGVyDQojICRIZWFkZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2VjbGFzcy90d2lzdGVkLmVj bGFzcyx2IDEuMTAgMjAxMS8xMi8yNyAwNjo1NDoyMyBmbG9wcHltIEV4cCAkDQoNCiMgQEVDTEFT UzogdHdpc3RlZC1yMS5lY2xhc3MNCiMgQE1BSU5UQUlORVI6DQojIEdlbnRvbyBQeXRob24gUHJv amVjdCA8cHl0aG9uQGdlbnRvby5vcmc+DQojIEBBVVRIT1I6DQojIEF1dGhvcjogTWljaGHFgiBH w7NybnkgPG1nb3JueUBnZW50b28ub3JnPg0KIyBBdXRob3I6IEphbiBNYXRlamthIDx5YWNAZ2Vu dG9vLm9yZz4NCiMgQEJMVVJCOiBFY2xhc3MgZm9yIFR3aXN0ZWQgcGFja2FnZXMNCiMgQERFU0NS SVBUSU9OOg0KIyBUaG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ZGllDQoNCgkjIE5vdywgbGV0J3Mgc2VlIHdoaWNoIG9uZXMgd2UgY2FuIHJlZ2VuZXJhdGUu DQoJX3R3aXN0ZWQtcjFfY3JlYXRlX2NhY2hlcyAiJHtUV0lTVEVEX1BMVUdJTlNbQF19Ig0KDQoJ IyBGaW5hbGx5LCBkcm9wIGVtcHR5IHBhcmVudCBkaXJlY3Rvcmllcy4NCglybWRpciAtcCAiJHtw YXRoc1tAXX0iIDI+L2Rldi9udWxsDQp9DQoNCiMgQEZVTkNUSU9OOiB0d2lzdGVkLXIxX3BrZ19w b3N0aW5zdA0KIyBAREVTQ1JJUFRJT046DQojIFBvc3QtaW5zdGFsbGF0aW9uIGhvb2sgZm9yIHR3 aXN0ZWQtcjEuIFVwZGF0ZXMgcGx1Z2luIGNhY2hlcy4NCnR3aXN0ZWQtcjFfcGtnX3Bvc3RpbnN0 KCkgew0KCV9kaXN0dXRpbHMtcjFfcnVuX2ZvcmVhY2hfaW1wbCB0d2lzdGVkLXIxX3VwZGF0ZV9w bHVnaW5fY2FjaGUNCn0NCg0KIyBARlVOQ1RJT046IHR3aXN0ZWQtcjFfcGtnX3Bvc3RybQ0KIyBA REVTQ1JJUFRJT046DQojIFBvc3QtcmVtb3ZhbCBob29rIGZvciB0d2lzdGVkLXIxLiBVcGRhdGVz IHBsdWdpbiBjYWNoZXMuDQp0d2lzdGVkLXIxX3BrZ19wb3N0cm0oKSB7DQoJX2Rpc3R1dGlscy1y MV9ydW5fZm9yZWFjaF9pbXBsIHR3aXN0ZWQtcjFfdXBkYXRlX3BsdWdpbl9jYWNoZQ0KfQ0KDQpf VFdJU1RFRF9SMT0xDQoNCmZpICMgISAke19UV0lTVEVEX1IxfQ0K --MP_/=smTCFXBbCxYT5wcAwmZT/6-- --Sig_/Cbkoe6yiVoe.ptD3iSu.qIG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQJ8BAEBCgBmBQJR/XzhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKipMQAOM9Xc06sgJfbRT9cL4bcZLJ Oz/c9zPRsFPiYA7JwKhpCOoDnVaSj0JhxSUnoja3/8ZueuZIiebQNYd+W8sse6Mo HjwkdWsF+tOOgmZ4oLAxEFpPiLPj20Zl43ZOpQTEPhPJXXekDe87v+R75m0PxSqr RVWL5qFf+pLcMbVOcxkdpRYUzjE5UMM0Rt9z3TzFDsdvHAEJwq632x4DqN7NvVYb JW9wFe96L7zLlwxhOJzt7zFEVeex8IdhKzOwKcyZ8wPMuPzGTcKQ5WO26yt/AfNR Kwa6ylLzyKCcW75eDpU0BV5XkobcCZOprqJ6P4Mp/uk3EWMaXMU1NPXUwvTMZ38k 581pJH433ghYRRfBjvXliZ7c6cqHO96yqTBEx+Q5/W6WUHqUQBSZ7AFpJBTxiyvi hCANAHeAs4iApHWuViu5Hmya4R9C/DhPYuZlvUyNnv1sAq8Nf0zFe62bfvvLzIgS dme6P7P2vNwagWQunodWXdwtch7xbSXd/WUi/xfchfkXBoDCgHphk6taJCFZNzIP YzaVY21DoYN/sdbnwqHUGITHaE4BbNFrzR4ON0veuE82HBavrlVmnBXkn+qc6Wrh 7DY5st1tiKUiKifRBAEk+1LdSFigmu0Ibch4rHj1b7MFooB8zIgvLi845XVjwkuz NI/OvoFKddIrlieXSv14 =zTdv -----END PGP SIGNATURE----- --Sig_/Cbkoe6yiVoe.ptD3iSu.qIG--