public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans de Graaff <graaff@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3*
Date: Sun, 06 Jun 2010 18:36:01 +0200	[thread overview]
Message-ID: <1275842161.23661.5.camel@localhost> (raw)
In-Reply-To: <4C0B7B1C.3000009@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

On Sun, 2010-06-06 at 12:40 +0200, Thomas Sachau wrote:

> Every package defines the language(s), where it could be installed for multiple slots, e.g.:
> 
> MULTI_SLOT="python" or
> MULTI_SLOT="python ruby"
> 
> Additionally, it should define the supported slots, something like this:
> 
> SUPPORTED_RUBY_SLOTS="1.8 1.9" or
> SUPPORTED_PYTHON_SLOTS="2.5 2.6 3.0 3.1"
> 
> Now the package manager should take those vars and convert them to some expanded USE vars like:
> 
> RUBY_SLOTS="1.8 1.9" or
> PYTHON_SLOTS="2.5 2.6 3.0 3.1"
> 
> By default, the current active version should be enabled, the others disabled. In addition, every
> dependency, which requires ruby/python should get internal usedeps, so that they require the same
> slots as this package. Every enabled slot should of course pull in that slot 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 install 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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

  parent reply	other threads:[~2010-06-06 16:36 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 14:33 [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3* Thomas Sachau
2010-05-27 15:30 ` Gilles Dartiguelongue
2010-06-05 14:43 ` Arfrever Frehtes Taifersar Arahesis
2010-06-05 15:49   ` Thomas Sachau
2010-06-05 18:31     ` Harald van Dijk
2010-06-05 23:04       ` Thomas Sachau
2010-06-05 23:38         ` Harald van Dijk
2010-06-06  2:01           ` Thomas Sachau
2010-06-06  2:19             ` Sebastian Pipping
2010-06-06  7:37               ` Michał Górny
2010-06-06 11:14                 ` Dale
2010-06-06 11:23                 ` Thomas Sachau
2010-06-06  6:36             ` Graham Murray
2010-06-06 10:40               ` Thomas Sachau
2010-06-06 11:09                 ` Matti Bickel
2010-06-06 11:37                   ` Thomas Sachau
2010-06-06 11:50                     ` Domen Kožar
2010-06-06 12:31                       ` Thomas Sachau
2010-06-06 12:41                       ` Thomas Sachau
2010-06-06 13:35                         ` Domen Kožar
2010-06-06 13:51                           ` Thomas Sachau
2010-06-07  1:22                           ` Brian Harring
2010-06-06 13:44                 ` Arfrever Frehtes Taifersar Arahesis
2010-06-06 13:54                   ` Thomas Sachau
2010-06-06 14:07                     ` Arfrever Frehtes Taifersar Arahesis
2010-06-07  5:53                     ` Alec Warner
2010-06-06 16:36                 ` Hans de Graaff [this message]
2010-06-06  0:08         ` Sebastian Pipping
2010-06-06 11:48           ` Rémi Cardona
2010-06-05 20:06   ` Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275842161.23661.5.camel@localhost \
    --to=graaff@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox