Add dev-vcs/mercurial.
authorDirkjan Ochtman <djc@gentoo.org>
Sat, 6 Mar 2010 12:20:10 +0000 (12:20 +0000)
committerDirkjan Ochtman <djc@gentoo.org>
Sat, 6 Mar 2010 12:20:10 +0000 (12:20 +0000)
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
RepoMan-Options: --force

dev-vcs/mercurial/ChangeLog [new file with mode: 0644]
dev-vcs/mercurial/Manifest [new file with mode: 0644]
dev-vcs/mercurial/files/70mercurial-gentoo.el [new file with mode: 0644]
dev-vcs/mercurial/mercurial-1.4.1.ebuild [new file with mode: 0644]
dev-vcs/mercurial/mercurial-1.4.2.ebuild [new file with mode: 0644]
dev-vcs/mercurial/mercurial-1.4.3.ebuild [new file with mode: 0644]
dev-vcs/mercurial/mercurial-9999.ebuild [new file with mode: 0644]
dev-vcs/mercurial/metadata.xml [new file with mode: 0644]

diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog
new file mode 100644 (file)
index 0000000..aa0bdbc
--- /dev/null
@@ -0,0 +1,537 @@
+# ChangeLog for dev-util/mercurial
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.1 2010/03/06 12:20:08 djc Exp $
+
+  05 Mar 2010; Sebastian Pipping <sping@gentoo.org> mercurial-1.4.1.ebuild,
+  mercurial-1.4.2.ebuild, mercurial-1.4.3.ebuild, mercurial-9999.ebuild:
+  Propagate move of monotone
+
+*mercurial-1.4.3 (01 Feb 2010)
+
+  01 Feb 2010; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.4.3.ebuild:
+  Newly released 1.4.3.
+
+  01 Feb 2010; Dirkjan Ochtman <djc@gentoo.org> -mercurial-1.2.1.ebuild,
+  -mercurial-1.3.1-r1.ebuild:
+  Remove old versions.
+
+  29 Jan 2010; Raúl Porcel <armin76@gentoo.org> mercurial-1.4.1.ebuild:
+  alpha/ia64/sparc wrt #299312
+
+  27 Jan 2010; Raúl Porcel <armin76@gentoo.org> mercurial-1.4.1.ebuild,
+  mercurial-1.4.2.ebuild:
+  Add ~arm wrt #300753
+
+  12 Jan 2010; <hwoarang@gentoo.org> mercurial-1.4.1.ebuild:
+  Stable on amd64 wrt bug #299312
+
+  07 Jan 2010; Joseph Jezak <josejx@gentoo.org> mercurial-1.4.1.ebuild:
+  Marked ppc/ppc64 stable for bug #299312.
+
+  06 Jan 2010; Jeroen Roovers <jer@gentoo.org> mercurial-1.4.1.ebuild:
+  Stable for HPPA (bug #299312).
+
+  03 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> mercurial-1.4.1.ebuild,
+  mercurial-1.4.2.ebuild:
+  Install the optional hgeditor helper script (bug 297635).
+
+  02 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
+  mercurial-1.4.1.ebuild:
+  stable x86, bug 299312
+
+*mercurial-1.4.2 (02 Jan 2010)
+
+  02 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.4.2.ebuild:
+  Version bump to 1.4.2.
+
+  24 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> -mercurial-1.3.ebuild,
+  -mercurial-1.3.1.ebuild, -mercurial-1.4.ebuild:
+  Prune old versions.
+
+  24 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> mercurial-1.3.1-r1.ebuild,
+  mercurial-1.4.ebuild, mercurial-1.4.1.ebuild, mercurial-9999.ebuild:
+  Fix test runs failing for existent test dir (bug 297964).
+
+*mercurial-1.4.1 (02 Dec 2009)
+
+  02 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.4.1.ebuild:
+  Version bump to 1.4.1.
+
+*mercurial-1.4 (16 Nov 2009)
+
+  16 Nov 2009; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.4.ebuild:
+  Version bump to Mercurial 1.4, just released.
+
+  03 Nov 2009; Raúl Porcel <armin76@gentoo.org> mercurial-1.3.1-r1.ebuild:
+  alpha/ia64/sparc stable wrt #289998
+
+  28 Oct 2009; Christian Faulhammer <fauli@gentoo.org>
+  mercurial-1.3.1-r1.ebuild:
+  stable x86, bug 289998
+
+  24 Oct 2009; nixnut <nixnut@gentoo.org> mercurial-1.3.1-r1.ebuild:
+  ppc stable #289998
+
+  24 Oct 2009; Romain Perier <mrpouet@gentoo.org>
+  mercurial-1.3.1-r1.ebuild:
+  Stable for amd64 per bug #289998.
+
+  23 Oct 2009; Jeroen Roovers <jer@gentoo.org> mercurial-1.3.1-r1.ebuild:
+  Stable for HPPA (bug #289998).
+
+*mercurial-1.3.1-r1 (17 Sep 2009)
+
+  17 Sep 2009; <djc@gentoo.org> +mercurial-1.3.1-r1.ebuild:
+  Depend on python being built with USE=threads (bug #283882).
+
+  17 Sep 2009; <djc@gentoo.org> metadata.xml:
+  Add myself as a maintainer.
+
+  28 Aug 2009; William Hubbs <williamh@gentoo.org> metadata.xml:
+  Made zsh-completion a global use flag.
+
+  25 Jul 2009; Krzysiek Pawlik <nelchael@gentoo.org> mercurial-9999.ebuild:
+  Fix dependency on Python 2.4.
+
+*mercurial-1.3.1 (25 Jul 2009)
+
+  25 Jul 2009; Krzysiek Pawlik <nelchael@gentoo.org> mercurial-1.2.1.ebuild,
+  mercurial-1.3.ebuild, +mercurial-1.3.1.ebuild, mercurial-9999.ebuild:
+  Remove FEATURES test, version bump.
+
+  07 Jul 2009; Jeroen Roovers <jer@gentoo.org> mercurial-1.2.1.ebuild:
+  Stable for HPPA (bug #268205).
+
+*mercurial-1.3 (02 Jul 2009)
+
+  02 Jul 2009; Krzysiek Pawlik <nelchael@gentoo.org> +mercurial-1.3.ebuild:
+  Version bump.
+
+  16 May 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  -mercurial-1.0.2.ebuild, -mercurial-1.2.ebuild:
+  Remove old versions.
+
+  04 May 2009; Raúl Porcel <armin76@gentoo.org> mercurial-1.2.1.ebuild:
+  alpha/ia64/sparc stable wrt #268205
+
+  03 May 2009; Markus Meier <maekke@gentoo.org> mercurial-1.2.1.ebuild:
+  amd64/x86 stable, bug #268205
+
+  03 May 2009; Brent Baude <ranger@gentoo.org> mercurial-1.2.1.ebuild:
+  Marking mercurial-1.2.1 ppc64 for bug 268205
+
+  02 May 2009; nixnut <nixnut@gentoo.org> mercurial-1.2.1.ebuild:
+  ppc stable #268205
+
+*mercurial-1.2.1 (21 Mar 2009)
+
+  21 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  +mercurial-1.2.1.ebuild:
+  Version bump.
+
+  09 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> mercurial-1.2.ebuild:
+  Remove failing tests.
+
+*mercurial-9999 (09 Mar 2009)
+*mercurial-1.2 (09 Mar 2009)
+
+  09 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  -mercurial-1.1.1.ebuild, -mercurial-1.1.2.ebuild, +mercurial-1.2.ebuild,
+  +mercurial-9999.ebuild:
+  Version bump, remove old versions, add live (9999) version tracking crew
+  repository.
+
+  02 Feb 2009; Krzysiek Pawlik <nelchael@gentoo.org> ChangeLog:
+  Fix ChangeLog entries.
+
+  09 Jan 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  mercurial-1.1.2.ebuild:
+  Add tk to IUSE.
+
+  08 Jan 2009; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml,
+  mercurial-1.1.2.ebuild:
+  Add tk use flag for hgk script.
+
+*mercurial-1.1.2 (08 Jan 2009)
+
+  08 Jan 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+  -files/mercurial-1.0.1-87c704ac92d4-git-patch.patch,
+  -mercurial-1.0.1-r2.ebuild, -mercurial-1.0.1-r3.ebuild,
+  +mercurial-1.1.2.ebuild:
+  Version bump, remove old versions.
+
+*mercurial-1.1.1 (29 Dec 2008)
+
+  29 Dec 2008; Ben de Groot <yngwin@gentoo.org> +mercurial-1.1.1.ebuild:
+  Version bump, fixes bug 249688, which blocks the python 2.6 tracker bug
+  230205.
+
+  17 Oct 2008; Alexis Ballier <aballier@gentoo.org> mercurial-1.0.2.ebuild:
+  keyword ~x86-fbsd
+
+  05 Oct 2008; Raúl Porcel <armin76@gentoo.org> mercurial-1.0.2.ebuild:
+  alpha/ia64/x86 stable wrt #239055
+
+  04 Oct 2008; Ferris McCormick <fmccor@gentoo.org> mercurial-1.0.2.ebuild:
+  Sparc stable, security Bug #239055 (tests good, one skipped).
+
+  04 Oct 2008; Brent Baude <ranger@gentoo.org> mercurial-1.0.2.ebuild:
+  Marking mercurial-1.0.2 ppc64 and ppc for bug 239055
+
+  04 Oct 2008; Robert Buchholz <rbu@gentoo.org> mercurial-1.0.2.ebuild:
+  Make tests run with Python 2.5 and FEATURES=userpriv, a patch by Lourdes
+  Jones (bug #231280).
+
+  04 Oct 2008; Tobias Heinlein <keytoaster@gentoo.org>
+  mercurial-1.0.2.ebuild:
+  amd64 stable wrt security bug 239055
+
+*mercurial-1.0.2 (19 Sep 2008)
+
+  19 Sep 2008; Ben de Groot <yngwin@gentoo.org> +mercurial-1.0.2.ebuild:
+  Version bump. Dropping patch which was applied upstream.
+
+  15 Sep 2008; Jeroen Roovers <jer@gentoo.org> mercurial-1.0.1-r3.ebuild:
+  Marked ~hppa too.
+
+  07 Jul 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  -files/mercurial-0.9.5-hide-passwords.diff, -mercurial-0.9.5-r1.ebuild,
+  -mercurial-1.0.ebuild, -mercurial-1.0.1.ebuild,
+  -mercurial-1.0.1-r1.ebuild:
+  Remove old versions.
+
+  05 Jul 2008; Brent Baude <ranger@gentoo.org> mercurial-1.0.1-r2.ebuild:
+  Marking mercurial-1.0.1-r2 ppc64 for bug 230193
+
+  05 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  mercurial-1.0.1-r2.ebuild:
+  ppc stable, bug #230193
+
+*mercurial-1.0.1-r3 (04 Jul 2008)
+
+  04 Jul 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  +mercurial-1.0.1-r3.ebuild:
+  Make tests work, see bug #230646.
+
+  03 Jul 2008; Raúl Porcel <armin76@gentoo.org> mercurial-1.0.1-r2.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #230193
+
+  03 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org>
+  mercurial-1.0.1-r2.ebuild:
+  stable amd64, security bug 230193
+
+*mercurial-1.0.1-r2 (01 Jul 2008)
+
+  01 Jul 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/mercurial-1.0.1-87c704ac92d4-git-patch.patch,
+  +mercurial-1.0.1-r2.ebuild:
+  Add patch to fix git patches handling.
+
+  09 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  mercurial-1.0.1-r1.ebuild:
+  Install env.d file containing HG variable needed for hgk.
+
+*mercurial-1.0.1-r1 (09 Jun 2008)
+
+  09 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  +mercurial-1.0.1-r1.ebuild:
+  Install additional tools into bin directory, see bug #186042.
+
+  28 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
+  Removing Andrew Ross (aross) from metadata.xml (as per #139633).
+
+*mercurial-1.0.1 (25 May 2008)
+
+  25 May 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  +mercurial-1.0.1.ebuild:
+  Version bump.
+
+*mercurial-1.0 (25 Mar 2008)
+
+  25 Mar 2008; Krzysiek Pawlik <nelchael@gentoo.org> +mercurial-1.0.ebuild:
+  Version bump.
+
+  21 Jan 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  mercurial-0.9.5-r1.ebuild:
+  Fix dodoc, see bug #200117.
+
+  14 Jan 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+  -mercurial-0.9.3.ebuild, -mercurial-0.9.3-r1.ebuild,
+  -mercurial-0.9.5.ebuild:
+  Remove old versions.
+
+  14 Jan 2008; Christoph Mende <angelos@gentoo.org>
+  mercurial-0.9.5-r1.ebuild:
+  Stable on amd64 wrt bug #203325
+
+  27 Dec 2007; Brent Baude <ranger@gentoo.org> mercurial-0.9.5-r1.ebuild:
+  Marking mercurial-0.9.5-r1 ppc and ppc64 stable for bug 203325
+
+  25 Dec 2007; Raúl Porcel <armin76@gentoo.org> mercurial-0.9.5-r1.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #203325
+
+  25 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  -mercurial-0.9.1-r2.ebuild, -mercurial-0.9.4.ebuild:
+  Remove unneeded versions.
+
+*mercurial-0.9.5-r1 (25 Dec 2007)
+
+  25 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/mercurial-0.9.5-hide-passwords.diff, metadata.xml,
+  +mercurial-0.9.5-r1.ebuild:
+  Add upstream patch to hide passwords with http://user:password@.../ URLs.
+
+*mercurial-0.9.5 (07 Nov 2007)
+
+  07 Nov 2007; Andrew Ross <aross@gentoo.org> +mercurial-0.9.5.ebuild:
+  Version bump (bug #196713).
+
+  07 Nov 2007; Andrew Ross <aross@gentoo.org> mercurial-0.9.1-r2.ebuild:
+  Fix quoting issues caught by repoman.
+
+  18 Oct 2007; Tom Gall <tgall@gentoo.org> mercurial-0.9.4.ebuild:
+  added ~ppc64
+
+  22 Jul 2007; Andrew Ross <aross@gentoo.org> mercurial-0.9.4.ebuild:
+  Use canonical emacs support code, thanks to Christian Faulhammer
+  <opfer@gentoo.org> in bug #184249
+
+  05 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+  +mercurial-0.9.1-r2.ebuild:
+  restore ebuilds still in use in the tree
+
+*mercurial-0.9.4 (04 Jul 2007)
+
+  04 Jul 2007; Andrew Ross <aross@gentoo.org> -mercurial-0.9.ebuild,
+  -mercurial-0.9.1.ebuild, -mercurial-0.9.1-r1.ebuild,
+  -mercurial-0.9.1-r2.ebuild, +mercurial-0.9.4.ebuild:
+  Bump to 0.9.4 (bug #183212) and drop ebuilds <0.9.3
+
+  30 Jun 2007; Andrew Ross <aross@gentoo.org> metadata.xml,
+  mercurial-0.9.3-r1.ebuild:
+  Fix the conditional calling of elisp-site-regen in pkg_postrm() (bug #182639).
+  Remove agriffis@gentoo.org from metadata.xml (retired, bug #182294).
+
+  25 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org>
+  mercurial-0.9.3-r1.ebuild:
+  Stable on alpha as per bug #175814
+
+  24 Apr 2007; Peter Weller <welp@gentoo.org> mercurial-0.9.3-r1.ebuild:
+  Stable on amd64 wrt bug 175814
+
+  24 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  mercurial-0.9.3-r1.ebuild:
+  ppc stable, bug #175814
+
+  24 Apr 2007; Raúl Porcel <armin76@gentoo.org> mercurial-0.9.3-r1.ebuild:
+  ia64 + x86 stable wrt #175814
+
+  24 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  mercurial-0.9.3-r1.ebuild:
+  Stable on sparc wrt #175814
+
+  14 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+  files/70mercurial-gentoo.el, mercurial-0.9.3-r1.ebuild:
+  change site file for Emacs to not to load too much; correct installation
+  directory of compiled emacs support files; fixes bug 156753
+
+*mercurial-0.9.3-r1 (21 Jan 2007)
+
+  21 Jan 2007; Andrew Ross <aross@gentoo.org> +mercurial-0.9.3-r1.ebuild:
+  Install zsh command completion when USE=zsh-completion, thanks to Steve
+  Borho <steve@borho.og> in bug #162966.
+
+  21 Jan 2007; <aross@gentoo.org> -mercurial-0.8.ebuild,
+  -mercurial-0.8.1.ebuild:
+  Remove obsolete 0.8.x series, now 0.9.3 is stable.
+
+  17 Jan 2007; Steve Dibb <beandog@gentoo.org> mercurial-0.9.3.ebuild:
+  amd64 stable, bug 159856
+
+  10 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  mercurial-0.9.3.ebuild:
+  Stable on sparc wrt #159856
+
+  09 Jan 2007; Markus Rothe <corsair@gentoo.org> mercurial-0.9.3.ebuild:
+  Stable on ppc64; bug #159856
+
+  07 Jan 2007; Torsten Veller <tove@gentoo.org> mercurial-0.9.3.ebuild:
+  Stable on x86 (#159856). Add quotes to S, FILESDIR and D.
+
+  07 Jan 2007; Aron Griffis <agriffis@gentoo.org> mercurial-0.9.3.ebuild:
+  Mark 0.9.3 stable on alpha. #159856
+
+*mercurial-0.9.3 (19 Dec 2006)
+
+  19 Dec 2006; Andrew Ross <aross@gentoo.org> +mercurial-0.9.3.ebuild:
+  Version bump (bug #157902).
+
+  14 Dec 2006; Stefan Schweizer <genstef@gentoo.org>
+  mercurial-0.9.1-r2.ebuild:
+  Fix segfaults with filter-flags -ftracer -ftree-vectorize, thanks flameeyes
+
+  21 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  mercurial-0.9.1-r2.ebuild:
+  ppc stable
+
+  13 Sep 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.9.1-r2.ebuild:
+  Mark 0.9.1-r2 stable on ia64
+
+*mercurial-0.9.1-r2 (08 Sep 2006)
+
+  08 Sep 2006; Aron Griffis <agriffis@gentoo.org>
+  +files/70mercurial-gentoo.el, +mercurial-0.9.1-r2.ebuild:
+  Install mercurial.el in elisp directory using elisp-common.eclass, thanks to
+  MATSUI Tetsushi #140018
+
+  07 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+  mercurial-0.9.1-r1.ebuild:
+  Add ~x86-fbsd keyword.
+
+*mercurial-0.9.1-r1 (25 Aug 2006)
+
+  25 Aug 2006; Andrew Ross <aross@gentoo.org> +mercurial-0.9.1-r1.ebuild:
+  Byte-compile the 'hgext' python module, thanks to James Rowe
+  <jnrowe@ukfsn.org> in bug #135488. Don't install macosx and win32-specific
+  files (bug #143755). Install man pages unconditionally, instead of needing
+  USE=doc (bug #143744 and, to a lesser extent, bug #130790).
+
+  16 Aug 2006; Andrew Ross <aross@gentoo.org> metadata.xml:
+  Add myself as a maintainer.
+
+*mercurial-0.9.1 (08 Aug 2006)
+
+  08 Aug 2006; Aron Griffis <agriffis@gentoo.org> +mercurial-0.9.1.ebuild:
+  Bump to 0.9.1, thanks to Radek Podgorny #141903. Leave out contrib/vim
+  scripts, plan to put them in app-vim
+
+  08 Jul 2006; Markus Rothe <corsair@gentoo.org> mercurial-0.8.ebuild:
+  Stable on ppc64
+
+  10 Jun 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.9.ebuild:
+  Don't pull in asciidoc/xmlto unless USE=doc
+
+  01 Jun 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.9.ebuild:
+  Mark 0.9 stable on alpha/ia64
+
+  18 May 2006; Aron Griffis <agriffis@gentoo.org>
+  -mercurial-0.6b_p20050807.ebuild, -mercurial-0.7.ebuild:
+  Remove 0.7, 0.6b_p20050807
+
+  16 May 2006; Markus Rothe <corsair@gentoo.org> mercurial-0.8.ebuild,
+  mercurial-0.8.1.ebuild, mercurial-0.9.ebuild:
+  Added ~ppc64; bug #133386
+
+*mercurial-0.9 (15 May 2006)
+
+  15 May 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.8.1.ebuild,
+  +mercurial-0.9.ebuild:
+  Bump to 0.9 (from 0.8.1).  Mark 0.8.1 stable on alpha/ia64
+
+  01 May 2006; Jason Wever <weeve@gentoo.org> mercurial-0.8.1.ebuild:
+  Added ~sparc keyword.
+
+  27 Apr 2006; Marien Zwart <marienz@gentoo.org>
+  files/digest-mercurial-0.6b_p20050807, files/digest-mercurial-0.7,
+  files/digest-mercurial-0.8, Manifest:
+  Fixing SHA256 digest, pass four
+
+*mercurial-0.8.1 (11 Apr 2006)
+
+  11 Apr 2006; Aron Griffis <agriffis@gentoo.org> +mercurial-0.8.1.ebuild:
+  Bump to 0.8.1 (from 0.8)
+
+  24 Mar 2006; Chris White <chriswhite@gentoo.org> mercurial-0.8.ebuild:
+  amd64 for mercurial-0.8 bug #127373.
+
+  24 Mar 2006; Joseph Jezak <josejx@gentoo.org> mercurial-0.8.ebuild:
+  Marked ppc stable for bug #127373.
+
+  24 Mar 2006; Chris White <chriswhite@gentoo.org> mercurial-0.8.ebuild:
+  x86 stable for mercurial-0.8 bug #127373.
+
+  15 Mar 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.8.ebuild:
+  Mark 0.8 stable on alpha/ia64
+
+  24 Feb 2006; Aron Griffis <agriffis@gentoo.org> mercurial-0.8.ebuild:
+  Add bash-completion support #106266
+
+*mercurial-0.8 (24 Feb 2006)
+
+  24 Feb 2006; Aron Griffis <agriffis@gentoo.org> +mercurial-0.8.ebuild:
+  Bump to 0.8 (from 0.7). #121908
+
+  08 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> mercurial-0.7.ebuild:
+  Stable on ppc.
+
+  06 Oct 2005; Aron Griffis <agriffis@gentoo.org> -mercurial-0.6.ebuild,
+  -mercurial-0.6b.ebuild, -mercurial-0.6c.ebuild, mercurial-0.7.ebuild:
+  Mark 0.7 stable on alpha/amd64/ia64/x86.  Remove 0.6c, 0.6b, 0.6
+
+*mercurial-0.7 (17 Sep 2005)
+
+  17 Sep 2005; Aron Griffis <agriffis@gentoo.org> +mercurial-0.7.ebuild:
+  Bump to 0.7 (from 0.6c)
+
+  12 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
+  mercurial-0.6b_p20050807.ebuild:
+  Stable on ppc.
+
+*mercurial-0.6c (07 Sep 2005)
+
+  07 Sep 2005; Aron Griffis <agriffis@gentoo.org>
+  -mercurial-0.6b_p20050727.ebuild, mercurial-0.6b_p20050807.ebuild,
+  +mercurial-0.6c.ebuild:
+  Bump to 0.6c (from 0.6b_p20050807). Mark 0.6b_p20050807 stable on
+  alpha/amd64/ia64/x86. Remove 0.6b_p20050727
+
+  19 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> mercurial-0.6b.ebuild:
+  Stable on ppc.
+
+*mercurial-0.6b_p20050807 (07 Aug 2005)
+
+  07 Aug 2005; Aron Griffis <agriffis@gentoo.org> mercurial-0.6b.ebuild,
+  +mercurial-0.6b_p20050807.ebuild:
+  0.6b stable, add snapshot from today
+
+*mercurial-0.6b_p20050727 (28 Jul 2005)
+
+  28 Jul 2005; Aron Griffis <agriffis@gentoo.org>
+  +mercurial-0.6b_p20050727.ebuild:
+  Bump to hourly snapshot
+
+  13 Jul 2005; Joseph Jezak <josejx@gentoo.org> mercurial-0.6.ebuild:
+  Marked ppc stable for bug #98896.
+
+*mercurial-0.6b (13 Jul 2005)
+
+  13 Jul 2005; Aron Griffis <agriffis@gentoo.org> -mercurial-0.5b.ebuild,
+  -mercurial-0.5b_p20050624.ebuild, mercurial-0.6.ebuild,
+  +mercurial-0.6b.ebuild:
+  stable 0.6, bump to 0.6b
+
+*mercurial-0.6 (25 Jun 2005)
+
+  25 Jun 2005; Aron Griffis <agriffis@gentoo.org> +mercurial-0.6.ebuild:
+  Update to 0.6
+
+  25 Jun 2005; David Holm <dholm@gentoo.org>
+  mercurial-0.5b_p20050624.ebuild:
+  Added to ~ppc.
+
+  24 Jun 2005; Aron Griffis <agriffis@gentoo.org>
+  mercurial-0.5b_p20050624.ebuild:
+  Make the patchlevel ebuild more generic. Fix the man-page to not have so
+  much whitespace
+
+*mercurial-0.5b_p20050624 (24 Jun 2005)
+
+  24 Jun 2005; Aron Griffis <agriffis@gentoo.org> 
+  +mercurial-0.5b_p20050624.ebuild:
+  Update to most recent snapshot
+
+*mercurial-0.5b (24 Jun 2005)
+
+  24 Jun 2005; Aron Griffis <agriffis@gentoo.org> +mercurial-0.5b.ebuild:
+  First pass ebuild for mercurial
+
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
new file mode 100644 (file)
index 0000000..ab1ade9
--- /dev/null
@@ -0,0 +1,10 @@
+AUX 70mercurial-gentoo.el 76 RMD160 1891ab510adb464211b4cc35c5b6e4b149da79fa SHA1 72eb35d2bf86fa8f806acfbc823b88fc5188741b SHA256 c215746e4a5375569808c6aa6ddabe08e82d33d744128179be3142d9cd53a5ab
+DIST mercurial-1.4.1.tar.gz 1917284 RMD160 cee744f59785a15d9ffa1f8e5b0b5bcfa23324e8 SHA1 e7a78a2b9e449ac8748d8a275f22862395c7d9a6 SHA256 86960cf3d8ca12624ab627e05391509c9b20d6b3ea4ff1ed636b40e14b1c885f
+DIST mercurial-1.4.2.tar.gz 1922947 RMD160 05eb8a8932adb1a4a530a08970d6cffb52f2a10b SHA1 6bc5d33624dae7db5dedae2c676f40b28b945763 SHA256 6c8605d970255ae947031a2752d8c1d519eee714df15acadb10899d4aa81c329
+DIST mercurial-1.4.3.tar.gz 1925613 RMD160 7dee2f0752befcec85f2d6b7ab87e2603aa94d76 SHA1 26ed2726b4a8886bbc5a1b3e0823ad252a13b991 SHA256 9cc820baaca3c385d98d6d0c0f54ce6ee4c7af0ef6e8aa8c71da2a48fb7a2a24
+EBUILD mercurial-1.4.1.ebuild 3274 RMD160 74fbb2976d519d9589f80380b0ec995fdcca2b1e SHA1 45428beafe4b042165e2bfbdb62cf7da9abb3661 SHA256 bb2165f506e5c76d930e43f01eabe50776f253208fddbc1bc696f13e6ebdbb78
+EBUILD mercurial-1.4.2.ebuild 3282 RMD160 e2242eca1ad79dd89fcbb1a832e960b200858a98 SHA1 7f62a4afe166cfdd3e9a1ea1928108c2c6b7aa82 SHA256 3e2965460e3cf228a76bab7fec5110e4d04247b1c3bb77edfe46953edc5e24db
+EBUILD mercurial-1.4.3.ebuild 3282 RMD160 bada89603519a32fc28b3cd927582abb4df3da62 SHA1 e192e2824d96c871d844e7cdf9e691553aa4d8be SHA256 bbfabff1d55b51a7ec5f6063eca255bd30a25b1513e34c2c4c6d1ca6b071a079
+EBUILD mercurial-9999.ebuild 3135 RMD160 fb08f2c1fd49b0758c18012a4ddfce6f873de175 SHA1 9222e8d57a34e36f8bf8a3cc6871d7888a423a83 SHA256 9d1ae0590761f14884197bd0d05dd912d01859af7e73ce295f3fe0ab6c0a0e62
+MISC ChangeLog 18009 RMD160 ac6240b8deab4dc6ce263a6adc1f70398cb9301a SHA1 b60a2eaff39a6a58b0b7d4bd9139f467e27db018 SHA256 7ba1b3fa51e1843a8a2944aa3c28d38360087f568fd3127eeae39fd9d6c5868e
+MISC metadata.xml 559 RMD160 91e2d8be8351c35a2374bc06b20cdf7225050c1c SHA1 a64f9a2f4eda4463d453b2dcece61fd745a70932 SHA256 1cc655cef1ae81ba9147c29e6383215c043ea975db4c87213c7c9072173eae86
diff --git a/dev-vcs/mercurial/files/70mercurial-gentoo.el b/dev-vcs/mercurial/files/70mercurial-gentoo.el
new file mode 100644 (file)
index 0000000..5779a61
--- /dev/null
@@ -0,0 +1,3 @@
+;;; mercurial site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
\ No newline at end of file
diff --git a/dev-vcs/mercurial/mercurial-1.4.1.ebuild b/dev-vcs/mercurial/mercurial-1.4.1.ebuild
new file mode 100644 (file)
index 0000000..bb7fb60
--- /dev/null
@@ -0,0 +1,122 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.4.1.ebuild,v 1.1 2010/03/06 12:20:08 djc Exp $
+
+EAPI=2
+
+inherit bash-completion elisp-common flag-o-matic eutils distutils
+
+DESCRIPTION="Scalable distributed SCM"
+HOMEPAGE="http://mercurial.selenic.com/"
+SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="bugzilla emacs gpg test tk zsh-completion"
+
+CDEPEND=">=dev-lang/python-2.4[threads]"
+RDEPEND="${CDEPEND}
+       bugzilla? ( dev-python/mysql-python )
+       gpg? ( app-crypt/gnupg )
+       tk? ( dev-lang/tk )
+       zsh-completion? ( app-shells/zsh )"
+DEPEND="${CDEPEND}
+       emacs? ( virtual/emacs )
+       test? ( app-arch/unzip
+               dev-python/pygments )"
+
+PYTHON_MODNAME="${PN} hgext"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+       filter-flags -ftracer -ftree-vectorize
+
+       distutils_src_compile
+
+       if use emacs; then
+               cd "${S}"/contrib
+               elisp-compile mercurial.el || die "elisp-compile failed!"
+       fi
+
+       rm -rf contrib/{win32,macosx}
+}
+
+src_install() {
+       distutils_src_install
+
+       dobashcompletion contrib/bash_completion ${PN}
+
+       if use zsh-completion ; then
+               insinto /usr/share/zsh/site-functions
+               newins contrib/zsh_completion _hg
+       fi
+
+       rm -f doc/*.?.txt
+       dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
+       cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
+
+       dobin hgeditor
+       dobin contrib/hgk
+       dobin contrib/hg-ssh
+
+       rm -f contrib/hgk contrib/hg-ssh
+
+       rm -f contrib/bash_completion
+       cp -r contrib "${D}"/usr/share/doc/${PF}/
+       doman doc/*.?
+
+       cat > "${T}/80mercurial" <<-EOF
+HG=/usr/bin/hg
+EOF
+       doenvd "${T}/80mercurial"
+
+       if use emacs; then
+               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
+               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+       fi
+}
+
+src_test() {
+       cd "${S}/tests/"
+       rm -rf *svn*                            # Subversion tests fail with 1.5
+       rm -f test-archive                      # Fails due to verbose tar output changes
+       rm -f test-convert-baz*         # GNU Arch baz
+       rm -f test-convert-cvs*         # CVS
+       rm -f test-convert-darcs*       # Darcs
+       rm -f test-convert-git*         # git
+       rm -f test-convert-mtn*         # monotone
+       rm -f test-convert-tla*         # GNU Arch tla
+       rm -f test-doctest*                     # doctest always fails with python 2.5.x
+       if [[ ${EUID} -eq 0 ]]; then
+               einfo "Removing tests which require user privileges to succeed"
+               rm -f test-command-template     # Test is broken when run as root
+               rm -f test-convert                      # Test is broken when run as root
+               rm -f test-lock-badness         # Test is broken when run as root
+               rm -f test-permissions          # Test is broken when run as root
+               rm -f test-pull-permission      # Test is broken when run as root
+       fi
+       local testdir="${T}/tests"
+       rm -rf "${testdir}"
+       einfo "Running Mercurial tests ..."
+       python run-tests.py --tmpdir="${testdir}" || die "test failed"
+}
+
+pkg_postinst() {
+       distutils_pkg_postinst
+       use emacs && elisp-site-regen
+       bash-completion_pkg_postinst
+
+       elog "If you want to convert repositories from other tools using convert"
+       elog "extension please install correct tool:"
+       elog "  dev-util/cvs"
+       elog "  dev-util/darcs"
+       elog "  dev-util/git"
+       elog "  dev-vcs/monotone"
+       elog "  dev-util/subversion"
+}
+
+pkg_postrm() {
+       distutils_pkg_postrm
+       use emacs && elisp-site-regen
+}
diff --git a/dev-vcs/mercurial/mercurial-1.4.2.ebuild b/dev-vcs/mercurial/mercurial-1.4.2.ebuild
new file mode 100644 (file)
index 0000000..e20c6df
--- /dev/null
@@ -0,0 +1,122 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.4.2.ebuild,v 1.1 2010/03/06 12:20:08 djc Exp $
+
+EAPI=2
+
+inherit bash-completion elisp-common flag-o-matic eutils distutils
+
+DESCRIPTION="Scalable distributed SCM"
+HOMEPAGE="http://mercurial.selenic.com/"
+SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="bugzilla emacs gpg test tk zsh-completion"
+
+CDEPEND=">=dev-lang/python-2.4[threads]"
+RDEPEND="${CDEPEND}
+       bugzilla? ( dev-python/mysql-python )
+       gpg? ( app-crypt/gnupg )
+       tk? ( dev-lang/tk )
+       zsh-completion? ( app-shells/zsh )"
+DEPEND="${CDEPEND}
+       emacs? ( virtual/emacs )
+       test? ( app-arch/unzip
+               dev-python/pygments )"
+
+PYTHON_MODNAME="${PN} hgext"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+       filter-flags -ftracer -ftree-vectorize
+
+       distutils_src_compile
+
+       if use emacs; then
+               cd "${S}"/contrib
+               elisp-compile mercurial.el || die "elisp-compile failed!"
+       fi
+
+       rm -rf contrib/{win32,macosx}
+}
+
+src_install() {
+       distutils_src_install
+
+       dobashcompletion contrib/bash_completion ${PN}
+
+       if use zsh-completion ; then
+               insinto /usr/share/zsh/site-functions
+               newins contrib/zsh_completion _hg
+       fi
+
+       rm -f doc/*.?.txt
+       dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
+       cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
+
+       dobin hgeditor
+       dobin contrib/hgk
+       dobin contrib/hg-ssh
+
+       rm -f contrib/hgk contrib/hg-ssh
+
+       rm -f contrib/bash_completion
+       cp -r contrib "${D}"/usr/share/doc/${PF}/
+       doman doc/*.?
+
+       cat > "${T}/80mercurial" <<-EOF
+HG=/usr/bin/hg
+EOF
+       doenvd "${T}/80mercurial"
+
+       if use emacs; then
+               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
+               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+       fi
+}
+
+src_test() {
+       cd "${S}/tests/"
+       rm -rf *svn*                            # Subversion tests fail with 1.5
+       rm -f test-archive                      # Fails due to verbose tar output changes
+       rm -f test-convert-baz*         # GNU Arch baz
+       rm -f test-convert-cvs*         # CVS
+       rm -f test-convert-darcs*       # Darcs
+       rm -f test-convert-git*         # git
+       rm -f test-convert-mtn*         # monotone
+       rm -f test-convert-tla*         # GNU Arch tla
+       rm -f test-doctest*                     # doctest always fails with python 2.5.x
+       if [[ ${EUID} -eq 0 ]]; then
+               einfo "Removing tests which require user privileges to succeed"
+               rm -f test-command-template     # Test is broken when run as root
+               rm -f test-convert                      # Test is broken when run as root
+               rm -f test-lock-badness         # Test is broken when run as root
+               rm -f test-permissions          # Test is broken when run as root
+               rm -f test-pull-permission      # Test is broken when run as root
+       fi
+       local testdir="${T}/tests"
+       rm -rf "${testdir}"
+       einfo "Running Mercurial tests ..."
+       python run-tests.py --tmpdir="${testdir}" || die "test failed"
+}
+
+pkg_postinst() {
+       distutils_pkg_postinst
+       use emacs && elisp-site-regen
+       bash-completion_pkg_postinst
+
+       elog "If you want to convert repositories from other tools using convert"
+       elog "extension please install correct tool:"
+       elog "  dev-util/cvs"
+       elog "  dev-util/darcs"
+       elog "  dev-util/git"
+       elog "  dev-vcs/monotone"
+       elog "  dev-util/subversion"
+}
+
+pkg_postrm() {
+       distutils_pkg_postrm
+       use emacs && elisp-site-regen
+}
diff --git a/dev-vcs/mercurial/mercurial-1.4.3.ebuild b/dev-vcs/mercurial/mercurial-1.4.3.ebuild
new file mode 100644 (file)
index 0000000..bd5ef70
--- /dev/null
@@ -0,0 +1,122 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.4.3.ebuild,v 1.1 2010/03/06 12:20:08 djc Exp $
+
+EAPI=2
+
+inherit bash-completion elisp-common flag-o-matic eutils distutils
+
+DESCRIPTION="Scalable distributed SCM"
+HOMEPAGE="http://mercurial.selenic.com/"
+SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="bugzilla emacs gpg test tk zsh-completion"
+
+CDEPEND=">=dev-lang/python-2.4[threads]"
+RDEPEND="${CDEPEND}
+       bugzilla? ( dev-python/mysql-python )
+       gpg? ( app-crypt/gnupg )
+       tk? ( dev-lang/tk )
+       zsh-completion? ( app-shells/zsh )"
+DEPEND="${CDEPEND}
+       emacs? ( virtual/emacs )
+       test? ( app-arch/unzip
+               dev-python/pygments )"
+
+PYTHON_MODNAME="${PN} hgext"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+       filter-flags -ftracer -ftree-vectorize
+
+       distutils_src_compile
+
+       if use emacs; then
+               cd "${S}"/contrib
+               elisp-compile mercurial.el || die "elisp-compile failed!"
+       fi
+
+       rm -rf contrib/{win32,macosx}
+}
+
+src_install() {
+       distutils_src_install
+
+       dobashcompletion contrib/bash_completion ${PN}
+
+       if use zsh-completion ; then
+               insinto /usr/share/zsh/site-functions
+               newins contrib/zsh_completion _hg
+       fi
+
+       rm -f doc/*.?.txt
+       dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
+       cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
+
+       dobin hgeditor
+       dobin contrib/hgk
+       dobin contrib/hg-ssh
+
+       rm -f contrib/hgk contrib/hg-ssh
+
+       rm -f contrib/bash_completion
+       cp -r contrib "${D}"/usr/share/doc/${PF}/
+       doman doc/*.?
+
+       cat > "${T}/80mercurial" <<-EOF
+HG=/usr/bin/hg
+EOF
+       doenvd "${T}/80mercurial"
+
+       if use emacs; then
+               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
+               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+       fi
+}
+
+src_test() {
+       cd "${S}/tests/"
+       rm -rf *svn*                            # Subversion tests fail with 1.5
+       rm -f test-archive                      # Fails due to verbose tar output changes
+       rm -f test-convert-baz*         # GNU Arch baz
+       rm -f test-convert-cvs*         # CVS
+       rm -f test-convert-darcs*       # Darcs
+       rm -f test-convert-git*         # git
+       rm -f test-convert-mtn*         # monotone
+       rm -f test-convert-tla*         # GNU Arch tla
+       rm -f test-doctest*                     # doctest always fails with python 2.5.x
+       if [[ ${EUID} -eq 0 ]]; then
+               einfo "Removing tests which require user privileges to succeed"
+               rm -f test-command-template     # Test is broken when run as root
+               rm -f test-convert                      # Test is broken when run as root
+               rm -f test-lock-badness         # Test is broken when run as root
+               rm -f test-permissions          # Test is broken when run as root
+               rm -f test-pull-permission      # Test is broken when run as root
+       fi
+       local testdir="${T}/tests"
+       rm -rf "${testdir}"
+       einfo "Running Mercurial tests ..."
+       python run-tests.py --tmpdir="${testdir}" || die "test failed"
+}
+
+pkg_postinst() {
+       distutils_pkg_postinst
+       use emacs && elisp-site-regen
+       bash-completion_pkg_postinst
+
+       elog "If you want to convert repositories from other tools using convert"
+       elog "extension please install correct tool:"
+       elog "  dev-util/cvs"
+       elog "  dev-util/darcs"
+       elog "  dev-util/git"
+       elog "  dev-vcs/monotone"
+       elog "  dev-util/subversion"
+}
+
+pkg_postrm() {
+       distutils_pkg_postrm
+       use emacs && elisp-site-regen
+}
diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
new file mode 100644 (file)
index 0000000..83272f7
--- /dev/null
@@ -0,0 +1,120 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-9999.ebuild,v 1.1 2010/03/06 12:20:08 djc Exp $
+
+inherit bash-completion elisp-common flag-o-matic eutils distutils mercurial
+
+DESCRIPTION="Scalable distributed SCM"
+HOMEPAGE="http://www.selenic.com/mercurial/"
+EHG_REPO_URI="http://selenic.com/repo/hg"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="bugzilla emacs gpg test tk zsh-completion"
+
+CDEPEND=">=dev-lang/python-2.4"
+RDEPEND="${CDEPEND}
+       bugzilla? ( dev-python/mysql-python )
+       gpg? ( app-crypt/gnupg )
+       zsh-completion? ( app-shells/zsh )"
+DEPEND="${CDEPEND}
+       emacs? ( virtual/emacs )
+       test? ( app-arch/unzip
+               dev-python/pygments )"
+
+S="${WORKDIR}/hg"
+
+PYTHON_MODNAME="${PN} hgext"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+       filter-flags -ftracer -ftree-vectorize
+
+       distutils_src_compile
+
+       if use emacs; then
+               cd "${S}"/contrib
+               elisp-compile mercurial.el || die "elisp-compile failed!"
+       fi
+
+       rm -rf contrib/{win32,macosx}
+}
+
+src_install() {
+       distutils_src_install
+
+       dobashcompletion contrib/bash_completion ${PN}
+
+       if use zsh-completion ; then
+               insinto /usr/share/zsh/site-functions
+               newins contrib/zsh_completion _hg
+       fi
+
+       rm -f doc/*.?.txt
+       dodoc CONTRIBUTORS README
+       cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
+
+       dobin contrib/hgk
+       dobin contrib/hg-relink
+       dobin contrib/hg-ssh
+
+       rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh
+
+       rm -f contrib/bash_completion
+       cp -r contrib "${D}"/usr/share/doc/${PF}/
+       doman doc/*.?
+
+       cat > "${T}/80mercurial" <<-EOF
+HG=/usr/bin/hg
+EOF
+       doenvd "${T}/80mercurial"
+
+       if use emacs; then
+               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
+               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+       fi
+}
+
+src_test() {
+       cd "${S}/tests/"
+       rm -f *svn*             # Subversion tests fail with 1.5
+       rm -f test-convert-baz*         # GNU Arch baz
+       rm -f test-convert-cvs*         # CVS
+       rm -f test-convert-darcs*       # Darcs
+       rm -f test-convert-git*         # git
+       rm -f test-convert-mtn*         # monotone
+       rm -f test-convert-tla*         # GNU Arch tla
+       rm -f test-doctest*             # doctest always fails with python 2.5.x
+       if [[ ${EUID} -eq 0 ]]; then
+               einfo "Removing tests which require user privileges to succeed"
+               rm -f test-command-template     # Test is broken when run as root
+               rm -f test-convert                      # Test is broken when run as root
+               rm -f test-lock-badness         # Test is broken when run as root
+               rm -f test-permissions          # Test is broken when run as root
+               rm -f test-pull-permission      # Test is broken when run as root
+       fi
+       local testdir="${T}/tests"
+       rm -rf "${testdir}"
+       einfo "Running Mercurial tests ..."
+       python run-tests.py --tmpdir="${testdir}" || die "test failed"
+}
+
+pkg_postinst() {
+       distutils_pkg_postinst
+       use emacs && elisp-site-regen
+       bash-completion_pkg_postinst
+
+       elog "If you want to convert repositories from other tools using convert"
+       elog "extension please install correct tool:"
+       elog "  dev-util/cvs"
+       elog "  dev-util/darcs"
+       elog "  dev-util/git"
+       elog "  dev-vcs/monotone"
+       elog "  dev-util/subversion"
+}
+
+pkg_postrm() {
+       distutils_pkg_postrm
+       use emacs && elisp-site-regen
+}
diff --git a/dev-vcs/mercurial/metadata.xml b/dev-vcs/mercurial/metadata.xml
new file mode 100644 (file)
index 0000000..1e0a417
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>no-herd</herd>
+  <maintainer>
+    <email>nelchael@gentoo.org</email>
+    <name>Krzysiek Pawlik</name>
+  </maintainer>
+  <maintainer>
+    <email>djc@gentoo.org</email>
+    <name>Dirkjan Ochtman</name>
+  </maintainer>
+  <use>
+    <flag name="bugzilla">Support bugzilla integration.</flag>
+    <flag name="gpg">Support signing with GnuPG.</flag>
+       <flag name="tk">Install dev-lang/tk for hgk script.</flag>
+  </use>
+</pkgmetadata>