Gentoo Archives: gentoo-dev

From: Tom Payne <twp@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Abusing PROVIDE
Date: Wed, 21 May 2003 10:10:54
Message-Id: 20030521101031.GA14715@tompayne.org
1 Hi --
2
3 I'd like to abuse PROVIDE. Here's the story:
4
5 ruby-1.6.8 is the latest version of Ruby
6 rexml, yaml, optparse, and others are available as add-on packages
7
8 ruby-1.8.0 is coming Real Soon Now
9 rexml, yaml, optparse, and others are part of the ruby-1.8.0 distribution
10
11 If a package needs ruby and optparse I can write
12 DEPEND="( >=dev-lang/ruby-1.6 <dev-lang/ruby-1.8 dev-ruby/optparse )
13 || >=dev-lang/ruby-1.8.0"
14 but this means that I have to modify every ebuild that depends on any of
15 packages that are now part of ruby-1.8.
16
17 Question: is it OK to make dev-lang/ruby-1.8 PROVIDE rexml, yaml, etc.? e.g.
18 PROVIDE="dev-ruby/rexml dev-ruby/yaml dev-ruby/optparse"
19 Or will this cause problems?
20
21 Cheers,
22
23 Tom
24
25 --
26 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Abusing PROVIDE Martin Schlemmer <azarah@g.o>