diff options
author | Andrew Ross <aross@gentoo.org> | 2006-12-19 08:44:26 +0000 |
---|---|---|
committer | Andrew Ross <aross@gentoo.org> | 2006-12-19 08:44:26 +0000 |
commit | 6b92c723967abe93ce5fe157068e3b97b4e0ae42 (patch) | |
tree | 77e74da9a34f0604aa55d08b89eba01f7bd5611a /dev-util/mercurial | |
parent | version bump (diff) | |
download | gentoo-2-6b92c723967abe93ce5fe157068e3b97b4e0ae42.tar.gz gentoo-2-6b92c723967abe93ce5fe157068e3b97b4e0ae42.tar.bz2 gentoo-2-6b92c723967abe93ce5fe157068e3b97b4e0ae42.zip |
Version bump dev-util/mercurial to 0.9.3 (#157902).
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util/mercurial')
-rw-r--r-- | dev-util/mercurial/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/mercurial/files/digest-mercurial-0.9.3 | 3 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-0.9.3.ebuild | 67 |
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog index f4eceab628a3..928df167d460 100644 --- a/dev-util/mercurial/ChangeLog +++ b/dev-util/mercurial/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/mercurial # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.37 2006/12/14 20:06:07 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.38 2006/12/19 08:44:26 aross Exp $ + +*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: diff --git a/dev-util/mercurial/files/digest-mercurial-0.9.3 b/dev-util/mercurial/files/digest-mercurial-0.9.3 new file mode 100644 index 000000000000..dad7de3f4c0f --- /dev/null +++ b/dev-util/mercurial/files/digest-mercurial-0.9.3 @@ -0,0 +1,3 @@ +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 diff --git a/dev-util/mercurial/mercurial-0.9.3.ebuild b/dev-util/mercurial/mercurial-0.9.3.ebuild new file mode 100644 index 000000000000..0fdbe19256f6 --- /dev/null +++ b/dev-util/mercurial/mercurial-0.9.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 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.ebuild,v 1.1 2006/12/19 08:44:26 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 ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="emacs" + +RDEPEND=">=dev-lang/python-2.3" +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} + + 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 +} |