diff options
author | 2008-07-07 07:12:12 +0000 | |
---|---|---|
committer | 2008-07-07 07:12:12 +0000 | |
commit | 2d745085eb9bba7cdb17df544919ac3252bf3ff3 (patch) | |
tree | 1a74f481adee6f4e1e445574fed908a3aeb4406f /dev-util/mercurial | |
parent | Bump. Clean up ebuild, new homepage, keyword ~amd64. (diff) | |
download | historical-2d745085eb9bba7cdb17df544919ac3252bf3ff3.tar.gz historical-2d745085eb9bba7cdb17df544919ac3252bf3ff3.tar.bz2 historical-2d745085eb9bba7cdb17df544919ac3252bf3ff3.zip |
Remove old versions.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-tuxonice-r6 x86_64
Diffstat (limited to 'dev-util/mercurial')
-rw-r--r-- | dev-util/mercurial/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/mercurial/Manifest | 19 | ||||
-rw-r--r-- | dev-util/mercurial/files/mercurial-0.9.5-hide-passwords.diff | 103 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-0.9.5-r1.ebuild | 81 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-1.0.1-r1.ebuild | 89 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-1.0.1.ebuild | 76 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-1.0.ebuild | 76 |
7 files changed, 18 insertions, 434 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog index 51885b838c25..ab3fa7ac26df 100644 --- a/dev-util/mercurial/ChangeLog +++ b/dev-util/mercurial/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/mercurial # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.76 2008/07/05 13:39:21 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.77 2008/07/07 07:12:12 nelchael Exp $ + + 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 diff --git a/dev-util/mercurial/Manifest b/dev-util/mercurial/Manifest index b23b9af38d93..3a53afdad2e0 100644 --- a/dev-util/mercurial/Manifest +++ b/dev-util/mercurial/Manifest @@ -1,14 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 70mercurial-gentoo.el 76 RMD160 1891ab510adb464211b4cc35c5b6e4b149da79fa SHA1 72eb35d2bf86fa8f806acfbc823b88fc5188741b SHA256 c215746e4a5375569808c6aa6ddabe08e82d33d744128179be3142d9cd53a5ab -AUX mercurial-0.9.5-hide-passwords.diff 4030 RMD160 11b1b114410a8922609c81d53fb374198372f2e7 SHA1 be5e0cd619a378a023ba79a8ac5b85b9cf7432f9 SHA256 dec336e7ef22248f69df918f30e6496fe15a04e36631aa64c6bcdc86b9411be6 AUX mercurial-1.0.1-87c704ac92d4-git-patch.patch 1739 RMD160 96394fb2bccc19c5115897a26336694d56a9f86c SHA1 032e3f0e7f52cb2801caf41c8df048c1418c562b SHA256 abdecd689f58d0b5ed43cf1b190bf46b01adceeaa415c9cbbd55130de973e0e0 -DIST mercurial-0.9.5.tar.gz 670808 RMD160 ea38d3142a4b1087e2777de3b70df8b4672cd237 SHA1 889a83f4cdcead93323d7cf4276751cc20396455 SHA256 cfe02baaa4e18c3af6bbaf1be4ad21c8570d4962b8cefb74dd83d9f309f564d8 DIST mercurial-1.0.1.tar.gz 809348 RMD160 f451ab56660f46a51b4588de966ec0718f38cd7b SHA1 ada3e6d2128283efeefb7b44f9a1e0dfc22d62f1 SHA256 f6206a982d8268aa972290c69929f2a3067d0ee36249d0c2f3aa781d13c58d9e -DIST mercurial-1.0.tar.gz 803187 RMD160 21b5603e033898420f4fbf1b851ede4f69a7657c SHA1 11689e85a91874417cb110ded6c3a4d7b30429cb SHA256 c4d3e1eb0bbc1e77de587ecd452750bb1a09564ec056e2b4c8e2a6db4a863e0f -EBUILD mercurial-0.9.5-r1.ebuild 2050 RMD160 0b80d716b74e601216bac492e282d33d2dd7a87b SHA1 e2e9010a1556c31c8a6527d555ee98183d157cf8 SHA256 7fb376d7187940a0a94b1178fccf9c29a4b0820f08fa0e1111d14ff18361f544 -EBUILD mercurial-1.0.1-r1.ebuild 2183 RMD160 49e808273cdec8e45204d868b550e8ab42d45299 SHA1 5535fb073aa593a8ebea55c0cb7d1e0059ee500e SHA256 23b9787b21d0e9c33cc571ad21368feecb625f33adb430e5274ce09d8b6ff56f EBUILD mercurial-1.0.1-r2.ebuild 2288 RMD160 ab4d59956eed3e05af8a546e0781a469527a4b5b SHA1 2ffb259ebd1a4ced322780b20361d54b60281b24 SHA256 4ddc11044bef1c2bf217506df7e2d4c5bad245abd3bff65cf491b5a8af14f074 EBUILD mercurial-1.0.1-r3.ebuild 2765 RMD160 83164db91dc4bd4face75699c53c37548f35527a SHA1 192db12e3aa0b7da22cf932a5d2f7b43a0b62f16 SHA256 5cb8408bc0bbabe6782770c96e660ba059525ac648eb3a8a415b891a74a42001 -EBUILD mercurial-1.0.1.ebuild 1960 RMD160 22535cbc1df11a9ae39e56f92f695982ecde94f6 SHA1 b1558bc6cc3631a5bbe646b642c43431f0659562 SHA256 18e04be0a27307ea9ca79e56defeb8c517d1165a92b7ad0e4ce762a103190a26 -EBUILD mercurial-1.0.ebuild 1958 RMD160 0c2e13167c7e0ed0d8beee39292d64d6e2bb3868 SHA1 553bd31ace07cd9540f976d136a89c28af78db1a SHA256 b6dc7d20132dac6d63300306b2908ebdfc04c8b691d9e4976b3bc155cd172c28 -MISC ChangeLog 11453 RMD160 51526da3bbbc627ce9598642cc8e19eeb9a44e81 SHA1 157bc0a8fce7b1cddf1bcde4e826c0ef9e0bf93d SHA256 fb000882b957141b021c1fabb400560bd9441a515ab8ed4ca5663d54a6eab148 +MISC ChangeLog 11686 RMD160 7a58ef9d1de1562b23bf7e332d5d63c713ae6fe5 SHA1 b06c97d742d270fc31a081073da820836663df05 SHA256 0588f74846ab26b28b7a7446a96facca9b946d12991a14eabb10bbdec3635944 MISC metadata.xml 258 RMD160 83a6b1bef594637d45a6c658d17397593f88afc5 SHA1 049bbc8f8c2d0695ddc725b4c549cdec335bf532 SHA256 0a4f83cd4b2b4eef20fde1ef8770c334fed41ffcd2e5178eeaeef375b64a0f74 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhxwdAACgkQgo/w9rxVVVEDxgCdH+Q2pLR7Hw1nreYF7UPmKBEy +fVcAnA48oJs5y4PLVDR5/gI9ez4I8mLf +=2dtE +-----END PGP SIGNATURE----- diff --git a/dev-util/mercurial/files/mercurial-0.9.5-hide-passwords.diff b/dev-util/mercurial/files/mercurial-0.9.5-hide-passwords.diff deleted file mode 100644 index 1a4db2455cca..000000000000 --- a/dev-util/mercurial/files/mercurial-0.9.5-hide-passwords.diff +++ /dev/null @@ -1,103 +0,0 @@ - -# HG changeset patch -# User Manuel Holtgrewe <purestorm@ggnore.net> -# Date 1194290972 -3600 -# Node ID dcbda0c4c3eb8e26e01343d44fc5a8fb41138073 -# Parent 453acf64f71f72158d5ee7e1d99a5e10cea5b3b5 -Do not display passwords with pull/push/incoming/outgoing - -Passwords specified in the repository URL are now displayed as '***' -when accessing the remote repository. - ---- a/mercurial/commands.py Fri Nov 09 20:21:35 2007 -0200 -+++ b/mercurial/commands.py Mon Nov 05 20:29:32 2007 +0100 -@@ -1652,7 +1652,7 @@ def incoming(ui, repo, source="default", - cmdutil.setremoteconfig(ui, opts) - - other = hg.repository(ui, source) -- ui.status(_('comparing with %s\n') % source) -+ ui.status(_('comparing with %s\n') % util.hidepassword(source)) - if revs: - revs = [other.lookup(rev) for rev in revs] - incoming = repo.findincoming(other, heads=revs, force=opts["force"]) -@@ -1962,7 +1962,7 @@ def outgoing(ui, repo, dest=None, **opts - revs = [repo.lookup(rev) for rev in revs] - - other = hg.repository(ui, dest) -- ui.status(_('comparing with %s\n') % dest) -+ ui.status(_('comparing with %s\n') % util.hidepassword(dest)) - o = repo.findoutgoing(other, force=opts['force']) - if not o: - ui.status(_("no changes found\n")) -@@ -2095,7 +2095,7 @@ def pull(ui, repo, source="default", **o - cmdutil.setremoteconfig(ui, opts) - - other = hg.repository(ui, source) -- ui.status(_('pulling from %s\n') % (source)) -+ ui.status(_('pulling from %s\n') % util.hidepassword(source)) - if revs: - try: - revs = [other.lookup(rev) for rev in revs] -@@ -2142,7 +2142,7 @@ def push(ui, repo, dest=None, **opts): - cmdutil.setremoteconfig(ui, opts) - - other = hg.repository(ui, dest) -- ui.status('pushing to %s\n' % (dest)) -+ ui.status('pushing to %s\n' % util.hidepassword(dest)) - if revs: - revs = [repo.lookup(rev) for rev in revs] - r = repo.push(other, opts['force'], revs=revs) ---- a/mercurial/util.py Fri Nov 09 20:21:35 2007 -0200 -+++ b/mercurial/util.py Mon Nov 05 20:29:32 2007 +0100 -@@ -15,6 +15,7 @@ from i18n import _ - from i18n import _ - import cStringIO, errno, getpass, popen2, re, shutil, sys, tempfile, strutil - import os, stat, threading, time, calendar, ConfigParser, locale, glob, osutil -+import re, urlparse - - try: - set = set -@@ -1698,3 +1699,33 @@ def uirepr(s): - def uirepr(s): - # Avoid double backslash in Windows path repr() - return repr(s).replace('\\\\', '\\') -+ -+def hidepassword(url): -+ '''replaces the password in the url string by three asterisks (***) -+ -+ >>> hidepassword('http://www.example.com/some/path#fragment') -+ 'http://www.example.com/some/path#fragment' -+ >>> hidepassword('http://me@www.example.com/some/path#fragment') -+ 'http://me@www.example.com/some/path#fragment' -+ >>> hidepassword('http://me:simplepw@www.example.com/path#frag') -+ 'http://me:***@www.example.com/path#frag' -+ >>> hidepassword('http://me:complex:pw@www.example.com/path#frag') -+ 'http://me:***@www.example.com/path#frag' -+ >>> hidepassword('/path/to/repo') -+ '/path/to/repo' -+ >>> hidepassword('relative/path/to/repo') -+ 'relative/path/to/repo' -+ >>> hidepassword('c:\\\\path\\\\to\\\\repo') -+ 'c:\\\\path\\\\to\\\\repo' -+ >>> hidepassword('c:/path/to/repo') -+ 'c:/path/to/repo' -+ >>> hidepassword('bundle://path/to/bundle') -+ 'bundle://path/to/bundle' -+ ''' -+ url_parts = list(urlparse.urlparse(url)) -+ host_with_pw_pattern = re.compile('^([^:]*):([^@]*)@(.*)$') -+ if host_with_pw_pattern.match(url_parts[1]): -+ url_parts[1] = re.sub(host_with_pw_pattern, r'\1:***@\3', -+ url_parts[1]) -+ return urlparse.urlunparse(url_parts) -+ ---- a/tests/test-doctest.py Fri Nov 09 20:21:35 2007 -0200 -+++ b/tests/test-doctest.py Mon Nov 05 20:29:32 2007 +0100 -@@ -7,3 +7,6 @@ doctest.testmod(mercurial.changelog) - - import mercurial.httprepo - doctest.testmod(mercurial.httprepo) -+ -+import mercurial.util -+doctest.testmod(mercurial.util) - diff --git a/dev-util/mercurial/mercurial-0.9.5-r1.ebuild b/dev-util/mercurial/mercurial-0.9.5-r1.ebuild deleted file mode 100644 index d7436d752fe8..000000000000 --- a/dev-util/mercurial/mercurial-0.9.5-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.9.5-r1.ebuild,v 1.5 2008/01/21 09:36:03 nelchael Exp $ - -inherit bash-completion distutils elisp-common flag-o-matic eutils - -DESCRIPTION="Scalable distributed SCM" -HOMEPAGE="http://www.selenic.com/mercurial/" -SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion" - -CDEPEND=">=dev-lang/python-2.3" -RDEPEND="${CDEPEND} - bugzilla? ( dev-python/mysql-python ) - cvs? ( dev-util/cvs ) - darcs? ( || ( dev-python/celementtree dev-python/elementtree ) ) - git? ( dev-util/git ) - gpg? ( app-crypt/gnupg ) - subversion? ( dev-util/subversion ) - zsh-completion? ( app-shells/zsh )" -DEPEND="${CDEPEND} - emacs? ( virtual/emacs ) - test? ( app-arch/unzip )" - -PYTHON_MODNAME="${PN} hgext" -SITEFILE="70${PN}-gentoo.el" - -src_unpack() { - distutils_src_unpack - epatch "${FILESDIR}/${P}-hide-passwords.diff" -} - -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 - - dodoc CONTRIBUTORS PKG-INFO README doc/*.txt - cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ - rm -f contrib/bash_completion - cp -r contrib "${D}"/usr/share/doc/${PF}/ - doman doc/*.? - - if use emacs; then - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi -} - -pkg_postinst() { - distutils_pkg_postinst - use emacs && elisp-site-regen - bash-completion_pkg_postinst -} - -pkg_postrm() { - distutils_pkg_postrm - use emacs && elisp-site-regen -} diff --git a/dev-util/mercurial/mercurial-1.0.1-r1.ebuild b/dev-util/mercurial/mercurial-1.0.1-r1.ebuild deleted file mode 100644 index f900af1d4a6a..000000000000 --- a/dev-util/mercurial/mercurial-1.0.1-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r1.ebuild,v 1.2 2008/06/09 19:34:22 nelchael Exp $ - -inherit bash-completion distutils elisp-common flag-o-matic - -DESCRIPTION="Scalable distributed SCM" -HOMEPAGE="http://www.selenic.com/mercurial/" -SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion" - -CDEPEND=">=dev-lang/python-2.3" -RDEPEND="${CDEPEND} - bugzilla? ( dev-python/mysql-python ) - cvs? ( dev-util/cvs ) - darcs? ( || ( dev-python/celementtree dev-python/elementtree ) ) - git? ( dev-util/git ) - gpg? ( app-crypt/gnupg ) - subversion? ( dev-util/subversion ) - zsh-completion? ( app-shells/zsh )" -DEPEND="${CDEPEND} - emacs? ( virtual/emacs ) - test? ( app-arch/unzip )" - -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 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 -} - -pkg_postinst() { - distutils_pkg_postinst - use emacs && elisp-site-regen - bash-completion_pkg_postinst -} - -pkg_postrm() { - distutils_pkg_postrm - use emacs && elisp-site-regen -} diff --git a/dev-util/mercurial/mercurial-1.0.1.ebuild b/dev-util/mercurial/mercurial-1.0.1.ebuild deleted file mode 100644 index 916f456c4d3a..000000000000 --- a/dev-util/mercurial/mercurial-1.0.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.1.ebuild,v 1.1 2008/05/25 10:56:51 nelchael Exp $ - -inherit bash-completion distutils elisp-common flag-o-matic - -DESCRIPTION="Scalable distributed SCM" -HOMEPAGE="http://www.selenic.com/mercurial/" -SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion" - -CDEPEND=">=dev-lang/python-2.3" -RDEPEND="${CDEPEND} - bugzilla? ( dev-python/mysql-python ) - cvs? ( dev-util/cvs ) - darcs? ( || ( dev-python/celementtree dev-python/elementtree ) ) - git? ( dev-util/git ) - gpg? ( app-crypt/gnupg ) - subversion? ( dev-util/subversion ) - zsh-completion? ( app-shells/zsh )" -DEPEND="${CDEPEND} - emacs? ( virtual/emacs ) - test? ( app-arch/unzip )" - -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 - - dodoc CONTRIBUTORS PKG-INFO README doc/*.txt - cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ - rm -f contrib/bash_completion - cp -r contrib "${D}"/usr/share/doc/${PF}/ - doman doc/*.? - - if use emacs; then - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi -} - -pkg_postinst() { - distutils_pkg_postinst - use emacs && elisp-site-regen - bash-completion_pkg_postinst -} - -pkg_postrm() { - distutils_pkg_postrm - use emacs && elisp-site-regen -} diff --git a/dev-util/mercurial/mercurial-1.0.ebuild b/dev-util/mercurial/mercurial-1.0.ebuild deleted file mode 100644 index 7e366cdfd11b..000000000000 --- a/dev-util/mercurial/mercurial-1.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.ebuild,v 1.1 2008/03/25 17:23:38 nelchael Exp $ - -inherit bash-completion distutils elisp-common flag-o-matic - -DESCRIPTION="Scalable distributed SCM" -HOMEPAGE="http://www.selenic.com/mercurial/" -SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion" - -CDEPEND=">=dev-lang/python-2.3" -RDEPEND="${CDEPEND} - bugzilla? ( dev-python/mysql-python ) - cvs? ( dev-util/cvs ) - darcs? ( || ( dev-python/celementtree dev-python/elementtree ) ) - git? ( dev-util/git ) - gpg? ( app-crypt/gnupg ) - subversion? ( dev-util/subversion ) - zsh-completion? ( app-shells/zsh )" -DEPEND="${CDEPEND} - emacs? ( virtual/emacs ) - test? ( app-arch/unzip )" - -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 - - dodoc CONTRIBUTORS PKG-INFO README doc/*.txt - cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ - rm -f contrib/bash_completion - cp -r contrib "${D}"/usr/share/doc/${PF}/ - doman doc/*.? - - if use emacs; then - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi -} - -pkg_postinst() { - distutils_pkg_postinst - use emacs && elisp-site-regen - bash-completion_pkg_postinst -} - -pkg_postrm() { - distutils_pkg_postrm - use emacs && elisp-site-regen -} |