summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-03-04 17:48:42 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-03-04 17:48:42 +0000
commit1ce36dd5b7cd34f249f344e7fc3bc1c80da835e5 (patch)
treed90784364ef8b73c6550726262646da40e508ad4 /dev-vcs
parentRemove older versions of Mercurial. (diff)
downloadhistorical-1ce36dd5b7cd34f249f344e7fc3bc1c80da835e5.tar.gz
historical-1ce36dd5b7cd34f249f344e7fc3bc1c80da835e5.tar.bz2
historical-1ce36dd5b7cd34f249f344e7fc3bc1c80da835e5.zip
Version bump to Mercurial 1.8.
Package-Manager: portage-2.1.9.41/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/mercurial/ChangeLog7
-rw-r--r--dev-vcs/mercurial/Manifest4
-rw-r--r--dev-vcs/mercurial/mercurial-1.8.ebuild132
3 files changed, 141 insertions, 2 deletions
diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog
index b37f23f5b206..b7b00ad676b2 100644
--- a/dev-vcs/mercurial/ChangeLog
+++ b/dev-vcs/mercurial/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/mercurial
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.39 2011/03/04 17:44:17 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.40 2011/03/04 17:48:42 djc Exp $
+
+*mercurial-1.8 (04 Mar 2011)
+
+ 04 Mar 2011; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.8.ebuild:
+ Version bumped to 1.8.
04 Mar 2011; Dirkjan Ochtman <djc@gentoo.org> -mercurial-1.4.1.ebuild,
-mercurial-1.7.2.ebuild, -mercurial-1.7.3.ebuild:
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
index c095e11080d0..1807a003a8dd 100644
--- a/dev-vcs/mercurial/Manifest
+++ b/dev-vcs/mercurial/Manifest
@@ -2,9 +2,11 @@ AUX 70mercurial-gentoo.el 76 RMD160 1891ab510adb464211b4cc35c5b6e4b149da79fa SHA
DIST mercurial-1.5.tar.gz 2017153 RMD160 adc1bca311ecac8afd13424613fc95a3777f1011 SHA1 f4e5ff53be661a8bd1422c70ae76337aafbffa56 SHA256 83608427415700b79f0ce1c9088700e5e07812e0ce55bb839b670b0f31402c9c
DIST mercurial-1.7.5.tar.gz 2486207 RMD160 83b3d68d2d68419f81da8aa63085206646141dae SHA1 3b2dad1415e8bde00d2248b7d8c4255e9f0d79aa SHA256 dfadcf883d30a923c7164ed0f3b8ee72e63030627668707f954dd12d8a4d0491
DIST mercurial-1.7.tar.gz 2468587 RMD160 1103d8033309a69ed76a29d40823f45877dee5b9 SHA1 54f5f58365c79dd897e0e490043a5b52aa50aae1 SHA256 19125eb6497c3aeb90a7ad9d5ed7ac2499935c1df796611b017646512f38ba5a
+DIST mercurial-1.8.tar.gz 2528310 RMD160 ed428f767c624e935173487c110515f66a6b2c9a SHA1 51e335638996e614c8a1c251d4cadb9524ed9ad0 SHA256 421d19151f754d8452b5cf0817e0bbac2f74d93a4f76f9de41fc7a7f33c5db93
EBUILD mercurial-1.5.ebuild 3355 RMD160 4efa3563786f0c9e9d2f34f4dbbddd28207f219b SHA1 f88b5abbc1c06077d25d9acdba6c026d846104fd SHA256 6acb4c5ba85b12ca5b7ec736990eae0e1297ef27a7cc5193639fb070c38cf761
EBUILD mercurial-1.7.5.ebuild 3582 RMD160 716f0696b5bd01366c06ba768eb58fc444fbd13d SHA1 85bf12abd853d329ef405694e7d91feb7eef5807 SHA256 985324180629a83c64dfad7202d0d993b3d7f0d6ebf92eea70602027e301f093
EBUILD mercurial-1.7.ebuild 3579 RMD160 bed0dada9a185a5ee40eb54a6df8e6123e596583 SHA1 cead06bf6a0fced125a234bbc898404d5d062606 SHA256 0f458001fd94a7b558d4d8efc62879fc8cc43571c4b0f246da370bfa636788d8
+EBUILD mercurial-1.8.ebuild 3580 RMD160 4aef4db5d053a8570d5f6e3678cde91effd9fd97 SHA1 f3be66c0477f5a304f4755a6f66b080f8e5ce330 SHA256 f31a08147b435632b2db9faa7c6fb8fe3f97986631a35a4127a21186560af059
EBUILD mercurial-9999.ebuild 3426 RMD160 91f6483efac5eae0d216212c8c9c7805138bf603 SHA1 dc24d5db8e80f75f5680599ff9c9b889cee68d43 SHA256 3861ce259f51eeac801e1e49ff22eb6a422efa82d6ae890e7e903188e60a8239
-MISC ChangeLog 23599 RMD160 c87dc87f8b3618a707a2e512812022a3276f83f5 SHA1 db27bb3e71f29d7b57220c2c71426fe763dc1218 SHA256 681b406d190d7d64c5568404c8ebab586009cd33c8406a2739ffa838de5a702d
+MISC ChangeLog 23726 RMD160 cc5133020c97f5395512ca33ced377f0fee6c7c2 SHA1 788fdeeaac389a7a7da49cf566a9e1a96b071bf4 SHA256 debe8d7f76065fe9209f024a5daca7e0f35319ef13255a5d497f12191f7cb422
MISC metadata.xml 560 RMD160 d2c84db005e2bb001ecb78da10c1e732ca39849e SHA1 18dde8a3194320ab1fce68aada7c2bcc177c675a SHA256 279657b5c4f96eab16e370c3cabe306f2421447f0afe5ab981232bf9da83774b
diff --git a/dev-vcs/mercurial/mercurial-1.8.ebuild b/dev-vcs/mercurial/mercurial-1.8.ebuild
new file mode 100644
index 000000000000..b253e36744c9
--- /dev/null
+++ b/dev-vcs/mercurial/mercurial-1.8.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.8.ebuild,v 1.1 2011/03/04 17:48:42 djc Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="threads"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit bash-completion elisp-common eutils distutils
+
+DESCRIPTION="Scalable distributed SCM"
+HOMEPAGE="http://mercurial.selenic.com/"
+SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="bugzilla emacs gpg test tk zsh-completion"
+
+RDEPEND="bugzilla? ( dev-python/mysql-python )
+ gpg? ( app-crypt/gnupg )
+ tk? ( dev-lang/tk )
+ zsh-completion? ( app-shells/zsh )"
+DEPEND="emacs? ( virtual/emacs )
+ test? ( app-arch/unzip
+ dev-python/pygments )"
+
+PYTHON_CFLAGS=(
+ "2.* + -fno-strict-aliasing"
+ "* - -ftracer -ftree-vectorize"
+)
+
+PYTHON_MODNAME="${PN} hgext"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+ 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
+
+ rm -f doc/*.?.txt
+ dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
+ cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/
+
+ dobin hgeditor
+ dobin contrib/hgk
+ dobin contrib/hg-ssh
+
+ rm -f contrib/hgk contrib/hg-ssh
+
+ rm -f contrib/bash_completion
+ cp -r contrib "${ED}"/usr/share/doc/${PF}/
+ doman doc/*.?
+
+ cat > "${T}/80mercurial" <<-EOF
+HG="${EPREFIX}/usr/bin/hg"
+EOF
+ doenvd "${T}/80mercurial"
+
+ if use emacs; then
+ elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ fi
+}
+
+src_test() {
+ cd "${S}/tests/"
+ rm -rf *svn* # Subversion tests fail with 1.5
+ rm -f test-archive # Fails due to verbose tar output changes
+ rm -f test-convert-baz* # GNU Arch baz
+ rm -f test-convert-cvs* # CVS
+ rm -f test-convert-darcs* # Darcs
+ rm -f test-convert-git* # git
+ rm -f test-convert-mtn* # monotone
+ rm -f test-convert-tla* # GNU Arch tla
+ rm -f test-doctest* # doctest always fails with python 2.5.x
+ if [[ ${EUID} -eq 0 ]]; then
+ einfo "Removing tests which require user privileges to succeed"
+ rm -f test-command-template # Test is broken when run as root
+ rm -f test-convert # Test is broken when run as root
+ rm -f test-lock-badness # Test is broken when run as root
+ rm -f test-permissions # Test is broken when run as root
+ rm -f test-pull-permission # Test is broken when run as root
+ rm -f test-clone-failure
+ rm -f test-journal-exists
+ rm -f test-repair-strip
+ fi
+
+ testing() {
+ local testdir="${T}/tests-${PYTHON_ABI}"
+ rm -rf "${testdir}"
+ "$(PYTHON)" run-tests.py --tmpdir="${testdir}"
+ }
+ python_execute_function testing
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ use emacs && elisp-site-regen
+ bash-completion_pkg_postinst
+
+ elog "If you want to convert repositories from other tools using convert"
+ elog "extension please install correct tool:"
+ elog " dev-vcs/cvs"
+ elog " dev-vcs/darcs"
+ elog " dev-vcs/git"
+ elog " dev-vcs/monotone"
+ elog " dev-vcs/subversion"
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ use emacs && elisp-site-regen
+}