Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Tue, 09 Oct 2018 12:09:05
Message-Id: 1539086930.a256cc296fa7ce435d90860e7cbc67acfcae3aa8.polynomial-c@gentoo
1 commit: a256cc296fa7ce435d90860e7cbc67acfcae3aa8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 9 12:08:50 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 9 12:08:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a256cc29
7
8 dev-vcs/mercurial: Removed old.
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-vcs/mercurial/Manifest | 1 -
14 dev-vcs/mercurial/mercurial-4.7.ebuild | 133 ---------------------------------
15 2 files changed, 134 deletions(-)
16
17 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
18 index 1f402e6a1f5..ecbcc650dc1 100644
19 --- a/dev-vcs/mercurial/Manifest
20 +++ b/dev-vcs/mercurial/Manifest
21 @@ -2,4 +2,3 @@ DIST mercurial-4.5.2.tar.gz 5779915 BLAKE2B 9abc5a8bafc43bc8e930bb51aa2e57397cd5
22 DIST mercurial-4.6.2.tar.gz 6407989 BLAKE2B 22aa121b2544e3597f2ea4d3a7a80b3b8f5ca6f9de15326dbee555ca3d14b8a552042c4448aae17b1c015b4f302c3512c204f17a834b758f51fbcc2455ed4e6f SHA512 71afb9ed3f62b1b946563c55851dda1fc8b724afe82a4a253c7f4719ae9e1160d5f9644bed7fd27ee3a21d8e682352364fc9f47bafa552cd4cd7fac7c0d42bdd
23 DIST mercurial-4.7.1.tar.gz 6480135 BLAKE2B de34cdd34d5fa2a6f4e1f24730c99b5764b9ac15aef21284337924d13bd5b4b14684d729149c4b48bf8fde13679cf661d92da968943c3f04ea065729df42318c SHA512 04d3f97dd4a0f36c6f6d639d8eccc7e4f29b2dc211fa69e7fc17dae0eb954f2ddaaf04f70facc6b968a166db7c07ed80792575d7a27e80bc0c1a43fc38b5e536
24 DIST mercurial-4.7.2.tar.gz 6481684 BLAKE2B 1006e541b52148f44b14767a738f4add4d03c719bc6f96f3f245f6bfd401223b1e7444216304fba749b88611cd031cb14089d9938a5533477160226286dd401d SHA512 e8742e9555a6b57e96e61091757b4bcb574605c49082874bd4edb9114a70e5cb024c1360a75c24f1a9ae3bca3205316e6a264ae18d3c9946248bc1d2b042ad43
25 -DIST mercurial-4.7.tar.gz 6476268 BLAKE2B e13458729f06a2516e885abf767989e8df7f3cc743f7f57aa44ca41c6c2c4542a28e6172a7e109395fb76057afc04c2318b10f8b21ae90cb5c9efe6188da0483 SHA512 a08dfc4e296b5d162097769ab38ab85b7c5de16710bce0b6dce2a39f56cb517455c0ed634f689d07e9bd082fb7641501b7da51963844aee7ab28233cf721dec8
26
27 diff --git a/dev-vcs/mercurial/mercurial-4.7.ebuild b/dev-vcs/mercurial/mercurial-4.7.ebuild
28 deleted file mode 100644
29 index 9446c0956cd..00000000000
30 --- a/dev-vcs/mercurial/mercurial-4.7.ebuild
31 +++ /dev/null
32 @@ -1,133 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -PYTHON_REQ_USE="threads"
40 -
41 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
42 -
43 -DESCRIPTION="Scalable distributed SCM"
44 -HOMEPAGE="https://www.mercurial-scm.org/"
45 -SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -IUSE="bugzilla emacs gpg test tk"
51 -
52 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
53 - gpg? ( app-crypt/gnupg )
54 - tk? ( dev-lang/tk )
55 - app-misc/ca-certificates"
56 -DEPEND="emacs? ( virtual/emacs )
57 - test? ( app-arch/unzip
58 - dev-python/pygments[${PYTHON_USEDEP}] )"
59 -
60 -SITEFILE="70${PN}-gentoo.el"
61 -
62 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
63 -
64 -python_prepare_all() {
65 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
66 - # certain cases), bug #362891
67 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
68 -
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_configure_all() {
73 - strip-flags -ftracer -ftree-vectorize
74 - # Note: make it impl-conditional if py3 is supported
75 - append-flags -fno-strict-aliasing
76 -
77 - "${PYTHON}" setup.py build_mo || die
78 -}
79 -
80 -python_compile_all() {
81 - rm -r contrib/win32 || die
82 - if use emacs; then
83 - cd contrib || die
84 - elisp-compile mercurial.el || die "elisp-compile failed!"
85 - fi
86 -}
87 -
88 -python_install_all() {
89 - distutils-r1_python_install_all
90 -
91 - newbashcomp contrib/bash_completion hg
92 -
93 - insinto /usr/share/zsh/site-functions
94 - newins contrib/zsh_completion _hg
95 -
96 - rm -f doc/*.?.txt
97 - dodoc CONTRIBUTORS
98 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
99 -
100 - dobin hgeditor
101 - dobin contrib/hgk
102 - python_foreach_impl python_doscript contrib/hg-ssh
103 -
104 - if use emacs; then
105 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
106 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
107 - fi
108 -
109 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix plan9 *.el)
110 - for f in ${RM_CONTRIB[@]}; do
111 - rm -r contrib/$f || die
112 - done
113 -
114 - dodoc -r contrib
115 - docompress -x /usr/share/doc/${PF}/contrib
116 - doman doc/*.?
117 -
118 - insinto /etc/mercurial/hgrc.d
119 - doins "${FILESDIR}/cacerts.rc"
120 -}
121 -
122 -src_test() {
123 - pushd tests &>/dev/null || die
124 - rm -rf *svn* # Subversion tests fail with 1.5
125 - rm -f test-archive* # Fails due to verbose tar output changes
126 - rm -f test-convert-baz* # GNU Arch baz
127 - rm -f test-convert-cvs* # CVS
128 - rm -f test-convert-darcs* # Darcs
129 - rm -f test-convert-git* # git
130 - rm -f test-convert-mtn* # monotone
131 - rm -f test-convert-tla* # GNU Arch tla
132 - #rm -f test-doctest* # doctest always fails with python 2.5.x
133 - rm -f test-largefiles* # tends to time out
134 -
135 - popd &>/dev/null || die
136 - distutils-r1_src_test
137 -}
138 -
139 -python_test() {
140 - local TEST_DIR
141 -
142 - rm -rf "${TMPDIR}"/test
143 - distutils_install_for_testing
144 - cd tests || die
145 - "${PYTHON}" run-tests.py --verbose \
146 - --tmpdir="${TMPDIR}"/test \
147 - --with-hg="${TEST_DIR}"/scripts/hg \
148 - || die "Tests fail with ${EPYTHON}"
149 -}
150 -
151 -pkg_postinst() {
152 - use emacs && elisp-site-regen
153 -
154 - elog "If you want to convert repositories from other tools using convert"
155 - elog "extension please install correct tool:"
156 - elog " dev-vcs/cvs"
157 - elog " dev-vcs/darcs"
158 - elog " dev-vcs/git"
159 - elog " dev-vcs/monotone"
160 - elog " dev-vcs/subversion"
161 -}
162 -
163 -pkg_postrm() {
164 - use emacs && elisp-site-regen
165 -}