diff options
author | Andrew Ross <aross@gentoo.org> | 2006-08-24 01:48:12 +0000 |
---|---|---|
committer | Andrew Ross <aross@gentoo.org> | 2006-08-24 01:48:12 +0000 |
commit | b9cc997a7d96fdf4d322bf37f2dc78ca3ba856d5 (patch) | |
tree | 8dccd089731ff9a113890278248c3422f016dbfb /dev-util/mercurial | |
parent | Added RUBY_OPTIONAL to prevent ruby from being pulled in by the eclass for US... (diff) | |
download | gentoo-2-b9cc997a7d96fdf4d322bf37f2dc78ca3ba856d5.tar.gz gentoo-2-b9cc997a7d96fdf4d322bf37f2dc78ca3ba856d5.tar.bz2 gentoo-2-b9cc997a7d96fdf4d322bf37f2dc78ca3ba856d5.zip |
Byte-compile the 'hgext' python module, thanks to James Rowe <jnrowe@ukfsn.org> in bug #135488. Don't install macosx and win32-specific files (bug #143755). Install man pages unconditionally, instead of needing USE=doc (bug #143744 and, to a lesser extent, bug #130790).
(Portage version: 2.1-r2)
Diffstat (limited to 'dev-util/mercurial')
-rw-r--r-- | dev-util/mercurial/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/mercurial/files/digest-mercurial-0.9.1-r1 | 3 | ||||
-rw-r--r-- | dev-util/mercurial/mercurial-0.9.1-r1.ebuild | 51 |
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-util/mercurial/ChangeLog b/dev-util/mercurial/ChangeLog index 47f5576304b3..f8b7a3536a94 100644 --- a/dev-util/mercurial/ChangeLog +++ b/dev-util/mercurial/ChangeLog @@ -1,6 +1,14 @@ # 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.31 2006/08/15 03:28:26 aross Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.32 2006/08/24 01:48:11 aross Exp $ + +*mercurial-0.9.1-r1 (25 Aug 2006) + + 25 Aug 2006; Andrew Ross <aross@gentoo.org> +mercurial-0.9.1-r1.ebuild: + Byte-compile the 'hgext' python module, thanks to James Rowe + <jnrowe@ukfsn.org> in bug #135488. Don't install macosx and win32-specific + files (bug #143755). Install man pages unconditionally, instead of needing + USE=doc (bug #143744 and, to a lesser extent, bug #130790). 16 Aug 2006; Andrew Ross <aross@gentoo.org> metadata.xml: Add myself as a maintainer. diff --git a/dev-util/mercurial/files/digest-mercurial-0.9.1-r1 b/dev-util/mercurial/files/digest-mercurial-0.9.1-r1 new file mode 100644 index 000000000000..efb7eb9b43cb --- /dev/null +++ b/dev-util/mercurial/files/digest-mercurial-0.9.1-r1 @@ -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-r1.ebuild b/dev-util/mercurial/mercurial-0.9.1-r1.ebuild new file mode 100644 index 000000000000..7f49f573a35a --- /dev/null +++ b/dev-util/mercurial/mercurial-0.9.1-r1.ebuild @@ -0,0 +1,51 @@ +# 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-r1.ebuild,v 1.1 2006/08/24 01:48:11 aross 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="" + +DEPEND=">=dev-lang/python-2.3" +RDEPEND="${DEPEND}" + +PYTHON_MODNAME="${PN} hgext" + +if [[ ${PV} == *_p* ]]; then + S=${WORKDIR}/mercurial-snapshot +else + S=${WORKDIR}/${PN}-${MY_PV} +fi + +src_compile() { + distutils_src_compile + + 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/*.? +} + +pkg_postinst() { + distutils_pkg_postinst + bash-completion_pkg_postinst +} |