From 3e5729813c0ed29e1a85e0381aa5c4246bdb31e1 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 2 Jul 2013 07:01:16 +0000 Subject: Version bump. Removed old Package-Manager: portage-2.2.0_alpha186/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- dev-vcs/mercurial/ChangeLog | 8 +- dev-vcs/mercurial/Manifest | 32 +++---- dev-vcs/mercurial/mercurial-2.6.1.ebuild | 152 ------------------------------- dev-vcs/mercurial/mercurial-2.6.3.ebuild | 152 +++++++++++++++++++++++++++++++ 4 files changed, 175 insertions(+), 169 deletions(-) delete mode 100644 dev-vcs/mercurial/mercurial-2.6.1.ebuild create mode 100644 dev-vcs/mercurial/mercurial-2.6.3.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index ac1ad174c066..ba2c261a8e54 100644 --- a/dev-vcs/mercurial/ChangeLog +++ b/dev-vcs/mercurial/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-vcs/mercurial # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.123 2013/06/07 13:45:33 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.124 2013/07/02 07:01:12 polynomial-c Exp $ + +*mercurial-2.6.3 (02 Jul 2013) + + 02 Jul 2013; Lars Wendler -mercurial-2.6.1.ebuild, + +mercurial-2.6.3.ebuild: + Version bump. Removed old. *mercurial-2.6.2 (07 Jun 2013) diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index 6826089759b1..0e705b20d6b6 100644 --- a/dev-vcs/mercurial/Manifest +++ b/dev-vcs/mercurial/Manifest @@ -5,29 +5,29 @@ AUX 70mercurial-gentoo.el 76 SHA256 c215746e4a5375569808c6aa6ddabe08e82d33d74412 AUX cacerts.rc 51 SHA256 3d7c7e238ab4db22d2457e039bb1afcb02c6ac3a6c9aee8448614b0a6f414774 SHA512 39c40c6cc95c54dcae13effb5c23f541f49fd89e0f040e214673afd906c6d5140eb18801d55330f4455507b467f0fae011998e60932e9a2accf37a0e7a047b90 WHIRLPOOL 12c178cf03d7d31744311fd71200efd07a2c9ab3ab3bf1c08f254d113fbd0500848ac3bb76da2baa2c567666f2174026a605dd561a3b1bc96133f314e149f289 DIST mercurial-2.4.2.tar.gz 3613392 SHA256 cc21083d7eab4caa8159b941e36c7229acbb6d41a26a7bed21a771b3f63dedf3 SHA512 642dbcc9de6662e563059cafadbd4a0f1b4d6cebad48b2bfc7160571fad950a0110456be52690f1aeef6b91a4f6ac1edf6fc3607d1f590337a60c4b2bcab4625 WHIRLPOOL 64b7f5d620ed132849318e270bc97a0bed99f8be16d1c65da0a38dab47cf3f20bbe0f6b1b9ab145ca6df70c48ba70814df5c0c6c8fa07b271fcda251bb7c9ddf DIST mercurial-2.5.4.tar.gz 3673850 SHA256 c86fe9feb9aaada286fa297d9d68d1b16e2f842b8bd645826c81bc705a629d5a SHA512 928fdeaaf0eaec80adbd8765521de9666ab56aaa2101fb9ab2cb392d8b29475d3b052d89652ff9b67522cfcc6cd958717ac715f51b0573ee088e9a595f29afe2 WHIRLPOOL d90a0c6a8752442ad2f7e524a4b07910538aa9d910ae4889196eb41cdcc903dbfb3f17d18f54a788fcf8232e154852566503d652a3904b4b307242a7d306ce80 -DIST mercurial-2.6.1.tar.gz 3728067 SHA256 b6413aa339fd91a86288df7cf4f9db9bf3443b1ff55e8118530fdb9e8c788e64 SHA512 2ebc2608ca991d99e729d2ff22fc8b61811e709a855f051a0e1b611d21a1eddc3d6e46b7a8886d4bc476d0c0218ed768a4a42d820b6fa138e4f3d3538857cc59 WHIRLPOOL 1846d6a0e9c9d8d7db13d84f947a901569385d9664c3d51465c99d6539f9a15e45ae3886937d98d9b6fa5775003e87ec10d1b348f47f754d3535cd5a336a42d3 DIST mercurial-2.6.2.tar.gz 3740489 SHA256 55b4a0e20e21ebd7a4341c828d2ec4ba72ba77d61b424e937a7f77c385220e3d SHA512 88aa79cb523b77beef0d637159abe096abd590f3193c65294eb8850cbfd355bf21784bb0e39338ce239d161d91be08ac7efb2cb3560f7b3cc83ade6e64a9c1b1 WHIRLPOOL 2a58ff31546cd32ebca207ad54656aa7d6b49a3caaeacd54abe5c774ad3b3fc31810c2ab4b8dd30bd3e5cc3e8613984cc209f7a6564cc4ef66a01002b2ddc119 +DIST mercurial-2.6.3.tar.gz 3736480 SHA256 12308a4210f1ee1185d03f18757742fa8a2759076c2e713f35432f89bf56911c SHA512 f739fb1455be998f0049b5266d8d5b1d8c3700526e853abc18bb215c8afc2b4d77e0c26d113cadab0c20483b9ecd98c9acce23e74e7a76492494b3b33389052c WHIRLPOOL fe12b34d16e5ee24f7da7b0c91a39f042ef4d97cc487f3998df1f52cc6586affa2cce012ab6bbc715dadcffc76d82fc80c2ad9258003d8dee5a5a0987a8b335c EBUILD mercurial-2.4.2.ebuild 4205 SHA256 e83115c31a5188e8eaac882ddce4e5a319bfd6bd8b2546f2734b3e9a35f1b014 SHA512 b64c82462d8c2ff4f24088b82e08ec3154b6aac08b44774a5e30d7f64e8346a9e18d624c3abe6e57d8a1e64bf60c9bc47c456186d22a316d0c10f7bb1ce847cc WHIRLPOOL 70d109a32ddc21d494c361ad66c8a2e2b60ea1346fedca67820a9ce32285fc3a24b9e5530501489df15cf1a494b43e54c29b8be3ee5f2c4b11f3cddd3fe80fd8 EBUILD mercurial-2.5.4.ebuild 4434 SHA256 802a0947aaa8f6e007544d287adf4799cde8cbb649675a44c0626804b3e8f6e3 SHA512 59dbd1704c47309c035b92180681a15ebf1fee604b355303694e8a08d8c3bd2b62cfa3d6a14aaa4e24a58584bc26ce0fad68fd7d881cd29b40490a9a4c51d67c WHIRLPOOL e318ff12ef41f8f04ba2eb95e9b40c28d156cffcb7237ea2db56c7c4eae82d698bb3cdf3e0ef8fe6aa44834e4347a1964c73ac268dc4aa683950843a8871ec54 -EBUILD mercurial-2.6.1.ebuild 4428 SHA256 0e06370bb0f9311fa2643c5697a787262f1f43fa5037b55172583a7301c03c9b SHA512 8678e7afd22b44ed12f8cd0013c2c8bb8cff2598eb38a8ff6152b4535fea329d0b123df474c629427095467a52906e43d681ded0fa6fac701df2be9ee2e9e068 WHIRLPOOL 0b5d4eb0f8ed30330eea23756d7afaea145fcd4c17774c2d9fe5018fff816cf44558c4deb03041090281a4b2bc05824796a05f30d72f88f8f44c0deabb4b04a0 EBUILD mercurial-2.6.2.ebuild 4437 SHA256 8ebf4c7beca5db0e92be8d598584d091971ce85951884c7724141f4b5d082a5f SHA512 b2617f92e1e02cf23d834e72d51a3b842939b5318270fc558a2d10027a2d10cba6241bdece5f94c8de854c520c09b51fa1872bc843eb6f1b097de44ca43fe75a WHIRLPOOL 355965786d028ca71eb26af58699b4c9367aad3115121cbeb033f25706ba250657ded3b907d4cb6cd86e86e5c23f9f9afc94da85527a8acdb23a0e3a92fab403 +EBUILD mercurial-2.6.3.ebuild 4437 SHA256 749bf0250d09eff0deee0e7c179895a08cb9d130905d6974d0af03cd82207fe4 SHA512 c79d2e340328580de8cc8e8d94feb8797759def8a0acf5b42d246d6930d9a3d5c8e24aca64a63846edf0e868185cd35d6df1b9b19f3f5bdf6baf8fd091e5d237 WHIRLPOOL e92cff022df6a87aede368052127d0c1a71f9805c651d883e95d59582245910f561fa88c47c0036e11eff5738b03919d4b26d89141001b6226b07ff773578764 EBUILD mercurial-9999.ebuild 4260 SHA256 5b239abb781847009e4b6b6116ef33dec80c038426621f278dd36e2ebaa83cca SHA512 021945d82dbb6ff4121be9a12fce2c610b241f90a74058b21bec0dc248646081acfc4ed44b29866fb7d1fb19aa9a30ec6a6efb4198965f901cef010f1daf1b6e WHIRLPOOL ffce0e96c7976f12c34dd66443dcee25705d70ebbcda10869c0dd3d95467c81b0b248bcf38af3006717dc2054e6980870081574564abe32605734e027df9c129 -MISC ChangeLog 35151 SHA256 25bb55ddc5ec19bcf22eac92bef893e66c8eaab478f6a7a31b8fc85a59b4b3fd SHA512 3b0027f3ae77a89bf7d61fcf714ea4612f0a8faf1e08511f7638f4ddb3a0f82772a9ed04ce2bf96dc0b084a38f5c979c42a790e3777f64a8f7d4ac5324606e2c WHIRLPOOL 6b535ba67f1781fb354d5322641db759b10ceae39eb4a3d20930cd14f86488b356ad8a35845bf3fa957ec7095747de4d6ae1f1169095f051e6b83340de5551f2 +MISC ChangeLog 35319 SHA256 aa2d8238374ee60d4fee2facb547b1e60babdbbbd62538e6a3c96b5b443654d4 SHA512 7235017e1a2ac4acb7e46ef173df644952cf2ab39eba27460ef86ed9cdbdebf600f93a50f24c5820c8d7ff50115666140e2fdf7b7c469b06f99705095b1c915f WHIRLPOOL 69321d7039fe7e1067a59fbe16d1e8af3d933bd9e0ef6c7fbffb3c3fa7981eea43b4706896197ed24b1ad4747d92d72d471759791b4c3690a3460fa3c261642d MISC metadata.xml 704 SHA256 76c0566b9a503099f6cf40750ffe09726dcf338e24378e780fb932cbebe1f0c1 SHA512 21a386ecca4b3d337c69019e750752df3f06137de8b8b27199b6218d4a5253bade522c5a9183340dfea61333bd783c14d60ff3f3e46cb58121c7100449722bfd WHIRLPOOL 7f64d01b4d31ae756e63e16be8add1bcba9a073961663ae481be883a5fcc6e3473d5da5f26d524502ade4eba0b2f3692934ed63f1e41bfa8d8b6a0a1532e11b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCAAGBQJRseP+AAoJEPiazRVxLXTFlioP/RDUoaRKJL2tPLerukHOZynP -Pj9ZrQ1kt599eJq8Nk7CL4Ifwlk+LvyiFXSvoLPz/hQN1OtZg92C3CfkxfOvrI4Y -C/ZK+2vnZemRo9UJrLeeiQPln3S6lOg90C2UScQzPXxTxs50qor6GMzyz3S7UprL -GkTiSQOjD0MuvAY7s248aHGnKOTtWWRI9STgQsVRcoCnaLdw3HDDzeWLOvWnlM94 -QPLJfixRhyMpC9O9hSERnhERNa5ZyCyVOIVweEkm/QJfEnrwwSpeL9o1055HlMV2 -+JCaRuYJoJt9eQpj8NK7UpYiKOcv5gd2cb4xEZo6AKLgKHd/DvpuvhPgeJsTSyn/ -QbKLJZI9KNvoFHG7NYw4VrIX2OQwVceUApCator4wmZDRC2McenIW1cb+Sleg7xg -udTYYLKATdf+qy42ijWyIGQYe2IQ7WAQF9V706pKc1ryuDRSuVVxJS66eUPORYMj -mjviH16mpnsiCXs9jsj3PxF61ctq2cjCKcujOtVGjAdiZziBii0+ZRgnt0c1Kd0/ -rMRn5ulvsDdS3p3f4ng9jCu9v88/EsnCMwywAn+pq5S4rNcpNg7j4oLKe5SZZFPI -akoOQy15PPTkKkzBzCA5kadKT7xX9lrKtwXllYwozVq2Hs63Mu3zJqB7CKljrOIW -Ewv57zxCOIybnHjrpP3F -=HP6/ +iQIcBAEBCAAGBQJR0nq5AAoJEPiazRVxLXTFXDQP/RIEBhOXtxK2X8k13h7dc1C4 +3mvY9S8NPzJ6NhjVaVBAKkbFQ0WK7wL6J2hCcZu812r0ZxZAh14ExbNnsZkbJieu +5lF8M2nRhucZgreuHUnq8CPo9BO9fvKMDVwtnS8o2QbSHTDkp4aroQKgF2MG+Jgn +DsYgrCBFPjD8q8zU0ucIawzUx5ZYw+oBQqx5H2fuzQOsjfWCQnzbw3cKih5ZMi9Q +uYpkp/v4sBRB2W/HV+ZCBn4+7EOx/mqjJg80HHPtfZF3lfb0z4c83SXEs7yYViKJ +svuL6Vg82N8YkCUcGLU0CIuOtdx00msfLcvvJXAc0TNhHpCTxm9litZ+2ZWwtV/Q +6v+6k6c3m6DvNTCHriSsebzuCvi9q53gO3KPMqEGvPUL3jE+mLDtoqAVIcvuaqQb +apnLwByh747cTnzxwlmww2IfevjNh/y0jnWiJW2W1H/H1u9WqS/LcUF1BepExuGL +G5RHfcpa5pUq2cvQ6rlCi6wUHxHkhIM9EKJOZDKk3h/bYgAPGkOG5sCTI7XVQp0n +Yz+5SblPfTj0a00HYjcXtF5PQ8NqnsKzWdKOwSrRVsQ1bA/xTON0MEKrzhoHUCai +DTKqdNK9jraBIwg1X9cdWBhxeOw8tYzwfqGgXZ9nlg3BCG3qFDRPQzGqGMu5cTDd +HzSVgSxs84p4HMmIlh+I +=PdCF -----END PGP SIGNATURE----- diff --git a/dev-vcs/mercurial/mercurial-2.6.1.ebuild b/dev-vcs/mercurial/mercurial-2.6.1.ebuild deleted file mode 100644 index 571f6c342d1e..000000000000 --- a/dev-vcs/mercurial/mercurial-2.6.1.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-2.6.1.ebuild,v 1.1 2013/05/15 09:03:00 djc Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python{2_5,2_6,2_7} ) -PYTHON_REQ_USE="threads" - -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic - -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 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~arm-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[${PYTHON_USEDEP}] ) - gpg? ( app-crypt/gnupg ) - tk? ( dev-lang/tk ) - zsh-completion? ( app-shells/zsh ) - app-misc/ca-certificates" -DEPEND="emacs? ( virtual/emacs ) - test? ( app-arch/unzip - dev-python/pygments[${PYTHON_USEDEP}] )" - -SITEFILE="70${PN}-gentoo.el" - -python_prepare_all() { - # 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 - - distutils-r1_python_prepare_all -} - -python_configure_all() { - strip-flags -ftracer -ftree-vectorize - # Note: make it impl-conditional if py3 is supported - append-flags -fno-strict-aliasing - - "${PYTHON}" setup.py build_mo || die -} - -python_compile_all() { - rm -r contrib/{win32,macosx} || die - if use emacs; then - cd contrib || die - elisp-compile mercurial.el || die "elisp-compile failed!" - fi -} - -python_install_all() { - distutils-r1_python_install_all - - newbashcomp 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 || die - dodoc CONTRIBUTORS doc/*.txt - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die - - dobin hgeditor - dobin contrib/hgk - python_foreach_impl python_doscript contrib/hg-ssh - - if use emacs; then - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi - - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9 - *.el mercurial.spec) - for f in ${RM_CONTRIB[@]}; do - rm -rf contrib/$f || die - done - - dodoc -r contrib - docompress -x /usr/share/doc/${PF}/contrib - doman doc/*.? - - cat > "${T}/80mercurial" <<-EOF -HG="${EPREFIX}/usr/bin/hg" -EOF - doenvd "${T}/80mercurial" - - insinto /etc/mercurial/hgrc.d - doins "${FILESDIR}/cacerts.rc" -} - -src_test() { - cd 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 - rm -f test-largefiles* || die # tends to time out - 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 - - cd .. || die - distutils-r1_src_test -} - -python_test() { - local TEST_DIR - - rm -rf "${TMPDIR}"/test - distutils_install_for_testing - cd tests || die - "${PYTHON}" run-tests.py --verbose \ - --tmpdir="${TMPDIR}"/test \ - --with-hg="${TEST_DIR}"/scripts/hg \ - || die "Tests fail with ${EPYTHON}" -} - -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() { - use emacs && elisp-site-regen -} diff --git a/dev-vcs/mercurial/mercurial-2.6.3.ebuild b/dev-vcs/mercurial/mercurial-2.6.3.ebuild new file mode 100644 index 000000000000..4342dc69c003 --- /dev/null +++ b/dev-vcs/mercurial/mercurial-2.6.3.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-2.6.3.ebuild,v 1.1 2013/07/02 07:01:12 polynomial-c Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) +PYTHON_REQ_USE="threads" + +inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic + +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 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~arm-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[${PYTHON_USEDEP}] ) + gpg? ( app-crypt/gnupg ) + tk? ( dev-lang/tk ) + zsh-completion? ( app-shells/zsh ) + app-misc/ca-certificates" +DEPEND="emacs? ( virtual/emacs ) + test? ( app-arch/unzip + dev-python/pygments[${PYTHON_USEDEP}] )" + +SITEFILE="70${PN}-gentoo.el" + +python_prepare_all() { + # 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 + + distutils-r1_python_prepare_all +} + +python_configure_all() { + strip-flags -ftracer -ftree-vectorize + # Note: make it impl-conditional if py3 is supported + append-flags -fno-strict-aliasing + + "${PYTHON}" setup.py build_mo || die +} + +python_compile_all() { + rm -r contrib/{win32,macosx} || die + if use emacs; then + cd contrib || die + elisp-compile mercurial.el || die "elisp-compile failed!" + fi +} + +python_install_all() { + distutils-r1_python_install_all + + newbashcomp 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 || die + dodoc CONTRIBUTORS doc/*.txt + cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die + + dobin hgeditor + dobin contrib/hgk + python_foreach_impl python_doscript contrib/hg-ssh + + if use emacs; then + elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi + + local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9 + *.el mercurial.spec) + for f in ${RM_CONTRIB[@]}; do + rm -rf contrib/$f || die + done + + dodoc -r contrib + docompress -x /usr/share/doc/${PF}/contrib + doman doc/*.? + + cat > "${T}/80mercurial" <<-EOF +HG="${EPREFIX}/usr/bin/hg" +EOF + doenvd "${T}/80mercurial" + + insinto /etc/mercurial/hgrc.d + doins "${FILESDIR}/cacerts.rc" +} + +src_test() { + cd 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 + rm -f test-largefiles* || die # tends to time out + 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 + + cd .. || die + distutils-r1_src_test +} + +python_test() { + local TEST_DIR + + rm -rf "${TMPDIR}"/test + distutils_install_for_testing + cd tests || die + "${PYTHON}" run-tests.py --verbose \ + --tmpdir="${TMPDIR}"/test \ + --with-hg="${TEST_DIR}"/scripts/hg \ + || die "Tests fail with ${EPYTHON}" +} + +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() { + use emacs && elisp-site-regen +} -- cgit v1.2.3-65-gdbad