From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29166 invoked by uid 1002); 21 May 2003 18:11:29 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 7417 invoked from network); 21 May 2003 18:11:18 -0000 From: Martin Schlemmer Reply-To: azarah@gentoo.org To: Tom Payne Cc: Gentoo-Dev In-Reply-To: <20030521101031.GA14715@tompayne.org> References: <20030521101031.GA14715@tompayne.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1fvOE7uS9rVwpcKSdw39" Organization: Message-Id: <1053538950.10390.36.camel@nosferatu.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4- Date: 21 May 2003 19:42:30 +0200 Subject: Re: [gentoo-dev] Abusing PROVIDE X-Archives-Salt: 2e74cab2-d37d-415f-90d9-955b9b9bf466 X-Archives-Hash: 28d5ef4229e22d2ef7f0243ef5a03c4d --=-1fvOE7uS9rVwpcKSdw39 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-05-21 at 12:10, Tom Payne wrote: > Hi -- >=20 > I'd like to abuse PROVIDE. Here's the story: >=20 > ruby-1.6.8 is the latest version of Ruby > rexml, yaml, optparse, and others are available as add-on packages >=20 > ruby-1.8.0 is coming Real Soon Now > rexml, yaml, optparse, and others are part of the ruby-1.8.0 distribution >=20 > If a package needs ruby and optparse I can write > DEPEND=3D"( >=3Ddev-lang/ruby-1.6 || >=3Ddev-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. >=20 > Question: is it OK to make dev-lang/ruby-1.8 PROVIDE rexml, yaml, etc.? e= .g. > PROVIDE=3D"dev-ruby/rexml dev-ruby/yaml dev-ruby/optparse" > Or will this cause problems? >=20 It may not be considered 100% correct. More technically correct would be: PROVIDE=3D"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=3D">=3Ddev-lang/ruby-1.8" ? Then you can when they get marked stable just faze out the old ruby totally ... Regards, --=20 Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa --=-1fvOE7uS9rVwpcKSdw39 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA+y7qFqburzKaJYLYRAhrSAJ4qzJC81YmUOS34EDmFLWmDDNM1NQCfTBik ra+GOAJG862kMOigYN4EeKo= =Dqc2 -----END PGP SIGNATURE----- --=-1fvOE7uS9rVwpcKSdw39--