On Sun, Apr 17, 2005 at 12:36:19AM +0100, Daniel Drake wrote:
> Hi,
> 
> Quite often, I use Gentoo's from-source nature to my advantage when developing
> or testing software packages.
> 
> Gentoo is fairly well oriented for this kind of environment, but it's not
> brilliant. As an example, foo-3.2.1 (the latest version) is installed on my
> system, but more recently, they fixed a critical bug in the upstream CVS tree
> which I'd like to test the fix for. It's not dead simple for me to do this - I
> want to use the CVS sources with the ebuild already in portage. I have to use
> "ebuild foo-3.2.1.ebuild unpack" to extract the sources, then manually replace
> them with my CVS checkout. Or checkout CVS, make a new tarball, call it
> foo-3.2.1.tar.bz2, redigest and remerge the ebuild. Or I could create a
> foo-cvs ebuild and go to the trouble of making it mirror the contents of
> foo-3.2.1.ebuild exactly.
Tarball up the snapshot, ensure the ebuild relies on $PV for 
discerning what tarball to unpack 
(src_uri="http://download.berlios.de/${PN}/${PF}.tar.bz2"; fex)
and all you have to do is rename the ebuild to the snapshot tag....
~brian
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to