Quantcast
Channel: http://nelchael.jogger.pl/
Viewing all articles
Browse latest Browse all 6

Gentoo live ebuild for Mercurial

$
0
0

Copied from Gentoo live ebuild for Mercurial with permission from Arne Babenhauserheide:

We (nelchael and me) just finished a live ebuild for Mercurial which allows to conveniently track the main (mpm) repo of Mercurial in Gentoo.

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.

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!


Viewing all articles
Browse latest Browse all 6

Latest Images