diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-09-06 14:43:48 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-09-06 14:43:48 +0000 |
commit | 52d37d05373506235719d8f772e378c88e0421e5 (patch) | |
tree | d2bfa42f5d80223718bd19299045532c81573499 /dev-vcs | |
parent | Stable for HPPA (bug #480116). (diff) | |
download | historical-52d37d05373506235719d8f772e378c88e0421e5.tar.gz historical-52d37d05373506235719d8f772e378c88e0421e5.tar.bz2 historical-52d37d05373506235719d8f772e378c88e0421e5.zip |
Version bump
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/mercurial/ChangeLog | 7 | ||||
-rw-r--r-- | dev-vcs/mercurial/Manifest | 32 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-2.7.1.ebuild | 152 |
3 files changed, 174 insertions, 17 deletions
diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index bb0d17758bff..52ffc68e7819 100644 --- a/dev-vcs/mercurial/ChangeLog +++ b/dev-vcs/mercurial/ChangeLog @@ -1,6 +1,11 @@ # 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.127 2013/09/05 18:42:25 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.128 2013/09/06 14:43:44 polynomial-c Exp $ + +*mercurial-2.7.1 (06 Sep 2013) + + 06 Sep 2013; Lars Wendler <polynomial-c@gentoo.org> +mercurial-2.7.1.ebuild: + Version bump. 05 Sep 2013; Michał Górny <mgorny@gentoo.org> mercurial-2.5.4.ebuild, mercurial-2.6.3.ebuild, mercurial-2.7.ebuild, mercurial-9999.ebuild: diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index a3981758e60b..ba1cf21b4600 100644 --- a/dev-vcs/mercurial/Manifest +++ b/dev-vcs/mercurial/Manifest @@ -6,30 +6,30 @@ AUX cacerts.rc 51 SHA256 3d7c7e238ab4db22d2457e039bb1afcb02c6ac3a6c9aee8448614b0 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.3.tar.gz 3736480 SHA256 12308a4210f1ee1185d03f18757742fa8a2759076c2e713f35432f89bf56911c SHA512 f739fb1455be998f0049b5266d8d5b1d8c3700526e853abc18bb215c8afc2b4d77e0c26d113cadab0c20483b9ecd98c9acce23e74e7a76492494b3b33389052c WHIRLPOOL fe12b34d16e5ee24f7da7b0c91a39f042ef4d97cc487f3998df1f52cc6586affa2cce012ab6bbc715dadcffc76d82fc80c2ad9258003d8dee5a5a0987a8b335c +DIST mercurial-2.7.1.tar.gz 3756146 SHA256 8472bf1302db15bdf2c4393a5e9180cdbf29b3f8ed5b06c06bf5c6ba8f433588 SHA512 f8ff09b852ebe36c86af30ccd43118006c44958441f8590e557634a19a7c01c9b077ca335ebc92fa86b33bc77388db1c12ce60eaaf31c695b46e4283fc00794f WHIRLPOOL 43c90a0831049cccc9a2227e7deaba41af153bf09291403b7ba37768052b3b37e592903b3474e2c9cc0454ee14d5a90a30aa46ca70b64aa3e41f5be5d493972d DIST mercurial-2.7.tar.gz 3755724 SHA256 f56267e254efa755202c8ed447bb6b92a1bc275d8a7c6ca3d70b471b0677bcfa SHA512 e425778edb0f71c34e719e04561ee3de37feaa1be4d60b94c780aebdbe6d41f8f4ab15103a8bbe8894ebeb228c42f0e2cd41b8db840f8384e1cd7cd2d5b67b97 WHIRLPOOL 020f2c1ca68b470a73451f55dd214abe0cf0f788f145b8e28163b8cd19f217b7dfb31dda65842f2f453d45ebcca3d60e7ac48317efb6a4d2b1b3787ba4820f8a EBUILD mercurial-2.4.2.ebuild 4211 SHA256 e9d9b07b93b06ae53566f32f603660718ee65ccc65a28396bf7c7b59346032e0 SHA512 9f38469f2f2ed21c35c4d69b1efc3430cee27b924de36e8ada008939fd888af446f1bb08ced85306debd17acf947913a60ed1daca8c4391b9e2df574c1c3694d WHIRLPOOL b7d23ebb35d194389c6764e4eebc5861ba6561254357c035bdec5e6ef0cf1d7597d026f2989bed654d8c6842bf2a9648eb077e3b33e18d19ea0127b935f90c91 EBUILD mercurial-2.5.4.ebuild 4424 SHA256 61130d9b31af66308e61be64a33f918e1209443eb23db699a32f54257f9013ef SHA512 7ed8fafa52de32bec6250c6d7789f9f5a7c59fc8de4a6e2c9c5a482874655658d4287f0e7c71edf3fa753dc698f76bf3f7285b76eaaa067929e2370ea0525ab4 WHIRLPOOL fe208ad144a2bf792af7820bdd149b5b5123e1246230b5d0399c79ec2643e86036267afce4caf8ad1c6bac462f231b8f7582d26669306d6b8ccc8384dac0365a EBUILD mercurial-2.6.3.ebuild 4424 SHA256 15605868eebcbfd991af34201e39f12152cb3b2f62b68f9dddfc832f7c5803b0 SHA512 4b34f0f9f8f50be79c8cb92080a85e8e8a6abc5c74f626777e44e4721e0dd74eb9b8e8e6f1eeaba84cfd8405dff28799e135848c4e71746b9cac28dc9fa1a4df WHIRLPOOL 2b7c92de98fb85b497c5bbdffb2ba8baf1870a5ea04c1e4b3c76ec97eb9fbce0c8831a3bbc56ffe5e19cd2237667c092126878846ce4e75693a8d76f41b8b46f +EBUILD mercurial-2.7.1.ebuild 4413 SHA256 42e2a5b279e90cd5a51cfe92787ff9ef35c150b990d0b7bcdd1b693b83970ccd SHA512 1bc810e5bd5b25b49d0b2cd1df843555eb94ec457209189eb9ef06c00091f6952b4878e6bf2d5175b6b283e1a0bd811844654136246af86eaff94948316a9a08 WHIRLPOOL 37b25d33d681d64c8839fe9ccaa028ee3059aacb55114d9bc21b30e855e7e409181b4e0550682f3ceedf10d7d2daeff46a3a21a0fc3d1cbb5ffa587511bdd8d9 EBUILD mercurial-2.7.ebuild 4405 SHA256 fc53a5e9c5f296c4c5b374ab21d4206293b5214befdc81f2997b676f36a14377 SHA512 e52dcb7a39d075873819e1f7f131df154a0293c5f31397afe68a024e87c730b6b76fd20ee5155cc832768fd00c00cfdb31efdbf8a6197f99fdfc360e100b5eb4 WHIRLPOOL ee9c863d3faa8ff46f19cc3d035f395efc0b8b65e8f7070ac6ac152dc2f4a420a983505f8b23790608d623117628dbf00ff8bcc74a4cb446aa7061ab7e59ab6d EBUILD mercurial-9999.ebuild 4250 SHA256 b35d261d682f3c0e399ed54809dc074fcdf3056a653b318023e8f2bcbacd4e67 SHA512 2a783f6345b2338e9073a0a562e48a97e517ce3865fc7c84768e6aa3b0ee9c1d97f3dbca42c29538b2c9d49206b16f680ca43ecdc1accbea32895be31e55c7ff WHIRLPOOL 7e9bdf8eed29d66fedc32ad929038e0334de6c5f608b8116854a5893e1b7f8ff41334caca61c23b8eef95e871376459a72d3bf0d5f4b62839674d47d13cc7900 -MISC ChangeLog 35953 SHA256 e79432ef9838c13a23e3e0fc6eb3c5798de247e392ead6278afb6a80a166d613 SHA512 8bf899d570db3aeeaf6f010c29fe7ff91ed99dcb205ca6f5afafa95962c45379d8597ba85ad8a43d35096e1bb1d07834d6aa8d296332d08f6e396d28ad909814 WHIRLPOOL 5e0b836a2b554fe00b9a0dda29e2ff437e400c000106bc71cd5598a76931609475b61a885a820144c820a61ea47ed8ab930d6f5a60e53b229296618f05a79919 +MISC ChangeLog 36087 SHA256 da07e66feb8bbd0c023c0aa6e51fd70ad99d677b5dcf839218ce2ff77075ca6b SHA512 37bb9d5c3ecf952714929b4eee4a5ddb65dba1c1a0182c0d95bf9e499c27dac4851f5bc707e149e75621e8a7aa921dd212becd57240b59464865404dc82b92c3 WHIRLPOOL c9f09de666463ba0dc5585b513a1d718cdb4edc9282bc111b3d99e4e348aec119b19217ee016909cf64ffbf9032b7d43f4b8e2088df4ea65acab8085c0e18867 MISC metadata.xml 704 SHA256 76c0566b9a503099f6cf40750ffe09726dcf338e24378e780fb932cbebe1f0c1 SHA512 21a386ecca4b3d337c69019e750752df3f06137de8b8b27199b6218d4a5253bade522c5a9183340dfea61333bd783c14d60ff3f3e46cb58121c7100449722bfd WHIRLPOOL 7f64d01b4d31ae756e63e16be8add1bcba9a073961663ae481be883a5fcc6e3473d5da5f26d524502ade4eba0b2f3692934ed63f1e41bfa8d8b6a0a1532e11b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) -iQJ8BAEBCABmBQJSKNC1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO2jYQAJOGxBu/sejvEKsxs7SI5PRi -3TC56+PZIJxKRmJPWwpv9hKyD3MAJYr71B7FwQMYewm6uQp+6+Iv2uNBCmh2m8+v -5Xe/Qjh0z1fMY+eXYYG8upi82Cq/+UU61R982gNjvgUF4g+IbHEVHxXlMHEV1iUP -Cq06hRJ3derNcAjKvn1gt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TqdiToEZWa99SOY+F8u+sQVbMavHE/4QPxgqutg +mutMDH2+q/EIsAx770My8fCa5UlXdOqNIY8Yrrr+/bUPARNW+esIYrcuCCAAjdBx +J7f/0JuvulhWH2zpJN+2/DH5veAJT7lYasgrp+ULzGwhR/v4XYCh2+S5mHqXQJvY +UJPGuWQIUb+PAyg3gEih +=AS4O -----END PGP SIGNATURE----- diff --git a/dev-vcs/mercurial/mercurial-2.7.1.ebuild b/dev-vcs/mercurial/mercurial-2.7.1.ebuild new file mode 100644 index 000000000000..8191be086ad5 --- /dev/null +++ b/dev-vcs/mercurial/mercurial-2.7.1.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.7.1.ebuild,v 1.1 2013/09/06 14:43:44 polynomial-c Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{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 hg + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + newins contrib/zsh_completion _hg + fi + + rm -f doc/*.?.txt + dodoc CONTRIBUTORS + 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 +} |