New Gentoo live ebuild for Mercurial (tracks main repo)
Arne Babenhauserheide
arne_bab at web.de
Wed Mar 11 07:04:25 CDT 2009
We (nelchael and me) just finished a live ebuild for Mercurial which allows to
conveniently track the main (mpm) repo of Mercurial in Gentoo, and I thought
that might interest some of you, too.
To use the ebuild, just add
=dev-util/mercurial-9999 **
to your package.keywords and emerge mercurial (again).
It took us a while since we had to revise the Mercurial eclass to always build
Mercurial live packages from their Mercurial repository and nelchael took the
chance to completely overhaul the eclass.
If you're interested in the details, please have a look at the ebuild and the
eclass as well as the tracking bug.
- ebuild: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-
util/mercurial/mercurial-9999.ebuild?view=markup
- eclass: http://sources.gentoo.org/viewcvs.py/gentoo-
x86/eclass/mercurial.eclass?view=markup
- tracking bug: http://bugs.gentoo.org/251163
To use the eclass in an ebuild, just add "inherit mercurial" at the beginning
of the ebuild and set "EHG_REPO_URI" to the correct repository URI. If you
need to share a single repository between several ebuilds, set "EHG_PROJECT"
to the project name in all of them.
Have fun with Mercurial!
Arne
PS: I also published this post on my site:
http://draketo.de/light/english/mercurial/gentoo-live-ebuild-mercurial
--
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090311/89cc760b/attachment.pgp
More information about the Mercurial
mailing list