diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-01-27 22:23:16 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-01-27 22:23:16 +0000 |
commit | 6dc53bf6854e83de0d8faa9274e26a69dc34b385 (patch) | |
tree | 77f76cc7f753df60b5ff40ff46af09670e836927 /dev-vcs | |
parent | Version bump. (diff) | |
download | historical-6dc53bf6854e83de0d8faa9274e26a69dc34b385.tar.gz historical-6dc53bf6854e83de0d8faa9274e26a69dc34b385.tar.bz2 historical-6dc53bf6854e83de0d8faa9274e26a69dc34b385.zip |
Version bump.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/mercurial/ChangeLog | 9 | ||||
-rw-r--r-- | dev-vcs/mercurial/Manifest | 18 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-2.0.2.ebuild | 139 |
3 files changed, 158 insertions, 8 deletions
diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index 19e8ff1cbcf7..71312f3ac3f5 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.63 2011/12/18 17:21:45 armin76 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.64 2012/01/27 22:23:16 nelchael Exp $ + +*mercurial-2.0.2 (27 Jan 2012) + + 27 Jan 2012; Krzysztof Pawlik <nelchael@gentoo.org> +mercurial-2.0.2.ebuild: + Version bump. 18 Dec 2011; Raúl Porcel <armin76@gentoo.org> mercurial-2.0.ebuild: alpha/ia64/sparc stable wrt #393265 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index e13e749ca8f4..11c86b4d056f 100644 --- a/dev-vcs/mercurial/Manifest +++ b/dev-vcs/mercurial/Manifest @@ -1,20 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX 70mercurial-gentoo.el 76 RMD160 1891ab510adb464211b4cc35c5b6e4b149da79fa SHA1 72eb35d2bf86fa8f806acfbc823b88fc5188741b SHA256 c215746e4a5375569808c6aa6ddabe08e82d33d744128179be3142d9cd53a5ab DIST mercurial-1.7.tar.gz 2468587 RMD160 1103d8033309a69ed76a29d40823f45877dee5b9 SHA1 54f5f58365c79dd897e0e490043a5b52aa50aae1 SHA256 19125eb6497c3aeb90a7ad9d5ed7ac2499935c1df796611b017646512f38ba5a DIST mercurial-2.0.1.tar.gz 3128233 RMD160 1c2e84fb5ac1eef3dbdd64f16e76e99fdf34fc98 SHA1 7983f564c06aef598fcfd7f8c1c33f4669362760 SHA256 6b9e6870e21e7161bb2e44c09e078e622ad7dd46bf5a122d3155319919dc1b38 +DIST mercurial-2.0.2.tar.gz 3134016 RMD160 5d5da2c17994da77340de6527108fb4a38c216eb SHA1 aedcb4e41c5b49188d9d34d12c343b2ec099c61b SHA256 ca8b8fb93f2e3e8c3cdf2f81d87e92592f5f20c5bfcaaeb6a75550d4a69572c9 DIST mercurial-2.0.tar.gz 3090977 RMD160 f0c5f143eabff4a6c06d512cecd718bf594d06b1 SHA1 5ede1b3f54d3be2af0657901e7013dde7c19b7c5 SHA256 affab78a4d5074c71f97c07fe211de958263444eb8d86b3ad6fb6d648eb6c594 EBUILD mercurial-1.7.ebuild 3572 RMD160 b554405532f747c724d60a0a621951679f0107e3 SHA1 25537aece6845e32bd7d07f01684f92266fa63ab SHA256 d54a330388d1d1c3437c0f9a39f6a10ba62b358c740f8b3f2d24284dbaf3cae2 EBUILD mercurial-2.0.1.ebuild 4004 RMD160 befdda02423006766c38e5183f38cae7d7919014 SHA1 ecf51cdcce5b7970032e018264a11820b233a5cc SHA256 cd98be5ccec551516d3d3a7072e467629a2f36e1fb7df1ef34ad3e44d21dad40 +EBUILD mercurial-2.0.2.ebuild 4009 RMD160 7bf0d33dd874c6b39550625b71b7ff8a0fdb7eb2 SHA1 5ddb00ac3cdaf489a1f717a39c43afd06e837a3b SHA256 85fc393ffda66655c1dab45e55526cb686b375b5bd9424c3f897fea3ce7120f5 EBUILD mercurial-2.0.ebuild 3772 RMD160 03917fc95de9f6104bf4b89f1b1d2d938ad78e34 SHA1 57ebfa06fc823f7407a8ebbb23f131980779903a SHA256 b234ae9f59507285231aa33860f28232606433e890fd2d006579698afa6d711d EBUILD mercurial-9999.ebuild 3481 RMD160 d3ec02624bdfb07c18592d80ad9d551dacac0fa9 SHA1 873d500f9aa3a340eb33ec6ee088bd8ec6a219b1 SHA256 dd57034ed361dd3a731647170075ecc95c0d5cf3e267a36bbe39b11978cac4ba -MISC ChangeLog 26667 RMD160 2a41e84245300a631da3a54e37b2fcf7de8a2613 SHA1 82f894020b7613713b5eea2fc735a201a5429543 SHA256 e912acb96a3d3c65b0c5e37c371d0ff9a5ab364ba7c2233cbccdf60a48e408e4 +MISC ChangeLog 26796 RMD160 deb9a54d06a87a7c34a2d5b2ab1aabe5435fc246 SHA1 c77392c6deef8aed838fbfbd40d2b723bc173af2 SHA256 03c8ff92f73728375f28cf1abf6346c7ea9f5c29d0a219971be093153ca80a56 MISC metadata.xml 537 RMD160 094da5d55adea235b0980078f03edbc1e2006af9 SHA1 f01f12737cceb293ad828c22c9b1a37a4b51306b SHA256 41fac9bbf087e7bcf85d6ae1a1892c8b0e650e85e44346287f1215e1831948f2 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk7uIS8ACgkQuQc30/atMkBXdgCeLH7ScRMVQgUTza6iKVT6lzf4 -wr0AoKmeejMxKHPF+Ps0pYFYCOun0w1o -=U9Yh +iQEcBAEBCgAGBQJPIyPZAAoJEBZyv1r2qA5GUOcH/0VpxmtYiAGELpevwKCDjRfz +0GV6rzlJwaoj0nXk9kGGkqNxpQ/ISVOzAWN8muY0+Q2Mwm5bbsH4p9NHcxRY4Ce/ +fB690RKaInx0LCVJdtkTGhkkoqMPqcWET2VcaKERAGY0pnNDwBLLQDC12PAulJdR +GFBazIzekL/X7aFckCYrSnn5usBYJ3c4eqaYTxMJjtMvDgCXvCEZUQLCIka+LN8O +0PRQF31We70/vlKGhHIZ47xhoiCyUNLx9i/CuZ3sSxWgIy14yK2CQB2Gj5iHFZvW +uQhAJJdJGIrNocRQYURTFmdKTNFV08D8MhOjB84pUiDMPnV8e9nOuzG6rxrDSeg= +=pKdx -----END PGP SIGNATURE----- diff --git a/dev-vcs/mercurial/mercurial-2.0.2.ebuild b/dev-vcs/mercurial/mercurial-2.0.2.ebuild new file mode 100644 index 000000000000..e66313bb5803 --- /dev/null +++ b/dev-vcs/mercurial/mercurial-2.0.2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-2.0.2.ebuild,v 1.1 2012/01/27 22:23:16 nelchael Exp $ + +EAPI=3 +PYTHON_DEPEND="2" +PYTHON_USE_WITH="threads" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit bash-completion-r1 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~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_prepare() { + distutils_src_prepare + + # fix up logic that won't work in Gentoo Prefix (also won't outside in + # certain cases), bug #362891 + sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die +} + +src_compile() { + distutils_src_compile + + if use emacs; then + cd "${S}"/contrib || die + elisp-compile mercurial.el || die "elisp-compile failed!" + fi + + rm -rf contrib/{win32,macosx} || die +} + +src_install() { + distutils_src_install + + newbashcomp contrib/bash_completion ${PN} || die + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + newins contrib/zsh_completion _hg || die + fi + + rm -f doc/*.?.txt || die + dodoc CONTRIBUTORS PKG-INFO README doc/*.txt || die + cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die + + dobin hgeditor || die + dobin contrib/hgk || die + dobin contrib/hg-ssh || die + + rm -f contrib/hgk contrib/hg-ssh || die + + rm -f contrib/bash_completion || die + cp -r contrib "${ED}"/usr/share/doc/${PF}/ || die + doman doc/*.? || die + + cat > "${T}/80mercurial" <<-EOF +HG="${EPREFIX}/usr/bin/hg" +EOF + doenvd "${T}/80mercurial" || die + + 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/" || die + rm -rf *svn* || die # Subversion tests fail with 1.5 + rm -f test-archive || die # Fails due to verbose tar output changes + rm -f test-convert-baz* || die # GNU Arch baz + rm -f test-convert-cvs* || die # CVS + rm -f test-convert-darcs* || die # Darcs + rm -f test-convert-git* || die # git + rm -f test-convert-mtn* || die # monotone + rm -f test-convert-tla* || die # GNU Arch tla + rm -f test-doctest* || die # 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 || die # Test is broken when run as root + rm -f test-convert || die # Test is broken when run as root + rm -f test-lock-badness || die # Test is broken when run as root + rm -f test-permissions || die # Test is broken when run as root + rm -f test-pull-permission || die # Test is broken when run as root + rm -f test-clone-failure || die + rm -f test-journal-exists || die + rm -f test-repair-strip || die + fi + + testing() { + local testdir="${T}/tests-${PYTHON_ABI}" + rm -rf "${testdir}" || die + "$(PYTHON)" run-tests.py --tmpdir="${testdir}" + } + python_execute_function testing +} + +pkg_postinst() { + distutils_pkg_postinst + use emacs && elisp-site-regen + + 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 +} |