# ChangeLog for dev-util/mercurial
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.44 2007/01/21 06:57:33 aross Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.45 2007/01/21 09:30:58 aross Exp $
+
+*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:
MD5 d333517900fe3306090e137c3d078839 mercurial-0.9.1.ebuild 1317
RMD160 7366d23e2c975d19b72862e3cbb6e1a17b99a2fe mercurial-0.9.1.ebuild 1317
SHA256 3ced050bf79faeba309b1262305641842a08c7967bc8740c59eadf615e91da27 mercurial-0.9.1.ebuild 1317
+EBUILD mercurial-0.9.3-r1.ebuild 1783 RMD160 8d977d299e8ad034de5c8505fc512f9677d2bb77 SHA1 36a2cf35fb833196b7e067b09a038ff73de91965 SHA256 11fdc8d91d3ae41c7fbe2371db5c1c7ee637de9ee69f40571c9877d9785a259e
+MD5 b9b1be8f0791bc111e689156551348aa mercurial-0.9.3-r1.ebuild 1783
+RMD160 8d977d299e8ad034de5c8505fc512f9677d2bb77 mercurial-0.9.3-r1.ebuild 1783
+SHA256 11fdc8d91d3ae41c7fbe2371db5c1c7ee637de9ee69f40571c9877d9785a259e mercurial-0.9.3-r1.ebuild 1783
EBUILD mercurial-0.9.3.ebuild 1620 RMD160 8a9ebefd5b876fff9804803b37b500f9bec65042 SHA1 6352dfaf0b074652f98120eb881b9d74fe0b1c28 SHA256 8f971a5f7b6439d0021b93d0c5ea0ff9be4d08d2a6dc1bd243c430672b8e0f7b
MD5 2a137b0880f2be32af902c6aad65379f mercurial-0.9.3.ebuild 1620
RMD160 8a9ebefd5b876fff9804803b37b500f9bec65042 mercurial-0.9.3.ebuild 1620
MD5 7febfda4775679c3b131ef154405e373 mercurial-0.9.ebuild 1257
RMD160 1ccfd945736a978b4f601e65966a2fe6d24619a6 mercurial-0.9.ebuild 1257
SHA256 d9ac117c180a613646b32f5e67329032ca827eb0e0f561fcb8338f95e7908cfd mercurial-0.9.ebuild 1257
-MISC ChangeLog 6675 RMD160 832b5e5b36f0478f476ab3682fbc3c2ec9046f4e SHA1 d8084d3d583eea5358bb6f9f7a19777b1ceef1ee SHA256 d80fa17f5d60adb326273d180be66cb9cfe2436c93e679feaccd24ee6a59f4d8
-MD5 1906c73c46a0676c83a77567dcc27d3c ChangeLog 6675
-RMD160 832b5e5b36f0478f476ab3682fbc3c2ec9046f4e ChangeLog 6675
-SHA256 d80fa17f5d60adb326273d180be66cb9cfe2436c93e679feaccd24ee6a59f4d8 ChangeLog 6675
+MISC ChangeLog 6900 RMD160 86692a9f85ab270b6767bb9ad940ac6014a69f79 SHA1 84474eeaba0eeb3573988ffd93226714424197f0 SHA256 79e0ca8c2a15db77d31b4eb960c31db19f9c6e64e6b41fd58cc99e58a5f756cb
+MD5 bfba61dbba600af3afdc0fc7490762e1 ChangeLog 6900
+RMD160 86692a9f85ab270b6767bb9ad940ac6014a69f79 ChangeLog 6900
+SHA256 79e0ca8c2a15db77d31b4eb960c31db19f9c6e64e6b41fd58cc99e58a5f756cb ChangeLog 6900
MISC metadata.xml 340 RMD160 42ed774846b1c130e10cd9f04dc238e1ad7a0675 SHA1 a09d6108a4cb533131fa1f94e30dfe3bdc8ba09f SHA256 2bfc6711bc7e8600ceab13abef10bc2ff685771122b32d161a023d8a88dd2c2c
MD5 79b4c68340fb143d2113df9bc1861d7f metadata.xml 340
RMD160 42ed774846b1c130e10cd9f04dc238e1ad7a0675 metadata.xml 340
MD5 3451c87a31aad00c9aa840c3cc7a6104 files/digest-mercurial-0.9.3 247
RMD160 1e630b72f45df03b702e7e41c72f1da80133e3f9 files/digest-mercurial-0.9.3 247
SHA256 36109d2eaf1a42523e7240f06a620f2515e2e06eda31b6f4dccb08e01dde20aa files/digest-mercurial-0.9.3 247
+MD5 3451c87a31aad00c9aa840c3cc7a6104 files/digest-mercurial-0.9.3-r1 247
+RMD160 1e630b72f45df03b702e7e41c72f1da80133e3f9 files/digest-mercurial-0.9.3-r1 247
+SHA256 36109d2eaf1a42523e7240f06a620f2515e2e06eda31b6f4dccb08e01dde20aa files/digest-mercurial-0.9.3-r1 247
--- /dev/null
+MD5 5e39fed853e5669cbac32b77a67bb6dd mercurial-0.9.3.tar.gz 530289
+RMD160 9a25e508ebbe8e1827f26f6731ab085ce535f73a mercurial-0.9.3.tar.gz 530289
+SHA256 48485e6b16d304ef67f747c956ad257139796359ebfba9a66aede5cc0f550e86 mercurial-0.9.3.tar.gz 530289
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.9.3-r1.ebuild,v 1.1 2007/01/21 09:30:58 aross Exp $
+
+inherit bash-completion distutils elisp-common flag-o-matic
+
+MY_PV=${PV//_p/.}
+
+DESCRIPTION="scalable distributed SCM"
+HOMEPAGE="http://www.selenic.com/mercurial/"
+SRC_URI="http://www.selenic.com/mercurial/release/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="emacs zsh-completion"
+
+RDEPEND=">=dev-lang/python-2.3
+ zsh-completion? ( app-shells/zsh )"
+DEPEND="${RDEPEND}
+ emacs? ( virtual/emacs )"
+
+PYTHON_MODNAME="${PN} hgext"
+
+src_compile() {
+ filter-flags -ftracer -ftree-vectorize
+
+ distutils_src_compile
+
+ if use emacs; then
+ cd "${S}"/contrib
+ elisp-compile mercurial.el || die "Emacs modules failed!"
+ fi
+
+ rm -rf contrib/vim # app-vim/hgcommand app-vim/hgmenu
+ 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 *.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
+ insinto ${SITELISP}
+ doins contrib/mercurial.el*
+ elisp-site-file-install "${FILESDIR}"/70mercurial-gentoo.el
+ fi
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ use emacs && elisp-site-regen
+ bash-completion_pkg_postinst
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ # regenerate site-gentoo if we are merged USE=emacs and unmerged
+ # USE=-emacs
+ has_version virtual/emacs && elisp-site-regen
+}