diff options
author | Aron Griffis <agriffis@gentoo.org> | 2006-08-08 19:04:00 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2006-08-08 19:04:00 +0000 |
commit | 312f451883bb4518aa2e509a780d9b566a5d89d2 (patch) | |
tree | 14c2abf5af1af64d5eb1663c5e6b0844efa480a5 /dev-util/mercurial | |
parent | spelling fix (diff) | |
download | gentoo-2-312f451883bb4518aa2e509a780d9b566a5d89d2.tar.gz gentoo-2-312f451883bb4518aa2e509a780d9b566a5d89d2.tar.bz2 gentoo-2-312f451883bb4518aa2e509a780d9b566a5d89d2.zip |
Bump to 0.9.1, thanks to Radek Podgorny #141903. Leave out contrib/vim
scripts, plan to put them in app-vim
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'dev-util/mercurial')
-rw-r--r-- | dev-util/mercurial/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/mercurial/files/digest-mercurial-0.9.1 | 3 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-0.9.1.ebuild | 62 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog index dd1a296aa4c7..894351adb689 100644 --- a/dev-util/mercurial/ChangeLog +++ b/dev-util/mercurial/ChangeLog @@ -1,6 +1,12 @@ # 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.29 2006/07/08 08:10:04 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.30 2006/08/08 19:04:00 agriffis Exp $ + +*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 diff --git a/dev-util/mercurial/files/digest-mercurial-0.9.1 b/dev-util/mercurial/files/digest-mercurial-0.9.1 new file mode 100644 index 000000000000..efb7eb9b43cb --- /dev/null +++ b/dev-util/mercurial/files/digest-mercurial-0.9.1 @@ -0,0 +1,3 @@ +MD5 9ed3962bba640a686c37faa47739270c mercurial-0.9.1.tar.gz 401485 +RMD160 f34db5fbfcc5b3e90b2bce7577d3446f6159b057 mercurial-0.9.1.tar.gz 401485 +SHA256 60329317ed96cccf3db704ef9d2554890bcff6850c305199cc0f51cef606ebc9 mercurial-0.9.1.tar.gz 401485 diff --git a/dev-util/mercurial/mercurial-0.9.1.ebuild b/dev-util/mercurial/mercurial-0.9.1.ebuild new file mode 100644 index 000000000000..ddae9cc7c7ff --- /dev/null +++ b/dev-util/mercurial/mercurial-0.9.1.ebuild @@ -0,0 +1,62 @@ +# 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.1.ebuild,v 1.1 2006/08/08 19:04:00 agriffis Exp $ + +inherit bash-completion distutils + +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" +IUSE="doc" + +DEPEND=">=dev-lang/python-2.3 + doc? ( + app-text/asciidoc + app-text/xmlto + )" + +if [[ ${PV} == *_p* ]]; then + S=${WORKDIR}/mercurial-snapshot +else + S=${WORKDIR}/${PN}-${MY_PV} +fi + +src_compile() { + distutils_src_compile + + if use doc; then + cd doc + local x + for x in *.?.txt; do + asciidoc -d manpage -b docbook $x || die + xmlto man ${x%txt}xml || die + sed -nie '/./p' ${x%.*} || die + done + fi + + rm -rf contrib/vim # app-vim/hgcommand app-vim/hg-menu app-vim/patchreview +} + +src_install() { + distutils_src_install + + dobashcompletion contrib/bash_completion ${PN} + + dodoc CONTRIBUTORS PKG-INFO README *.txt + cp hgweb*.cgi ${D}/usr/share/doc/${PF}/ + cp -r contrib ${D}/usr/share/doc/${PF}/ + if use doc; then + doman doc/*.? + fi +} + +pkg_postinst() { + distutils_pkg_postinst + bash-completion_pkg_postinst +} |