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: Mon, 02 May 2016 10:25:31
Message-Id: 1462184717.19ae67d6bdc5f467d6e73d04c6deb22b8da56985.polynomial-c@gentoo
1 commit: 19ae67d6bdc5f467d6e73d04c6deb22b8da56985
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 10:18:42 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 10:25:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ae67d6
7
8 dev-vcs/mercurial: Removed old.
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-vcs/mercurial/Manifest | 4 -
14 dev-vcs/mercurial/mercurial-3.3.3.ebuild | 140 -------------------------------
15 dev-vcs/mercurial/mercurial-3.4.2.ebuild | 140 -------------------------------
16 dev-vcs/mercurial/mercurial-3.5.2.ebuild | 140 -------------------------------
17 dev-vcs/mercurial/mercurial-3.6.3.ebuild | 140 -------------------------------
18 5 files changed, 564 deletions(-)
19
20 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
21 index 03ba87c..51d4f9a 100644
22 --- a/dev-vcs/mercurial/Manifest
23 +++ b/dev-vcs/mercurial/Manifest
24 @@ -1,7 +1,3 @@
25 DIST mercurial-3.3.2.tar.gz 4165131 SHA256 67c617c740ac706f923371a26f02339b27cd6c36e5d3fb2ccad0dc02361527fa SHA512 f151ea3187b70d70a82f643aaacd2742d0ce5f996590eab008332a7f28df5a19e99634ff33b0509ad38d2b6b411627413a457255df8a8e45025246beebb6fcc1 WHIRLPOOL 740b1ebb68f7c8baf3e6a9b023be2423677e3189221dc302c0601b514193e27eaaf73985c9536c6aa03fa0c5b9be8c092cd7b3eaca5f77ee24bfa276bbb6109c
26 -DIST mercurial-3.3.3.tar.gz 4167447 SHA256 a445367f0dcbaf3a6279bfa743b364e729be0d1f0c852cb6d37f297916ffae13 SHA512 bea215b0bd9e8603ade019f01ae0600dd1d1ad77675b38b5e13d86c43dd2c58b6c86c252517f0fcab6444c171e9f53537e4e170739c991ac08a1111169fe545d WHIRLPOOL e5fd41c6d27d7fce8559a2d15b33e24cf702d9497326e2c1062fe2acd22e7ad16cd6981d3dadb5a7458f12dcd35cc98583f53bc3188d99a9638daddb7d95657b
27 -DIST mercurial-3.4.2.tar.gz 4296407 SHA256 dcc90e4a8476149ecc8af13c08202860b4c9c987a94c4f3c18b28294b6fd8ecd SHA512 f5ef7064a1ac4189fe4db91fec283cdead257b132674d0869f075b80ba5707e0163e28f18545a9d867336ebc6b1cbb8bcf794b6881b8f23f6c067e68c7ae584b WHIRLPOOL db7389c92680f6058efda6fa4cb7747ff3cd78bc361c43464a938c213b9ce46e8a040a57c68975f02342beb35522c27c3ab6250b2fc6e54777ddd20b0bda5443
28 -DIST mercurial-3.5.2.tar.gz 4415307 SHA256 23fdc038503911b21dc9e556118803f7b1d4150eb14933d2ea3d0ff0dc60ab5d SHA512 d0a4007763186ab72e7ef6e6f6fa84719fcdc2d16208bc99cc32f44cecdc0ccdf5719e18fbc8a5d0735f6441acc0d82bcac05d7c75fee15966c88ee75e7b6bdd WHIRLPOOL 10ec5dd3d1d2e3487f4a290bc0d32fe2237cc450b54774503e7e9e25b12e895c8065f1c2e27dcaa03deac82d1e10e58dd8ea18e9bacf4f24f58a52a3d5c0fea4
29 -DIST mercurial-3.6.3.tar.gz 4521749 SHA256 402731f27256beb9a575a6991ca3d7059976197c905337f4f5729fd940329fa8 SHA512 e5b39e5456a35e19f2ac02838946305023de957590c5aa2828f7c37e9b5f6f2e6376526d0845ebd1ca198860425d11e208b3c36e12e189e0b02871e9c91aad9a WHIRLPOOL 36f0f6caa43ce2c65c7c2bdfb3fa3935cec1e47c25fae6a6a3c7b00165d1aff9b71c73dd10faad2e2ba096d55cc633366170135d95452c162936fef93571dbf1
30 DIST mercurial-3.7.3.tar.gz 4636732 SHA256 c099c42d74e2d520b61dd372cd996b0fa7605c06617834fd7b13c79b9a9a5b30 SHA512 7f9f97229e40c7092c16ccf227b19a08a9839d8ce19a9d057341fff75876bff32241ee9aa10eab293f779ea3e8a1d97577597187bd96251fb499cbb1075a82cf WHIRLPOOL 51d7f152a0af27924fec8b39933796f5584867efff7f271147139e740302d05f8976f3c2aa95cb724b774ba4951040483bb51b02eed1495d8b15012301ba060e
31 DIST mercurial-3.8.1.tar.gz 4766849 SHA256 face1f058de5530b56b0dfd3b4d0b23d89590c588605c06f3d18b79e8c30d594 SHA512 f5a3aae85478cf7fbb70146e56237ee569f0ad51f6bd7b7a763f4cb6333b4aa78b57fd540993c3d36ca35dbab55641e4987ab8212a0fbf32e9e3b53aee300a79 WHIRLPOOL 7a44a56ea9ce1e63e365d6b9a4c3c899d59c9ef3ef9f37685963c1e0a25dc399bf9b3fb7af622b9e79c0dc943f47462ae704bd577938788a097f76530e355e62
32
33 diff --git a/dev-vcs/mercurial/mercurial-3.3.3.ebuild b/dev-vcs/mercurial/mercurial-3.3.3.ebuild
34 deleted file mode 100644
35 index 1f57c1e..0000000
36 --- a/dev-vcs/mercurial/mercurial-3.3.3.ebuild
37 +++ /dev/null
38 @@ -1,140 +0,0 @@
39 -# Copyright 1999-2015 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -# $Id$
42 -
43 -EAPI=5
44 -
45 -PYTHON_COMPAT=( python2_7 )
46 -PYTHON_REQ_USE="threads"
47 -
48 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
49 -
50 -DESCRIPTION="Scalable distributed SCM"
51 -HOMEPAGE="http://mercurial.selenic.com/"
52 -SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
53 -
54 -LICENSE="GPL-2"
55 -SLOT="0"
56 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~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"
57 -IUSE="bugzilla emacs gpg test tk"
58 -
59 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
60 - gpg? ( app-crypt/gnupg )
61 - tk? ( dev-lang/tk )
62 - app-misc/ca-certificates"
63 -DEPEND="emacs? ( virtual/emacs )
64 - test? ( app-arch/unzip
65 - dev-python/pygments[${PYTHON_USEDEP}] )"
66 -
67 -SITEFILE="70${PN}-gentoo.el"
68 -
69 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
70 -
71 -python_prepare_all() {
72 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
73 - # certain cases), bug #362891
74 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
75 -
76 - distutils-r1_python_prepare_all
77 -}
78 -
79 -python_configure_all() {
80 - strip-flags -ftracer -ftree-vectorize
81 - # Note: make it impl-conditional if py3 is supported
82 - append-flags -fno-strict-aliasing
83 -
84 - "${PYTHON}" setup.py build_mo || die
85 -}
86 -
87 -python_compile_all() {
88 - rm -r contrib/{win32,macosx} || die
89 - if use emacs; then
90 - cd contrib || die
91 - elisp-compile mercurial.el || die "elisp-compile failed!"
92 - fi
93 -}
94 -
95 -python_install_all() {
96 - distutils-r1_python_install_all
97 -
98 - newbashcomp contrib/bash_completion hg
99 -
100 - insinto /usr/share/zsh/site-functions
101 - newins contrib/zsh_completion _hg
102 -
103 - rm -f doc/*.?.txt
104 - dodoc CONTRIBUTORS
105 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
106 -
107 - dobin hgeditor
108 - dobin contrib/hgk
109 - python_foreach_impl python_doscript contrib/hg-ssh
110 -
111 - if use emacs; then
112 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
113 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
114 - fi
115 -
116 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
117 - *.el mercurial.spec)
118 - for f in ${RM_CONTRIB[@]}; do
119 - rm -r contrib/$f || die
120 - done
121 -
122 - dodoc -r contrib
123 - docompress -x /usr/share/doc/${PF}/contrib
124 - doman doc/*.?
125 -
126 - cat > "${T}/80mercurial" <<-EOF
127 -HG="${EPREFIX}/usr/bin/hg"
128 -EOF
129 - doenvd "${T}/80mercurial"
130 -
131 - insinto /etc/mercurial/hgrc.d
132 - doins "${FILESDIR}/cacerts.rc"
133 -}
134 -
135 -src_test() {
136 - pushd tests &>/dev/null || die
137 - rm -rf *svn* # Subversion tests fail with 1.5
138 - rm -f test-archive* # Fails due to verbose tar output changes
139 - rm -f test-convert-baz* # GNU Arch baz
140 - rm -f test-convert-cvs* # CVS
141 - rm -f test-convert-darcs* # Darcs
142 - rm -f test-convert-git* # git
143 - rm -f test-convert-mtn* # monotone
144 - rm -f test-convert-tla* # GNU Arch tla
145 - #rm -f test-doctest* # doctest always fails with python 2.5.x
146 - rm -f test-largefiles* # tends to time out
147 -
148 - popd &>/dev/null || die
149 - distutils-r1_src_test
150 -}
151 -
152 -python_test() {
153 - local TEST_DIR
154 -
155 - rm -rf "${TMPDIR}"/test
156 - distutils_install_for_testing
157 - cd tests || die
158 - "${PYTHON}" run-tests.py --verbose \
159 - --tmpdir="${TMPDIR}"/test \
160 - --with-hg="${TEST_DIR}"/scripts/hg \
161 - || die "Tests fail with ${EPYTHON}"
162 -}
163 -
164 -pkg_postinst() {
165 - use emacs && elisp-site-regen
166 -
167 - elog "If you want to convert repositories from other tools using convert"
168 - elog "extension please install correct tool:"
169 - elog " dev-vcs/cvs"
170 - elog " dev-vcs/darcs"
171 - elog " dev-vcs/git"
172 - elog " dev-vcs/monotone"
173 - elog " dev-vcs/subversion"
174 -}
175 -
176 -pkg_postrm() {
177 - use emacs && elisp-site-regen
178 -}
179
180 diff --git a/dev-vcs/mercurial/mercurial-3.4.2.ebuild b/dev-vcs/mercurial/mercurial-3.4.2.ebuild
181 deleted file mode 100644
182 index 1f57c1e..0000000
183 --- a/dev-vcs/mercurial/mercurial-3.4.2.ebuild
184 +++ /dev/null
185 @@ -1,140 +0,0 @@
186 -# Copyright 1999-2015 Gentoo Foundation
187 -# Distributed under the terms of the GNU General Public License v2
188 -# $Id$
189 -
190 -EAPI=5
191 -
192 -PYTHON_COMPAT=( python2_7 )
193 -PYTHON_REQ_USE="threads"
194 -
195 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
196 -
197 -DESCRIPTION="Scalable distributed SCM"
198 -HOMEPAGE="http://mercurial.selenic.com/"
199 -SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
200 -
201 -LICENSE="GPL-2"
202 -SLOT="0"
203 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~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"
204 -IUSE="bugzilla emacs gpg test tk"
205 -
206 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
207 - gpg? ( app-crypt/gnupg )
208 - tk? ( dev-lang/tk )
209 - app-misc/ca-certificates"
210 -DEPEND="emacs? ( virtual/emacs )
211 - test? ( app-arch/unzip
212 - dev-python/pygments[${PYTHON_USEDEP}] )"
213 -
214 -SITEFILE="70${PN}-gentoo.el"
215 -
216 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
217 -
218 -python_prepare_all() {
219 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
220 - # certain cases), bug #362891
221 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
222 -
223 - distutils-r1_python_prepare_all
224 -}
225 -
226 -python_configure_all() {
227 - strip-flags -ftracer -ftree-vectorize
228 - # Note: make it impl-conditional if py3 is supported
229 - append-flags -fno-strict-aliasing
230 -
231 - "${PYTHON}" setup.py build_mo || die
232 -}
233 -
234 -python_compile_all() {
235 - rm -r contrib/{win32,macosx} || die
236 - if use emacs; then
237 - cd contrib || die
238 - elisp-compile mercurial.el || die "elisp-compile failed!"
239 - fi
240 -}
241 -
242 -python_install_all() {
243 - distutils-r1_python_install_all
244 -
245 - newbashcomp contrib/bash_completion hg
246 -
247 - insinto /usr/share/zsh/site-functions
248 - newins contrib/zsh_completion _hg
249 -
250 - rm -f doc/*.?.txt
251 - dodoc CONTRIBUTORS
252 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
253 -
254 - dobin hgeditor
255 - dobin contrib/hgk
256 - python_foreach_impl python_doscript contrib/hg-ssh
257 -
258 - if use emacs; then
259 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
260 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
261 - fi
262 -
263 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
264 - *.el mercurial.spec)
265 - for f in ${RM_CONTRIB[@]}; do
266 - rm -r contrib/$f || die
267 - done
268 -
269 - dodoc -r contrib
270 - docompress -x /usr/share/doc/${PF}/contrib
271 - doman doc/*.?
272 -
273 - cat > "${T}/80mercurial" <<-EOF
274 -HG="${EPREFIX}/usr/bin/hg"
275 -EOF
276 - doenvd "${T}/80mercurial"
277 -
278 - insinto /etc/mercurial/hgrc.d
279 - doins "${FILESDIR}/cacerts.rc"
280 -}
281 -
282 -src_test() {
283 - pushd tests &>/dev/null || die
284 - rm -rf *svn* # Subversion tests fail with 1.5
285 - rm -f test-archive* # Fails due to verbose tar output changes
286 - rm -f test-convert-baz* # GNU Arch baz
287 - rm -f test-convert-cvs* # CVS
288 - rm -f test-convert-darcs* # Darcs
289 - rm -f test-convert-git* # git
290 - rm -f test-convert-mtn* # monotone
291 - rm -f test-convert-tla* # GNU Arch tla
292 - #rm -f test-doctest* # doctest always fails with python 2.5.x
293 - rm -f test-largefiles* # tends to time out
294 -
295 - popd &>/dev/null || die
296 - distutils-r1_src_test
297 -}
298 -
299 -python_test() {
300 - local TEST_DIR
301 -
302 - rm -rf "${TMPDIR}"/test
303 - distutils_install_for_testing
304 - cd tests || die
305 - "${PYTHON}" run-tests.py --verbose \
306 - --tmpdir="${TMPDIR}"/test \
307 - --with-hg="${TEST_DIR}"/scripts/hg \
308 - || die "Tests fail with ${EPYTHON}"
309 -}
310 -
311 -pkg_postinst() {
312 - use emacs && elisp-site-regen
313 -
314 - elog "If you want to convert repositories from other tools using convert"
315 - elog "extension please install correct tool:"
316 - elog " dev-vcs/cvs"
317 - elog " dev-vcs/darcs"
318 - elog " dev-vcs/git"
319 - elog " dev-vcs/monotone"
320 - elog " dev-vcs/subversion"
321 -}
322 -
323 -pkg_postrm() {
324 - use emacs && elisp-site-regen
325 -}
326
327 diff --git a/dev-vcs/mercurial/mercurial-3.5.2.ebuild b/dev-vcs/mercurial/mercurial-3.5.2.ebuild
328 deleted file mode 100644
329 index 1f57c1e..0000000
330 --- a/dev-vcs/mercurial/mercurial-3.5.2.ebuild
331 +++ /dev/null
332 @@ -1,140 +0,0 @@
333 -# Copyright 1999-2015 Gentoo Foundation
334 -# Distributed under the terms of the GNU General Public License v2
335 -# $Id$
336 -
337 -EAPI=5
338 -
339 -PYTHON_COMPAT=( python2_7 )
340 -PYTHON_REQ_USE="threads"
341 -
342 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
343 -
344 -DESCRIPTION="Scalable distributed SCM"
345 -HOMEPAGE="http://mercurial.selenic.com/"
346 -SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
347 -
348 -LICENSE="GPL-2"
349 -SLOT="0"
350 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~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"
351 -IUSE="bugzilla emacs gpg test tk"
352 -
353 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
354 - gpg? ( app-crypt/gnupg )
355 - tk? ( dev-lang/tk )
356 - app-misc/ca-certificates"
357 -DEPEND="emacs? ( virtual/emacs )
358 - test? ( app-arch/unzip
359 - dev-python/pygments[${PYTHON_USEDEP}] )"
360 -
361 -SITEFILE="70${PN}-gentoo.el"
362 -
363 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
364 -
365 -python_prepare_all() {
366 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
367 - # certain cases), bug #362891
368 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
369 -
370 - distutils-r1_python_prepare_all
371 -}
372 -
373 -python_configure_all() {
374 - strip-flags -ftracer -ftree-vectorize
375 - # Note: make it impl-conditional if py3 is supported
376 - append-flags -fno-strict-aliasing
377 -
378 - "${PYTHON}" setup.py build_mo || die
379 -}
380 -
381 -python_compile_all() {
382 - rm -r contrib/{win32,macosx} || die
383 - if use emacs; then
384 - cd contrib || die
385 - elisp-compile mercurial.el || die "elisp-compile failed!"
386 - fi
387 -}
388 -
389 -python_install_all() {
390 - distutils-r1_python_install_all
391 -
392 - newbashcomp contrib/bash_completion hg
393 -
394 - insinto /usr/share/zsh/site-functions
395 - newins contrib/zsh_completion _hg
396 -
397 - rm -f doc/*.?.txt
398 - dodoc CONTRIBUTORS
399 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
400 -
401 - dobin hgeditor
402 - dobin contrib/hgk
403 - python_foreach_impl python_doscript contrib/hg-ssh
404 -
405 - if use emacs; then
406 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
407 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
408 - fi
409 -
410 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
411 - *.el mercurial.spec)
412 - for f in ${RM_CONTRIB[@]}; do
413 - rm -r contrib/$f || die
414 - done
415 -
416 - dodoc -r contrib
417 - docompress -x /usr/share/doc/${PF}/contrib
418 - doman doc/*.?
419 -
420 - cat > "${T}/80mercurial" <<-EOF
421 -HG="${EPREFIX}/usr/bin/hg"
422 -EOF
423 - doenvd "${T}/80mercurial"
424 -
425 - insinto /etc/mercurial/hgrc.d
426 - doins "${FILESDIR}/cacerts.rc"
427 -}
428 -
429 -src_test() {
430 - pushd tests &>/dev/null || die
431 - rm -rf *svn* # Subversion tests fail with 1.5
432 - rm -f test-archive* # Fails due to verbose tar output changes
433 - rm -f test-convert-baz* # GNU Arch baz
434 - rm -f test-convert-cvs* # CVS
435 - rm -f test-convert-darcs* # Darcs
436 - rm -f test-convert-git* # git
437 - rm -f test-convert-mtn* # monotone
438 - rm -f test-convert-tla* # GNU Arch tla
439 - #rm -f test-doctest* # doctest always fails with python 2.5.x
440 - rm -f test-largefiles* # tends to time out
441 -
442 - popd &>/dev/null || die
443 - distutils-r1_src_test
444 -}
445 -
446 -python_test() {
447 - local TEST_DIR
448 -
449 - rm -rf "${TMPDIR}"/test
450 - distutils_install_for_testing
451 - cd tests || die
452 - "${PYTHON}" run-tests.py --verbose \
453 - --tmpdir="${TMPDIR}"/test \
454 - --with-hg="${TEST_DIR}"/scripts/hg \
455 - || die "Tests fail with ${EPYTHON}"
456 -}
457 -
458 -pkg_postinst() {
459 - use emacs && elisp-site-regen
460 -
461 - elog "If you want to convert repositories from other tools using convert"
462 - elog "extension please install correct tool:"
463 - elog " dev-vcs/cvs"
464 - elog " dev-vcs/darcs"
465 - elog " dev-vcs/git"
466 - elog " dev-vcs/monotone"
467 - elog " dev-vcs/subversion"
468 -}
469 -
470 -pkg_postrm() {
471 - use emacs && elisp-site-regen
472 -}
473
474 diff --git a/dev-vcs/mercurial/mercurial-3.6.3.ebuild b/dev-vcs/mercurial/mercurial-3.6.3.ebuild
475 deleted file mode 100644
476 index 3587ac1..0000000
477 --- a/dev-vcs/mercurial/mercurial-3.6.3.ebuild
478 +++ /dev/null
479 @@ -1,140 +0,0 @@
480 -# Copyright 1999-2016 Gentoo Foundation
481 -# Distributed under the terms of the GNU General Public License v2
482 -# $Id$
483 -
484 -EAPI=5
485 -
486 -PYTHON_COMPAT=( python2_7 )
487 -PYTHON_REQ_USE="threads"
488 -
489 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
490 -
491 -DESCRIPTION="Scalable distributed SCM"
492 -HOMEPAGE="http://mercurial.selenic.com/"
493 -SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
494 -
495 -LICENSE="GPL-2"
496 -SLOT="0"
497 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~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"
498 -IUSE="bugzilla emacs gpg test tk"
499 -
500 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
501 - gpg? ( app-crypt/gnupg )
502 - tk? ( dev-lang/tk )
503 - app-misc/ca-certificates"
504 -DEPEND="emacs? ( virtual/emacs )
505 - test? ( app-arch/unzip
506 - dev-python/pygments[${PYTHON_USEDEP}] )"
507 -
508 -SITEFILE="70${PN}-gentoo.el"
509 -
510 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
511 -
512 -python_prepare_all() {
513 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
514 - # certain cases), bug #362891
515 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
516 -
517 - distutils-r1_python_prepare_all
518 -}
519 -
520 -python_configure_all() {
521 - strip-flags -ftracer -ftree-vectorize
522 - # Note: make it impl-conditional if py3 is supported
523 - append-flags -fno-strict-aliasing
524 -
525 - "${PYTHON}" setup.py build_mo || die
526 -}
527 -
528 -python_compile_all() {
529 - rm -r contrib/{win32,macosx} || die
530 - if use emacs; then
531 - cd contrib || die
532 - elisp-compile mercurial.el || die "elisp-compile failed!"
533 - fi
534 -}
535 -
536 -python_install_all() {
537 - distutils-r1_python_install_all
538 -
539 - newbashcomp contrib/bash_completion hg
540 -
541 - insinto /usr/share/zsh/site-functions
542 - newins contrib/zsh_completion _hg
543 -
544 - rm -f doc/*.?.txt
545 - dodoc CONTRIBUTORS
546 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
547 -
548 - dobin hgeditor
549 - dobin contrib/hgk
550 - python_foreach_impl python_doscript contrib/hg-ssh
551 -
552 - if use emacs; then
553 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
554 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
555 - fi
556 -
557 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
558 - *.el mercurial.spec)
559 - for f in ${RM_CONTRIB[@]}; do
560 - rm -r contrib/$f || die
561 - done
562 -
563 - dodoc -r contrib
564 - docompress -x /usr/share/doc/${PF}/contrib
565 - doman doc/*.?
566 -
567 - cat > "${T}/80mercurial" <<-EOF
568 -HG="${EPREFIX}/usr/bin/hg"
569 -EOF
570 - doenvd "${T}/80mercurial"
571 -
572 - insinto /etc/mercurial/hgrc.d
573 - doins "${FILESDIR}/cacerts.rc"
574 -}
575 -
576 -src_test() {
577 - pushd tests &>/dev/null || die
578 - rm -rf *svn* # Subversion tests fail with 1.5
579 - rm -f test-archive* # Fails due to verbose tar output changes
580 - rm -f test-convert-baz* # GNU Arch baz
581 - rm -f test-convert-cvs* # CVS
582 - rm -f test-convert-darcs* # Darcs
583 - rm -f test-convert-git* # git
584 - rm -f test-convert-mtn* # monotone
585 - rm -f test-convert-tla* # GNU Arch tla
586 - #rm -f test-doctest* # doctest always fails with python 2.5.x
587 - rm -f test-largefiles* # tends to time out
588 -
589 - popd &>/dev/null || die
590 - distutils-r1_src_test
591 -}
592 -
593 -python_test() {
594 - local TEST_DIR
595 -
596 - rm -rf "${TMPDIR}"/test
597 - distutils_install_for_testing
598 - cd tests || die
599 - "${PYTHON}" run-tests.py --verbose \
600 - --tmpdir="${TMPDIR}"/test \
601 - --with-hg="${TEST_DIR}"/scripts/hg \
602 - || die "Tests fail with ${EPYTHON}"
603 -}
604 -
605 -pkg_postinst() {
606 - use emacs && elisp-site-regen
607 -
608 - elog "If you want to convert repositories from other tools using convert"
609 - elog "extension please install correct tool:"
610 - elog " dev-vcs/cvs"
611 - elog " dev-vcs/darcs"
612 - elog " dev-vcs/git"
613 - elog " dev-vcs/monotone"
614 - elog " dev-vcs/subversion"
615 -}
616 -
617 -pkg_postrm() {
618 - use emacs && elisp-site-regen
619 -}