public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Check versions of other packages within ebuilds
@ 2002-10-29 18:37 CJ Kucera
  0 siblings, 0 replies; only message in thread
From: CJ Kucera @ 2002-10-29 18:37 UTC (permalink / raw
  To: gentoo-dev

Howdy!

For some time now, I've wished that there was a way to check for
other packages' versions when inside an ebuild.  I know that there
are a whole bunch of packages that check for versions of GCC, etc,
using strange and convoluted sed/awk/etc statements.  Which is
all well and good, but I've always felt that there should be a more
"clean" way to do it, that would be applicable to all packages as
well.

Well, today I finally did something about it, and you can read about
the fruits of my ten-minute-long labor here:

  http://bugs.gentoo.org/show_bug.cgi?id=9910

Using my script, it'd be possible to do things like this in an ebuild:

  version ">=gcc-3.0" && apply_gcc_3_patch()

Etcetera.  I'm posting here, too, in the hopes that it'll get a
wider audience and thus be more likely to be cleaned up and eventually
make it into portage.

That is all.

-CJ

-- 
WOW: Kakistocracy        |  "The ships hung in the sky in much the same
apocalyptech.com/wow     |    way that bricks don't." - Douglas Adams,
pez@apocalyptech.com     |     _The Hitchhiker's Guide To The Galaxy_


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 18:37 [gentoo-dev] Check versions of other packages within ebuilds CJ Kucera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox