diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-06 13:26:58 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-06 13:26:58 +0000 |
commit | 9f55283b395cb012dd81fcdf3ce211772f83acbd (patch) | |
tree | e3a4b2a825a9fcc8af475813fbab2d7a30245bc8 /dev-vcs | |
parent | Revert back to ~amd64 wrt #304787. (diff) | |
download | historical-9f55283b395cb012dd81fcdf3ce211772f83acbd.tar.gz historical-9f55283b395cb012dd81fcdf3ce211772f83acbd.tar.bz2 historical-9f55283b395cb012dd81fcdf3ce211772f83acbd.zip |
Version bump dev-vcs/mercurial to 1.5.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/mercurial/ChangeLog | 9 | ||||
-rw-r--r-- | dev-vcs/mercurial/Manifest | 4 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-1.5.ebuild | 122 |
3 files changed, 132 insertions, 3 deletions
diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index aa0bdbc16e6d..6a408632b2c5 100644 --- a/dev-vcs/mercurial/ChangeLog +++ b/dev-vcs/mercurial/ChangeLog @@ -1,6 +1,11 @@ -# ChangeLog for dev-util/mercurial +# 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.1 2010/03/06 12:20:08 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.2 2010/03/06 13:26:58 djc Exp $ + +*mercurial-1.5 (06 Mar 2010) + + 06 Mar 2010; Dirkjan Ochtman <djc@gentoo.org> +mercurial-1.5.ebuild: + Version bump to 1.5. 05 Mar 2010; Sebastian Pipping <sping@gentoo.org> mercurial-1.4.1.ebuild, mercurial-1.4.2.ebuild, mercurial-1.4.3.ebuild, mercurial-9999.ebuild: diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index ab1ade93b6dd..e5c3070ab95c 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.4.1.tar.gz 1917284 RMD160 cee744f59785a15d9ffa1f8e5b0b5bcfa23324e8 SHA1 e7a78a2b9e449ac8748d8a275f22862395c7d9a6 SHA256 86960cf3d8ca12624ab627e05391509c9b20d6b3ea4ff1ed636b40e14b1c885f DIST mercurial-1.4.2.tar.gz 1922947 RMD160 05eb8a8932adb1a4a530a08970d6cffb52f2a10b SHA1 6bc5d33624dae7db5dedae2c676f40b28b945763 SHA256 6c8605d970255ae947031a2752d8c1d519eee714df15acadb10899d4aa81c329 DIST mercurial-1.4.3.tar.gz 1925613 RMD160 7dee2f0752befcec85f2d6b7ab87e2603aa94d76 SHA1 26ed2726b4a8886bbc5a1b3e0823ad252a13b991 SHA256 9cc820baaca3c385d98d6d0c0f54ce6ee4c7af0ef6e8aa8c71da2a48fb7a2a24 +DIST mercurial-1.5.tar.gz 2017153 RMD160 adc1bca311ecac8afd13424613fc95a3777f1011 SHA1 f4e5ff53be661a8bd1422c70ae76337aafbffa56 SHA256 83608427415700b79f0ce1c9088700e5e07812e0ce55bb839b670b0f31402c9c EBUILD mercurial-1.4.1.ebuild 3274 RMD160 74fbb2976d519d9589f80380b0ec995fdcca2b1e SHA1 45428beafe4b042165e2bfbdb62cf7da9abb3661 SHA256 bb2165f506e5c76d930e43f01eabe50776f253208fddbc1bc696f13e6ebdbb78 EBUILD mercurial-1.4.2.ebuild 3282 RMD160 e2242eca1ad79dd89fcbb1a832e960b200858a98 SHA1 7f62a4afe166cfdd3e9a1ea1928108c2c6b7aa82 SHA256 3e2965460e3cf228a76bab7fec5110e4d04247b1c3bb77edfe46953edc5e24db EBUILD mercurial-1.4.3.ebuild 3282 RMD160 bada89603519a32fc28b3cd927582abb4df3da62 SHA1 e192e2824d96c871d844e7cdf9e691553aa4d8be SHA256 bbfabff1d55b51a7ec5f6063eca255bd30a25b1513e34c2c4c6d1ca6b071a079 +EBUILD mercurial-1.5.ebuild 3280 RMD160 448841d3e6daf23bae94650b33b219f605ec401f SHA1 6e05ecd5f3b314dc1b8f88d124eadda534f1bc0d SHA256 53ead075968f2dd2d16e70497c943701c142b095b52c2eb808bf858970587a06 EBUILD mercurial-9999.ebuild 3135 RMD160 fb08f2c1fd49b0758c18012a4ddfce6f873de175 SHA1 9222e8d57a34e36f8bf8a3cc6871d7888a423a83 SHA256 9d1ae0590761f14884197bd0d05dd912d01859af7e73ce295f3fe0ab6c0a0e62 -MISC ChangeLog 18009 RMD160 ac6240b8deab4dc6ce263a6adc1f70398cb9301a SHA1 b60a2eaff39a6a58b0b7d4bd9139f467e27db018 SHA256 7ba1b3fa51e1843a8a2944aa3c28d38360087f568fd3127eeae39fd9d6c5868e +MISC ChangeLog 18133 RMD160 74e719842a9aa7697a71a2a2c6c75601c14b9bf3 SHA1 710ef922d04c31df3b4c5c701971057f0a21a3b7 SHA256 ed26d37463d275f99420877cd88be2db249ae70bb6fb979da3a5d22d14a07932 MISC metadata.xml 559 RMD160 91e2d8be8351c35a2374bc06b20cdf7225050c1c SHA1 a64f9a2f4eda4463d453b2dcece61fd745a70932 SHA256 1cc655cef1ae81ba9147c29e6383215c043ea975db4c87213c7c9072173eae86 diff --git a/dev-vcs/mercurial/mercurial-1.5.ebuild b/dev-vcs/mercurial/mercurial-1.5.ebuild new file mode 100644 index 000000000000..773bbbdc523a --- /dev/null +++ b/dev-vcs/mercurial/mercurial-1.5.ebuild @@ -0,0 +1,122 @@ +# 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.5.ebuild,v 1.1 2010/03/06 13:26:58 djc Exp $ + +EAPI=2 + +inherit bash-completion elisp-common flag-o-matic 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" +IUSE="bugzilla emacs gpg test tk zsh-completion" + +CDEPEND=">=dev-lang/python-2.4[threads]" +RDEPEND="${CDEPEND} + bugzilla? ( dev-python/mysql-python ) + gpg? ( app-crypt/gnupg ) + tk? ( dev-lang/tk ) + zsh-completion? ( app-shells/zsh )" +DEPEND="${CDEPEND} + emacs? ( virtual/emacs ) + test? ( app-arch/unzip + dev-python/pygments )" + +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 + + rm -f doc/*.?.txt + dodoc CONTRIBUTORS PKG-INFO README doc/*.txt + cp hgweb*.cgi "${D}"/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 "${D}"/usr/share/doc/${PF}/ + doman doc/*.? + + cat > "${T}/80mercurial" <<-EOF +HG=/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 + fi + local testdir="${T}/tests" + rm -rf "${testdir}" + einfo "Running Mercurial tests ..." + python run-tests.py --tmpdir="${testdir}" || die "test failed" +} + +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-util/cvs" + elog " dev-util/darcs" + elog " dev-util/git" + elog " dev-vcs/monotone" + elog " dev-util/subversion" +} + +pkg_postrm() { + distutils_pkg_postrm + use emacs && elisp-site-regen +} |