diff options
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.5 | 3 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-0.9.5.ebuild | 76 |
3 files changed, 85 insertions, 1 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog index 6b554a72e57f..52ba990b4775 100644 --- a/dev-util/mercurial/ChangeLog +++ b/dev-util/mercurial/ChangeLog @@ -1,6 +1,11 @@ # 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.57 2007/11/07 09:53:49 aross Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.58 2007/11/07 10:57:51 aross Exp $ + +*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. diff --git a/dev-util/mercurial/files/digest-mercurial-0.9.5 b/dev-util/mercurial/files/digest-mercurial-0.9.5 new file mode 100644 index 000000000000..9db06dca2d90 --- /dev/null +++ b/dev-util/mercurial/files/digest-mercurial-0.9.5 @@ -0,0 +1,3 @@ +MD5 a9dd54bcb87ca332315ce83293816e37 mercurial-0.9.5.tar.gz 670808 +RMD160 ea38d3142a4b1087e2777de3b70df8b4672cd237 mercurial-0.9.5.tar.gz 670808 +SHA256 cfe02baaa4e18c3af6bbaf1be4ad21c8570d4962b8cefb74dd83d9f309f564d8 mercurial-0.9.5.tar.gz 670808 diff --git a/dev-util/mercurial/mercurial-0.9.5.ebuild b/dev-util/mercurial/mercurial-0.9.5.ebuild new file mode 100644 index 000000000000..a7aa073b4b29 --- /dev/null +++ b/dev-util/mercurial/mercurial-0.9.5.ebuild @@ -0,0 +1,76 @@ +# 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.5.ebuild,v 1.1 2007/11/07 10:57:51 aross 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 *.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 +} |