From 4d35879a542abafca3ff77400f974bfb0827adfb Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 2 Oct 2013 07:16:51 +0000 Subject: Version bump. Removed old Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- dev-vcs/mercurial/ChangeLog | 8 +- dev-vcs/mercurial/Manifest | 32 +++---- dev-vcs/mercurial/mercurial-2.7.2.ebuild | 152 +++++++++++++++++++++++++++++++ dev-vcs/mercurial/mercurial-2.7.ebuild | 152 ------------------------------- 4 files changed, 175 insertions(+), 169 deletions(-) create mode 100644 dev-vcs/mercurial/mercurial-2.7.2.ebuild delete mode 100644 dev-vcs/mercurial/mercurial-2.7.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/mercurial/ChangeLog b/dev-vcs/mercurial/ChangeLog index 52ffc68e7819..5762bad46208 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.128 2013/09/06 14:43:44 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.129 2013/10/02 07:16:48 polynomial-c Exp $ + +*mercurial-2.7.2 (02 Oct 2013) + + 02 Oct 2013; Lars Wendler -mercurial-2.7.ebuild, + +mercurial-2.7.2.ebuild: + Version bump. Removed old. *mercurial-2.7.1 (06 Sep 2013) diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest index ba1cf21b4600..365c941ec056 100644 --- a/dev-vcs/mercurial/Manifest +++ b/dev-vcs/mercurial/Manifest @@ -7,29 +7,29 @@ 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.1.tar.gz 3756146 SHA256 8472bf1302db15bdf2c4393a5e9180cdbf29b3f8ed5b06c06bf5c6ba8f433588 SHA512 f8ff09b852ebe36c86af30ccd43118006c44958441f8590e557634a19a7c01c9b077ca335ebc92fa86b33bc77388db1c12ce60eaaf31c695b46e4283fc00794f WHIRLPOOL 43c90a0831049cccc9a2227e7deaba41af153bf09291403b7ba37768052b3b37e592903b3474e2c9cc0454ee14d5a90a30aa46ca70b64aa3e41f5be5d493972d -DIST mercurial-2.7.tar.gz 3755724 SHA256 f56267e254efa755202c8ed447bb6b92a1bc275d8a7c6ca3d70b471b0677bcfa SHA512 e425778edb0f71c34e719e04561ee3de37feaa1be4d60b94c780aebdbe6d41f8f4ab15103a8bbe8894ebeb228c42f0e2cd41b8db840f8384e1cd7cd2d5b67b97 WHIRLPOOL 020f2c1ca68b470a73451f55dd214abe0cf0f788f145b8e28163b8cd19f217b7dfb31dda65842f2f453d45ebcca3d60e7ac48317efb6a4d2b1b3787ba4820f8a +DIST mercurial-2.7.2.tar.gz 3787955 SHA256 b3f067eaa9fdf6818cc78526d4815ab4332252ffa07a2488c8b6939ac6b37c0b SHA512 d27dfff0b4c9feb5049098117d20fb2be211418969177a76ece772b4fdcaf780bf3c03cc388b70eef1622f32cc32c3a642a9239d35a30129c123705132228f6c WHIRLPOOL 17b90cd30e3d8ee99ce441afbf14239e595bb56410856e1439be0cc32b729d99804eb485dbf4137af71b5799ac5d0a909d4879fd5dfb30e4b0749e78d3e92176 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-2.7.2.ebuild 4413 SHA256 9fec688244fa8119f40a5db65e5e666a9f5bf7d3bf0de961342a7af50e42d4fc SHA512 91973abba6422f9ebb8bcda8dd65b464b719db37da0b4fc85347c68c139858e7114cf486da15d9f09a87216e3ef0c3103a5a0db7c46b61e73021649e2d86dc1b WHIRLPOOL 5688e6ce13480d2e7c731dd55b1f61b3f665edc69b5a728e8b793823f99be72b6edf8ce6cb2f17f01a4c34c0f628c45976f3c075beda0257149d661053b7c4e3 EBUILD mercurial-9999.ebuild 4250 SHA256 b35d261d682f3c0e399ed54809dc074fcdf3056a653b318023e8f2bcbacd4e67 SHA512 2a783f6345b2338e9073a0a562e48a97e517ce3865fc7c84768e6aa3b0ee9c1d97f3dbca42c29538b2c9d49206b16f680ca43ecdc1accbea32895be31e55c7ff WHIRLPOOL 7e9bdf8eed29d66fedc32ad929038e0334de6c5f608b8116854a5893e1b7f8ff41334caca61c23b8eef95e871376459a72d3bf0d5f4b62839674d47d13cc7900 -MISC ChangeLog 36087 SHA256 da07e66feb8bbd0c023c0aa6e51fd70ad99d677b5dcf839218ce2ff77075ca6b SHA512 37bb9d5c3ecf952714929b4eee4a5ddb65dba1c1a0182c0d95bf9e499c27dac4851f5bc707e149e75621e8a7aa921dd212becd57240b59464865404dc82b92c3 WHIRLPOOL c9f09de666463ba0dc5585b513a1d718cdb4edc9282bc111b3d99e4e348aec119b19217ee016909cf64ffbf9032b7d43f4b8e2088df4ea65acab8085c0e18867 +MISC ChangeLog 36253 SHA256 73f2913149f7126d2281100e091a18fe4099461f9564da23c4697414aecaf3fe SHA512 90738f47db7b474bb691dbe786764e83984cad7914844732c16f3fe2534ecf3134c8bbf40fecf9b7286c73f58fc6b9df9b6c3bf01c480bc320f81ac672ac0591 WHIRLPOOL 7341c041b9598ff94ad5f041c92a9e12be05c95e3b7641f71e22e375045b75fde61e3abf345ea1b521285c18ad07379e95ad7e356b972fbb8d0fc237333e80e6 MISC metadata.xml 704 SHA256 76c0566b9a503099f6cf40750ffe09726dcf338e24378e780fb932cbebe1f0c1 SHA512 21a386ecca4b3d337c69019e750752df3f06137de8b8b27199b6218d4a5253bade522c5a9183340dfea61333bd783c14d60ff3f3e46cb58121c7100449722bfd WHIRLPOOL 7f64d01b4d31ae756e63e16be8add1bcba9a073961663ae481be883a5fcc6e3473d5da5f26d524502ade4eba0b2f3692934ed63f1e41bfa8d8b6a0a1532e11b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) -iQIcBAEBCAAGBQJSKeohAAoJEPiazRVxLXTFZ8UQAJidQz1qDZ7Aqt6iFEwMF7dK -beZVx/sgajM0749nFC/O4zaIHmXh6glFhP6stnNXc1RFh7tTKoyuH6KCpgUEflIr -ZxVeavA8O7XNRH+1OJ0aaZA07ix5BIdXFCmYN9y+ya9Bwi+eOh882t3RPe0RPxod -S3elWZubdnSnLwW5gh/uKpFZ0A54Alsj9cc4ZZe1MlOSNLBIfDh+ZGID8OXws+XC -/ABlyvlvgwJBPOuwLLabyeBiQUBEjShK8uxweTkxX5+87J36JBbeB98+uOtEssdX -6zIa6ndLdR/xdxUB6n3S42df4J4lnoVftuGOI1gqiRPqQDx68hBxtIlrzdMWXUbF -2x2takkQwpYM/202gbnlEW/dLZxE/Q/zgUueg0FXkussCRUsk86s6qNjv/ZTGNlt -YDilhWUQ9ds5FQh0N5MwctgVy3TWdMsA7Al3oM43TCBxsbL8CRrREaOWiK5PK2b4 -tP9s0OGiukyBpzyuGRo3kCvIGTqdiToEZWa99SOY+F8u+sQVbMavHE/4QPxgqutg -mutMDH2+q/EIsAx770My8fCa5UlXdOqNIY8Yrrr+/bUPARNW+esIYrcuCCAAjdBx -J7f/0JuvulhWH2zpJN+2/DH5veAJT7lYasgrp+ULzGwhR/v4XYCh2+S5mHqXQJvY -UJPGuWQIUb+PAyg3gEih -=AS4O +iQIcBAEBCAAGBQJSS8hhAAoJEPiazRVxLXTFHBMP/1wmkTipd/2VYanKothS4qAK +wYwSIQZp0ev1E64IfwrJLlIgstB0KMoASMPgJT/OEJYunggd91eibvec1mVZ0B5r +lKbMFujOolb6R6dca+v5Qop774JnAd8Ey39nX6+737lfiG0DBpd0MtwP5jIIuUQ8 +YBkVBIWufiNq+LfmaXfp3gXEqjU+2EIP9my2uRVCKc7Vy1HUFYYmzgbQbrwNkcts +TuP0L0cL2+jBOe1o9AF1QGW+xUqDzuP0Ykl04cFmq89pe98DdmPMRHfg9+Ce9k+I +be9DEOwigVYLae3VdFKEalGw3CXk2IxIASlM3ISeEACHF5el64XSj2soSplUFT7I +B93hybd1pjko+2JQkZXNJ+li3Ool2C5+rZup/IEjy/k6fWEru5PTYJFKtQ+2Mcix +ZzvMEqC8Mxs2eVnPqdKoOXyH3al4DYuzZtIpA2rr1VbjDxdvlBpmZLa1nWuySf3T +nXl27+cVgYK+uFUBcrP4JpYBFl/OteRpAfPRI0vOZrZI5tjbn/MG48kIeEuHdcZR +E9ol1oEaar8ddX5dicL8fmXPqrSMsJJ09qfHqNVht5xkqv1FbrHEkX9+XdT9uXx1 +5x4GsTD4dEXoF2XnRT12JMqqXMcBknx/f8I0jMC5CCgMAbqXuVg16yu3LvtN5Yyw +faWk2v2ycYQV8wdR8+m6 +=ItQJ -----END PGP SIGNATURE----- diff --git a/dev-vcs/mercurial/mercurial-2.7.2.ebuild b/dev-vcs/mercurial/mercurial-2.7.2.ebuild new file mode 100644 index 000000000000..7e8abe709548 --- /dev/null +++ b/dev-vcs/mercurial/mercurial-2.7.2.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.2.ebuild,v 1.1 2013/10/02 07:16:48 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 +} diff --git a/dev-vcs/mercurial/mercurial-2.7.ebuild b/dev-vcs/mercurial/mercurial-2.7.ebuild deleted file mode 100644 index 75e12223d74e..000000000000 --- a/dev-vcs/mercurial/mercurial-2.7.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.7.ebuild,v 1.2 2013/09/05 18:42:25 mgorny 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