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 1OLEN6-0003bT-2E for garchives@archives.gentoo.org; Sun, 06 Jun 2010 11:50:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77DD1E0BFA; Sun, 6 Jun 2010 11:50:30 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 63FC3E0BD9 for ; Sun, 6 Jun 2010 11:50:27 +0000 (UTC) Received: by fxm4 with SMTP id 4so532870fxm.40 for ; Sun, 06 Jun 2010 04:50:26 -0700 (PDT) Received: by 10.102.240.34 with SMTP id n34mr4560930muh.31.1275825026249; Sun, 06 Jun 2010 04:50:26 -0700 (PDT) Received: from [192.168.1.20] (84-255-194-155.static.t-2.net [84.255.194.155]) by mx.google.com with ESMTPS id j9sm4489349mue.47.2010.06.06.04.50.25 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Jun 2010 04:50:25 -0700 (PDT) Subject: Re: [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3* From: Domen =?UTF-8?Q?Ko=C5=BEar?= To: gentoo-dev@lists.gentoo.org In-Reply-To: <4C0B888B.5050909@gentoo.org> References: <4BFE82C3.2050400@gentoo.org> <201006051644.20150.Arfrever@gentoo.org> <4C0A720C.20300@gentoo.org> <20100605183154.GA19296@boostbox> <4C0AD7EC.2010700@gentoo.org> <20100605233806.GA17168@boostbox> <4C0B017B.40907@gentoo.org> <87r5kkacr9.fsf@newton.gmurray.org.uk> <4C0B7B1C.3000009@gentoo.org> <4C0B8204.8090101@gentoo.org> <4C0B888B.5050909@gentoo.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-dTmCb0eiEYYkvdDdwGqs" Date: Sun, 06 Jun 2010 11:50:24 +0000 Message-ID: <1275825024.4662.17.camel@oblak.fubar.si> 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 X-Mailer: Evolution 2.28.3.1 X-Archives-Salt: a0d59286-e3d9-468c-a119-0225e0485ae7 X-Archives-Hash: 83e357fc7cb2bd23bd5c98601c7c4fb4 --=-dTmCb0eiEYYkvdDdwGqs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > The current python eclass also uses some vars to specify the supported sl= ots, yes, but it is more > complex and harder to maintain in addition to the fact, that the dependen= cy part is hidden from the > package manager. >=20 > I dont think, that you can tell portage with the current implementation, = that it should only install > python modules for python-2.6 by default and additionally python modules = for python-3.1 for selected > packages. Portage will also install newer slots of python, even when the = user does not request them > and no package requires them, which will result in unneeded and unused ve= rsions on disk. Beg my pardon, but that is untrue AFAIK. Portage will install packages only for active python version, unless USE_PYTHON is set. > And if you add a python slot or remove one, portage currently is not able= to see that and to > reinstall packages, which had modules installed for that slot. You need a= nother tool > (python-updater) to check that and to call the needed reinstalls. I agree with this fact, user should not be required to read additional documenation for portage to function as wanted.=20 I'm very unfamiliar with inner workings of portage, but using python-updater implementation, USE_PYTHON behaviour shouldn't be that hard to implement? >=20 > With my solution, there are only modules installed for selected slots. An= d if you have selected a > slot, the related python version is pulled in by portage. If you disable = that slot, you can > reinstall those packages with --newuse option and then can remove that py= thon slot with --depclean. > No need for another tool, simple handling by the package manager Explicit is **** than implicit:) Cheers, Domen --=-dTmCb0eiEYYkvdDdwGqs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQEcBAABAgAGBQJMC4uAAAoJELK2yDJICzUARI0H/jPt+EAnCMo/OH9tOcKs7pOV qYCJLuYPPARmQsReFou6aqLOaAfoR7L0Gc9phrNB+Vg4DlXq74/I7iTPLypkxURZ gO6h5H4EKf7RUUTWS4AkIDBU7hwUuuJ8yCZgwQVHGgYJwFFzt9KegJnXhq8gc/b8 QvBH/bbG/WPQ4fMktjVlPcjMUTD1P98ix55mY4QAL+nMrdhNIIGYqx5w//9b7VfI 7g93IMmFJzHcCirl3YcriweJYQu9D0BECs8tKaaJQXqgm+zZpsA5B7z/fzxcELav 7iYUBhcuHPHbdiSjiVfSHieDdwWFHIF6Q/wQOH1EpFy/LMTMWQhaFuAK+1RNvik= =d/+x -----END PGP SIGNATURE----- --=-dTmCb0eiEYYkvdDdwGqs--