summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-12-02 10:10:02 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-12-02 10:10:02 +0000
commitb910c3f1b0a5a3b6a7f124ac6a4ba6c818bb36a8 (patch)
treefb2d92111bdb117a440e85acaf85396d828b36ba /dev-vcs/mercurial
parentVersion bump. (diff)
downloadhistorical-b910c3f1b0a5a3b6a7f124ac6a4ba6c818bb36a8.tar.gz
historical-b910c3f1b0a5a3b6a7f124ac6a4ba6c818bb36a8.tar.bz2
historical-b910c3f1b0a5a3b6a7f124ac6a4ba6c818bb36a8.zip
Version bump mercurial to 1.7.2.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/mercurial')
-rw-r--r--dev-vcs/mercurial/ChangeLog7
-rw-r--r--dev-vcs/mercurial/Manifest4
-rw-r--r--dev-vcs/mercurial/mercurial-1.7.2.ebuild132
3 files changed, 141 insertions, 2 deletions
diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog
index bd127795669f..d5d315e69155 100644
--- a/dev-vcs/mercurial/ChangeLog
+++ b/dev-vcs/mercurial/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/mercurial
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.25 2010/11/24 09:35:46 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.26 2010/12/02 10:10:02 djc Exp $
+
+*mercurial-1.7.2 (02 Dec 2010)
+
+ 02 Dec 2010; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.7.2.ebuild:
+ Version bump to 1.7.2.
*mercurial-1.7.1 (24 Nov 2010)
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
index 852df2d0aa7e..96eda709c52d 100644
--- a/dev-vcs/mercurial/Manifest
+++ b/dev-vcs/mercurial/Manifest
@@ -4,13 +4,15 @@ DIST mercurial-1.5.tar.gz 2017153 RMD160 adc1bca311ecac8afd13424613fc95a3777f101
DIST mercurial-1.6.3.tar.gz 2205031 RMD160 cd63da24cb30358c3905e59ac3d86721f0837743 SHA1 d198fb97182f7b23277007d66fadd2d038ff6ef7 SHA256 57e5d26d35fbec71206378e3af111193e6eee7bb1dfb6447bbc4b9e03ce937bd
DIST mercurial-1.6.4.tar.gz 2240810 RMD160 269beb3fa3bb4f046b7c713fea7f9508d027fe34 SHA1 13e9dcf64ce5228b6abf9ae402966b1129f0889c SHA256 1e8edbbf8c495c095a3f086028e5f2b0440ce218eac9056c0b477b4192dc8811
DIST mercurial-1.7.1.tar.gz 2471811 RMD160 05c902d444b2f1dfb461ec30fbf4e5174ed5dfb1 SHA1 984e896e4450e472df45fec91bf50289c94f9556 SHA256 0430e14e546e308f4add181b1192fa637a21e3512746b80f9a7ef4f418bfb35e
+DIST mercurial-1.7.2.tar.gz 2477283 RMD160 492131a443103b1d5a7cb340c7d216b544fe8c8b SHA1 808b009ce4cbba1c6bfe601b9d34dcdb55b69c5e SHA256 b4ce83fa6655543fc3b593d4eeca67356e07991325aa7104843a684e5febf78d
DIST mercurial-1.7.tar.gz 2468587 RMD160 1103d8033309a69ed76a29d40823f45877dee5b9 SHA1 54f5f58365c79dd897e0e490043a5b52aa50aae1 SHA256 19125eb6497c3aeb90a7ad9d5ed7ac2499935c1df796611b017646512f38ba5a
EBUILD mercurial-1.4.1.ebuild 3275 RMD160 68324367da90bbf246a37cbe647f20c61455d3fb SHA1 8a38ebd9e274109da1b451dd0ec1857744e10deb SHA256 670e3f04145541c7049b0c87d2bf7f3f83173eadf7ca53d56fdb83b5e3bf60ac
EBUILD mercurial-1.5.ebuild 3355 RMD160 4efa3563786f0c9e9d2f34f4dbbddd28207f219b SHA1 f88b5abbc1c06077d25d9acdba6c026d846104fd SHA256 6acb4c5ba85b12ca5b7ec736990eae0e1297ef27a7cc5193639fb070c38cf761
EBUILD mercurial-1.6.3.ebuild 3582 RMD160 1e215a94e15d0514fc8b40aea0c9863d6b239af5 SHA1 b353dc55fa574f6c9aa3b071c938e2c6de2c360c SHA256 e59e5a74cb34b63ad64eb242fce42fa624ead80acf52125b626dd8ccf450cf5c
EBUILD mercurial-1.6.4.ebuild 3577 RMD160 6b163ceaaf3087684fd5c11353b04529f86abaa7 SHA1 73085d98390f4d2dc6720046e2a06b70de437aaf SHA256 78542e7ba7f0c46f6778b0fdacc3cab6cd2d5a9cfd1723a378bc4a64415a6a7a
EBUILD mercurial-1.7.1.ebuild 3577 RMD160 3b97996ad9be43af5d5bdd04afc01a22aa38be2a SHA1 c558a1c09e317742f9fe98cf3b67d39333da8999 SHA256 9e138d385a62b8c2ad9a0821674cbdf7b4a486e3e1c57d613d45426a8951a36a
+EBUILD mercurial-1.7.2.ebuild 3577 RMD160 d91fc028f435daf42e13aa110f286f40ea8b9df2 SHA1 ba823442fad4afa0a4d11b847db960ad3e211ec1 SHA256 fbaf996a46a7802312077c1d6c35217d273a474bd73d67b2ffc9fcf5948ecfba
EBUILD mercurial-1.7.ebuild 3575 RMD160 982f6ac4f7593d54b30669ce08593bad42298725 SHA1 102105d296297aefce6bc5a65c6a01baef72aeb8 SHA256 779815012cef174ea9f77df0f40a2836733e496f3e3502ea5b1210d60e91cc03
EBUILD mercurial-9999.ebuild 3421 RMD160 b93eaf88664183417a1b207b553bf5ca3157e841 SHA1 b1a09a868e56485752a1bcd700cfc1b0a3d168f2 SHA256 0ff8778b1173adce3ef287da0291120f5c0766509e376037dad946f7bc036f5a
-MISC ChangeLog 21640 RMD160 3bb807aee775e355db22000e31de6e898dafb0cb SHA1 beaad5da165cccaf7240c4c69fb7c07284304653 SHA256 870291d56aedc4fc3a838c9461890730162771a5ad4ccaa9693358934c4abf85
+MISC ChangeLog 21771 RMD160 9e13b58174dbff63b7c8e87931ac3a4bdbd0708e SHA1 ea25219150b3343434cb1bf4a46e46d0f27efd5e SHA256 4bfdbac0b9cf219af38cc56ea88e235532de6c6d3dbd08542d4839b5786af14f
MISC metadata.xml 560 RMD160 d2c84db005e2bb001ecb78da10c1e732ca39849e SHA1 18dde8a3194320ab1fce68aada7c2bcc177c675a SHA256 279657b5c4f96eab16e370c3cabe306f2421447f0afe5ab981232bf9da83774b
diff --git a/dev-vcs/mercurial/mercurial-1.7.2.ebuild b/dev-vcs/mercurial/mercurial-1.7.2.ebuild
new file mode 100644
index 000000000000..260aab8cb635
--- /dev/null
+++ b/dev-vcs/mercurial/mercurial-1.7.2.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.7.2.ebuild,v 1.1 2010/12/02 10:10:02 djc Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="threads"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+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 -j4 --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
+}