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 1NdRDB-0001Hv-Vw for garchives@archives.gentoo.org; Fri, 05 Feb 2010 16:39:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41D27E08C0; Fri, 5 Feb 2010 16:38:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 31FC8E08A5 for ; Fri, 5 Feb 2010 16:38:34 +0000 (UTC) Received: from afta-gentoo.localnet (bios15.biol.us.edu.pl [155.158.245.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 998A21B400F for ; Fri, 5 Feb 2010 16:38:33 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: [gentoo-dev] Python-3.2-related changes Date: Fri, 5 Feb 2010 17:40:00 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.32-tuxonice-r1-AFTA; KDE/4.3.5; x86_64; ; ) 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="nextPart4072613.xmFQc4McqJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002051740.29640.Arfrever@gentoo.org> X-Archives-Salt: 2f08df47-7932-4485-bd35-a53b93dd6d5b X-Archives-Hash: a3a0be6f5978e75546be2edf4822f8df --nextPart4072613.xmFQc4McqJ Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It is planned that ebuilds of Python 3.2 will automatically set Python 3.2 = as main active version of Python. (Currently ebuilds of Python 3.1 do not automatically se= t Python 3.1 as main active version of Python.) Final release of Python 3.2 is currently= scheduled on 2010-12-11, so you have over 10 months for adjusting of your ebuilds. The following changes should be made in ebuilds of packages supporting only= Python 2: =2D Dependency on Python 2 should be set correctly. You can specify it dire= ctly in {,R}DEPEND or use PYTHON_DEPEND. Example: PYTHON_DEPEND=3D"2" inherit python =2D Miscellaneous actions should be executed with correct version of Python. - In ebuilds of packages supporting installation for multiple versions of= Python, please remember to disable installation for all versions of Python 3. (Please do not use python_set_active_version() in ebuilds of these pack= ages.) Example: RESTRICT_PYTHON_ABIS=3D"3.*" - In ebuilds of packages not supporting installation for multiple version= s of Python, set active version of Python using python_set_active_version(). (Please avoid passing precisely specified Python ABI to python_set_acti= ve_version().) Example: pkg_setup() { python_set_active_version 2 } (If given package currently cannot be installed for multiple versions o= f Python, but it is theoretically possible (e.g. this package installs .py files = into /usr/lib/pythonX.Y/site-packages and does not install any non-versioned= libraries into /usr/lib), then please try to adjust ebuilds of this package to al= low installation for multiple versions of Python.) It is recommended to have set a version of Python 3 as main active version = of Python during testing of these changes to ensure that no required change has been = missed. I consider filing bugs for not adjusted packages after some months (e.g in = summer). (Please note that these changes are not required before stabilization of Py= thon 3.1, so stabilization of Python 3.1 will not be delayed.) =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart4072613.xmFQc4McqJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJLbEn9AAoJEFtpjAED8H0YxVcP/3qnEgF6cEh8fi8C4yfmdE4+ UwSje/q1ajx2Oug4dzFP0VFnUOtajDmSDPZSwIgMdobu4aFFvig4KtTR8e/k7ni1 jLXUvcwNYpjkBzobVo3jAK+eUhOpuh4WJ47dmPDVMj2y0rx350hOq1KKh2bx4wAL fOd/tENTTJxWvVl+HGS7O3H9ZdV91PCzSZobfYo1vIruehA5wYXxMjDKToqVMXk5 mPRjDjDfDOVeaM/fIsscR0rqjHcCSLE9D6PUYBErtthC09BOsZM3jQjOeqLvrx+O SUmSyd1K2cSau6mMwgMAJmPilPDy8xgMJ8fIGaSogo+sJT2DLmB4Q2bekvKSaXRY Lua7u+NLEd4OWp0UnRdFVyvUsgtshaUpouxEQxPYf2+jsdeYYTe75Buet21+mY7O akTV29GELry205Lk9erVvAt/70THpcaUNbNVVfUccX1MFbCMPTpok/AmX8Mhkh8A 53QsOjshSeeNQnH0ZnQOdG+3qY4JfVYwX24O+JD70KSV+uswFOwkWWIRWoorxTcK 8n1COsBVVbT8CMPSMYH6qy8siYtv+fVuh7q+UfeDcIE9YNqedCrAiS6/HW+Xm8Au Df7MG3BOVxqEZH/Xxu2pn4hl+qxiCnwpJ8NijBD9Ev9B0W1RLOi5pdnWfywgToHU ZZ7VCY8fNhfpVuU6PR0G =VS7S -----END PGP SIGNATURE----- --nextPart4072613.xmFQc4McqJ--