From 6e979944821fea3f5706580af5da5aafaf282f96 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 3 Dec 2013 11:37:46 +0000 Subject: Version bump Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- dev-vcs/mercurial/ChangeLog | 7 +- dev-vcs/mercurial/Manifest | 30 +++--- dev-vcs/mercurial/mercurial-2.8.1.ebuild | 152 +++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+), 15 deletions(-) create mode 100644 dev-vcs/mercurial/mercurial-2.8.1.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index 1aa58653e101..6136327d367a 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.130 2013/11/04 16:13:26 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.131 2013/12/03 11:37:45 polynomial-c Exp $ + +*mercurial-2.8.1 (03 Dec 2013) + + 03 Dec 2013; Lars Wendler +mercurial-2.8.1.ebuild: + Version bump. *mercurial-2.8 (04 Nov 2013) diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index 378d06d6b47a..aba2bcd7be32 100644 --- a/dev-vcs/mercurial/Manifest +++ b/dev-vcs/mercurial/Manifest @@ -7,29 +7,31 @@ DIST mercurial-2.4.2.tar.gz 3613392 SHA256 cc21083d7eab4caa8159b941e36c7229acbb6 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.2.tar.gz 3787955 SHA256 b3f067eaa9fdf6818cc78526d4815ab4332252ffa07a2488c8b6939ac6b37c0b SHA512 d27dfff0b4c9feb5049098117d20fb2be211418969177a76ece772b4fdcaf780bf3c03cc388b70eef1622f32cc32c3a642a9239d35a30129c123705132228f6c WHIRLPOOL 17b90cd30e3d8ee99ce441afbf14239e595bb56410856e1439be0cc32b729d99804eb485dbf4137af71b5799ac5d0a909d4879fd5dfb30e4b0749e78d3e92176 +DIST mercurial-2.8.1.tar.gz 3838833 SHA256 d239a204cc76b6456b4121eaf35e584f33c510855865da0376dd1f708dd33366 SHA512 fda2927026a0f0df96b73cbec50add8424eecae0b1dcb43bcb1b0281005474f6e01a8832a4079be80deafef2b1b1c03fa3e9a44411435bf3db9013ab261fea84 WHIRLPOOL 0bc3f564fc1c27df96c1ed44a6770df367d3e51e035c63f0de28986cf348dc19f3a1d734f93ac615a22c44fa762b77adb6dc967b6506b25093a99bdd97ce7236 DIST mercurial-2.8.tar.gz 3833669 SHA256 ff741754f6160e24278ba74afbde2afd4d5cb5ab532b69734629cce68bbe16ef SHA512 b08dcd746728d89f1f96036f39df1608fad0ff863ae48fe12424b1645936ebbf59b9068b93fe3c7cfd2036db046df3dc814119f89a827bd5f008d32f323d45a8 WHIRLPOOL ada2fd3786c7a5cdf91436d16de841458c08854c7d64ca4636ba3dc2d013c259e287cac9ce52e895464a6690752c4c592fb140b3acf33cc274497eb8c406ac81 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.2.ebuild 4413 SHA256 9fec688244fa8119f40a5db65e5e666a9f5bf7d3bf0de961342a7af50e42d4fc SHA512 91973abba6422f9ebb8bcda8dd65b464b719db37da0b4fc85347c68c139858e7114cf486da15d9f09a87216e3ef0c3103a5a0db7c46b61e73021649e2d86dc1b WHIRLPOOL 5688e6ce13480d2e7c731dd55b1f61b3f665edc69b5a728e8b793823f99be72b6edf8ce6cb2f17f01a4c34c0f628c45976f3c075beda0257149d661053b7c4e3 +EBUILD mercurial-2.8.1.ebuild 4409 SHA256 d77b0ef473f3db434f1696ff29646697177543266c9bca08679d3e74d8b814d0 SHA512 48d826b10e911bc27f2daf273de6a045185f6819154ca356e2f0a76eb33d67935ce8e07fcc8f118836d01fa69369da212db2b6104e3e4208b6d1ca62857039bc WHIRLPOOL 7663a04f32b942bb0cf08ca518956b24f9297d13adcbe34dd6b1bc4172c770d99bf62d14fc8cacab9a60d70a9c928249537b6161e87091b504e7a8863119c6ee EBUILD mercurial-2.8.ebuild 4407 SHA256 90208b24a83e4744ed793b475561df0d34dc4631d9460c5f37c038db63ef1bf9 SHA512 9e27302b9b7e2df976375487fbd4b555f6f366ba9851b839c949ec078df734a826804076fcf1d8bc9b523af71ca3c38cb39b9176fb66b7b0e2afddbaa5942d89 WHIRLPOOL b27f0e840b77aedd78d6d818a3df0107105fe3b5cd387ba6e273cd976c2ee6f6407ed6e4aaed2fc53d241e34c0eac479bd0870699b1c896edd46050bb6454878 EBUILD mercurial-9999.ebuild 4250 SHA256 b35d261d682f3c0e399ed54809dc074fcdf3056a653b318023e8f2bcbacd4e67 SHA512 2a783f6345b2338e9073a0a562e48a97e517ce3865fc7c84768e6aa3b0ee9c1d97f3dbca42c29538b2c9d49206b16f680ca43ecdc1accbea32895be31e55c7ff WHIRLPOOL 7e9bdf8eed29d66fedc32ad929038e0334de6c5f608b8116854a5893e1b7f8ff41334caca61c23b8eef95e871376459a72d3bf0d5f4b62839674d47d13cc7900 -MISC ChangeLog 36417 SHA256 a287ab49a9a4a41beed4225e495790a7807e2aa60a05ddb03cb36aad21de34a7 SHA512 a1cc50a8584d2aca4794bf9afc698d10a8f5a9860fa6e77071e127c825fa93798e50699a1a0eedf9c4f8d342755e4fb1e1cd4a9c6e3268809d9010e56cedf025 WHIRLPOOL 17dcdb0d0c5eb9dcc1e777f025781b649c37302234c2fd4201a97cc6888c0432f96ef88f94cfee45ff36c70aa2a713d36bf0f63539ea6111027ce0d150c739c3 +MISC ChangeLog 36545 SHA256 17aa89acf255fde6e6708c773347ad0cf5d890f0262e880abf017669eb1044ef SHA512 bd83b02f241e5bb8f5d8ef1178e96ec0efa62d9d4eba9053c08b916cabc28729890d8328bbccca6f657e8a67effe9172bb743e7fbbc56ed744d668209ae97dd0 WHIRLPOOL 2e725bca4021d49fb2219f8fccb95c52b959b83ce3c222f3253e79ba7809f11d3cb66583c857d6d2741a2ede20a87f496cc1b14545cc91e6f029c4b714af85a2 MISC metadata.xml 704 SHA256 76c0566b9a503099f6cf40750ffe09726dcf338e24378e780fb932cbebe1f0c1 SHA512 21a386ecca4b3d337c69019e750752df3f06137de8b8b27199b6218d4a5253bade522c5a9183340dfea61333bd783c14d60ff3f3e46cb58121c7100449722bfd WHIRLPOOL 7f64d01b4d31ae756e63e16be8add1bcba9a073961663ae481be883a5fcc6e3473d5da5f26d524502ade4eba0b2f3692934ed63f1e41bfa8d8b6a0a1532e11b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSd8enAAoJEPiazRVxLXTF1V4P/AzWoVE4oxoKmUG8UL05rvKr -+rAisi/AXp0vZ7BsmiQPxd5XyPigeGaSqy4l+s6H4cGeSCGVrcvy3JE6Z9nQt2+9 -57y0Fe+uRTRVH+dC4N3daA7HELKxVIYQpULJvPhLPRkRDMaJjai8KxScxbEWbHgf -oEpYZEqHP9V3dhtqFdEGsnS3PJF3Su8M/Z/SfetQik4BVlw0L7Edx2onAqqibgcV -yFC4qkj0p+2UlSXVMVnxDWM3BzBWC3X0HLDbqYCuJzNaPodSBi2t/lwLIhAqXjez -LCnz/p2Q+ZrzsoiW9zo22ZWE3U/CRzH2MtveM1k6rWymurBQs4AQD19S6UfHCzFp -S4j5SlynbGo8FDiW5TtlcS8RaLDmBDwBlh8buV9n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GP SIGNATURE----- diff --git a/dev-vcs/mercurial/mercurial-2.8.1.ebuild b/dev-vcs/mercurial/mercurial-2.8.1.ebuild new file mode 100644 index 000000000000..73f75fbe12ac --- /dev/null +++ b/dev-vcs/mercurial/mercurial-2.8.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.8.1.ebuild,v 1.1 2013/12/03 11:37:45 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 +} -- cgit v1.2.3-65-gdbad