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 1OLIps-0002cT-W2 for garchives@archives.gentoo.org; Sun, 06 Jun 2010 16:36:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBFBCE0980; Sun, 6 Jun 2010 16:36:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1097FE096A for ; Sun, 6 Jun 2010 16:36:08 +0000 (UTC) Received: from [192.168.178.2] (graaff.xs4all.nl [80.101.101.38]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7386F1B4056 for ; Sun, 6 Jun 2010 16:36:05 +0000 (UTC) Subject: Re: [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3* From: Hans de Graaff To: gentoo-dev@lists.gentoo.org In-Reply-To: <4C0B7B1C.3000009@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> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-bVPGzsoFVjgv7fv2H5mr" Organization: Gentoo Date: Sun, 06 Jun 2010 18:36:01 +0200 Message-ID: <1275842161.23661.5.camel@localhost> 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: 1b20b5c7-a3c1-422a-8ad5-2d25b3304b96 X-Archives-Hash: 6ff08a57ef86bc6e252cfd9d04dad293 --=-bVPGzsoFVjgv7fv2H5mr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2010-06-06 at 12:40 +0200, Thomas Sachau wrote: > Every package defines the language(s), where it could be installed for mu= ltiple slots, e.g.: >=20 > MULTI_SLOT=3D"python" or > MULTI_SLOT=3D"python ruby" >=20 > Additionally, it should define the supported slots, something like this: >=20 > SUPPORTED_RUBY_SLOTS=3D"1.8 1.9" or > SUPPORTED_PYTHON_SLOTS=3D"2.5 2.6 3.0 3.1" >=20 > Now the package manager should take those vars and convert them to some e= xpanded USE vars like: >=20 > RUBY_SLOTS=3D"1.8 1.9" or > PYTHON_SLOTS=3D"2.5 2.6 3.0 3.1" >=20 > By default, the current active version should be enabled, the others disa= bled. In addition, every > dependency, which requires ruby/python should get internal usedeps, so th= at they require the same > slots as this package. Every enabled slot should of course pull in that s= lot of the language. Something like this is already implemented for ruby. See our ruby-ng.eclass for details. Note that thinking in terms of slots here is too limiting. For ruby we currently have four targets, two of which are slotted versions of the same implementation, and two of which are independent implementations. > I currently have a branch of portage ("multilib-portage"), which can inst= all a package for different > platforms, it could be extended to implement the above idea and i plan to= do that. Since i am the > only person working on it and me only having limited time and knowledge, = it could still take some > time, if noone else wants to step in and help with it. It might be nice to have generic support for this, especially in light of packages that have bindings in multiple languages. Please have a look at ruby-ng.eclass to see our current requirements and feel free to drop by in #gentoo-ruby for further discussion if needed. Hans --=-bVPGzsoFVjgv7fv2H5mr 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) iF4EABEIAAYFAkwLznEACgkQZihJkut28SuXzAD/V5fl/9OZCuKvLZ6G1ZWIzqAS 7PXkAkR5BOiWdBISso8A/jz+Nyq43YWd28w/X7ETeRQ/l6u8QijNyZmxy8sB+XKq =0OE/ -----END PGP SIGNATURE----- --=-bVPGzsoFVjgv7fv2H5mr--