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: Fri, 02 Feb 2018 09:27:54
Message-Id: 1517563667.e9966c7e7c1e4615abb01b299923a2231e00b882.polynomial-c@gentoo
1 commit: e9966c7e7c1e4615abb01b299923a2231e00b882
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 2 09:27:30 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 2 09:27:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9966c7e
7
8 dev-vcs/mercurial: Removed old.
9
10 Package-Manager: Portage-2.3.23, Repoman-2.3.6
11
12 dev-vcs/mercurial/Manifest | 1 -
13 dev-vcs/mercurial/mercurial-4.4.1.ebuild | 134 -------------------------------
14 2 files changed, 135 deletions(-)
15
16 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
17 index f8770b3720b..4390c82db84 100644
18 --- a/dev-vcs/mercurial/Manifest
19 +++ b/dev-vcs/mercurial/Manifest
20 @@ -1,5 +1,4 @@
21 DIST mercurial-4.3.3.tar.gz 5491634 BLAKE2B becfe01fb52af6047d570d2b8a674204f5e698bf42c2a3ff46298de40112ace3c367012eabdfc3ac4257e1618a513a75ff27b75050ecbd7f796e847715c95f70 SHA512 2d5249b6b2ec6b21c548702af2cf6b8e0858197a370514465aa7a880391f2e9efd6aecefb67fc547dfb8759c1c678009dc5a33fc48743bee30fcbdd853ee1cc6
22 DIST mercurial-4.3.tar.gz 5469979 BLAKE2B 5a0df1bce4b3343a9101b634aed44c7ab3af5ed9a07883b20f87829bedd5abdae92b476a3d108a9ccf093dad18f7c82b36d5d6a6622346e156bca6dcbaeb3c9a SHA512 d74ae5f35d8c415c07737b59e6c5455963dfbf5d038c43d683fd34dd84423b9ccf9cd670667f458db20d8580fc7c7d9e5609d29d990e1e94683734694211c417
23 -DIST mercurial-4.4.1.tar.gz 5636532 BLAKE2B 07b91da192db30a925bd9798c5d6ab02336501c04f9d65bb9042786c2f5e6f8c16f6ebe6817f68ac746c21f79e39dbb8284b7590063d7a6ef615a8e2b6dbe821 SHA512 4c87adb6d3d30f7f9211eee64df727aefdac246be3ca9e3af412b76c32b76d701b19e00ca339168446ee5e20fad2ffc24f0c87438b6bda954560108235ab14a8
24 DIST mercurial-4.4.2.tar.gz 5647013 BLAKE2B 3663517e5e53525e50852fd4941f7c71cc446fcc1255ed09d3e8375fcc14aea01f00e4c05a1cda2876d96b4f935b0d5e3d887567bc62c9c4629954b2cef8617f SHA512 3d1d103689eac4f50cc1005be44144b37d75ebfac3ff3b4fc90d6f41fbee46e107a168d04f2c366ce7cca2733ea4e5b5127df462af8e253f61a72f8938833993
25 DIST mercurial-4.5.tar.gz 5876130 BLAKE2B aaf4bae584639fad5c7a5cf4df183f2c4f78be759e4cea911520f4447fb931f34ecdde81b2426cbc714c63d3d48f804c86a82a766d4d49abbfd9c5136c090094 SHA512 5d1192d96432f4d5de6548553260d1a32ffb7786ef5f982485c74a7c389fa55fb3a1f17765ce641a82958c65a29288657aaac9d465b6382913d27e70e0d5c941
26
27 diff --git a/dev-vcs/mercurial/mercurial-4.4.1.ebuild b/dev-vcs/mercurial/mercurial-4.4.1.ebuild
28 deleted file mode 100644
29 index f29a2c796da..00000000000
30 --- a/dev-vcs/mercurial/mercurial-4.4.1.ebuild
31 +++ /dev/null
32 @@ -1,134 +0,0 @@
33 -# Copyright 1999-2017 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 ~arm-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,macosx} || 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 buildrpm plan9
110 - *.el mercurial.spec)
111 - for f in ${RM_CONTRIB[@]}; do
112 - rm -r contrib/$f || die
113 - done
114 -
115 - dodoc -r contrib
116 - docompress -x /usr/share/doc/${PF}/contrib
117 - doman doc/*.?
118 -
119 - insinto /etc/mercurial/hgrc.d
120 - doins "${FILESDIR}/cacerts.rc"
121 -}
122 -
123 -src_test() {
124 - pushd tests &>/dev/null || die
125 - rm -rf *svn* # Subversion tests fail with 1.5
126 - rm -f test-archive* # Fails due to verbose tar output changes
127 - rm -f test-convert-baz* # GNU Arch baz
128 - rm -f test-convert-cvs* # CVS
129 - rm -f test-convert-darcs* # Darcs
130 - rm -f test-convert-git* # git
131 - rm -f test-convert-mtn* # monotone
132 - rm -f test-convert-tla* # GNU Arch tla
133 - #rm -f test-doctest* # doctest always fails with python 2.5.x
134 - rm -f test-largefiles* # tends to time out
135 -
136 - popd &>/dev/null || die
137 - distutils-r1_src_test
138 -}
139 -
140 -python_test() {
141 - local TEST_DIR
142 -
143 - rm -rf "${TMPDIR}"/test
144 - distutils_install_for_testing
145 - cd tests || die
146 - "${PYTHON}" run-tests.py --verbose \
147 - --tmpdir="${TMPDIR}"/test \
148 - --with-hg="${TEST_DIR}"/scripts/hg \
149 - || die "Tests fail with ${EPYTHON}"
150 -}
151 -
152 -pkg_postinst() {
153 - use emacs && elisp-site-regen
154 -
155 - elog "If you want to convert repositories from other tools using convert"
156 - elog "extension please install correct tool:"
157 - elog " dev-vcs/cvs"
158 - elog " dev-vcs/darcs"
159 - elog " dev-vcs/git"
160 - elog " dev-vcs/monotone"
161 - elog " dev-vcs/subversion"
162 -}
163 -
164 -pkg_postrm() {
165 - use emacs && elisp-site-regen
166 -}