public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: Tom Payne <twp@gentoo.org>
Cc: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] Abusing PROVIDE
Date: 21 May 2003 19:42:30 +0200	[thread overview]
Message-ID: <1053538950.10390.36.camel@nosferatu.lan> (raw)
In-Reply-To: <20030521101031.GA14715@tompayne.org>

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

On Wed, 2003-05-21 at 12:10, Tom Payne wrote:
> Hi --
> 
> I'd like to abuse PROVIDE. Here's the story:
> 
> ruby-1.6.8 is the latest version of Ruby
> rexml, yaml, optparse, and others are available as add-on packages
> 
> ruby-1.8.0 is coming Real Soon Now
> rexml, yaml, optparse, and others are part of the ruby-1.8.0 distribution
> 
> If a package needs ruby and optparse I can write
> DEPEND="( >=dev-lang/ruby-1.6 <dev-lang/ruby-1.8 dev-ruby/optparse )
> 	|| >=dev-lang/ruby-1.8.0"
> but this means that I have to modify every ebuild that depends on any of
> packages that are now part of ruby-1.8.
> 
> Question: is it OK to make dev-lang/ruby-1.8 PROVIDE rexml, yaml, etc.? e.g.
> PROVIDE="dev-ruby/rexml dev-ruby/yaml dev-ruby/optparse"
> Or will this cause problems?
> 

It may not be considered 100% correct.  More technically correct would
be:

PROVIDE="virtual/ruby-rexml virtual/ruby-yaml virtual/ruby-optparse"

A few things however do provide similar to what you want, so maybe
we should check with Nick/Daniel first.

You should also remember that if it is a virtual (of whatever form), you
will run into issues if you want to depend on specific versions ...


Any reason not to keep 1.8.0 in testing for a bit, with whatever depends
on it, and just specifying DEPEND as:

DEPEND=">=dev-lang/ruby-1.8"

?  Then you can when they get marked stable just faze out the old ruby
totally ...


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



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

      reply	other threads:[~2003-05-21 18:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 10:10 [gentoo-dev] Abusing PROVIDE Tom Payne
2003-05-21 17:42 ` Martin Schlemmer [this message]

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=1053538950.10390.36.camel@nosferatu.lan \
    --to=azarah@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=twp@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