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: Thu, 02 Aug 2018 08:09:54
Message-Id: 1533197369.4de1e55eaae2b748e907f3ee856b3870b5560af8.polynomial-c@gentoo
1 commit: 4de1e55eaae2b748e907f3ee856b3870b5560af8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 2 08:09:29 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 08:09:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de1e55e
7
8 dev-vcs/mercurial: Removed old.
9
10 Package-Manager: Portage-2.3.44, Repoman-2.3.10
11
12 dev-vcs/mercurial/Manifest | 2 -
13 dev-vcs/mercurial/mercurial-4.5.3.ebuild | 134 -------------------------------
14 dev-vcs/mercurial/mercurial-4.6.1.ebuild | 134 -------------------------------
15 3 files changed, 270 deletions(-)
16
17 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
18 index a24f7f9446d..16a8ac4e9a3 100644
19 --- a/dev-vcs/mercurial/Manifest
20 +++ b/dev-vcs/mercurial/Manifest
21 @@ -1,5 +1,3 @@
22 DIST mercurial-4.5.2.tar.gz 5779915 BLAKE2B 9abc5a8bafc43bc8e930bb51aa2e57397cd5858dc7bb31d9a37795a4e2799dc03b57130b23e29f89a07bd7502f136594a03d1a4bd5dfd04e2e968213b50413da SHA512 f70e40cba72b7955f0ecec9c1f53ffffac26f206188617cb182e22ce4f43dc8b970ce46d12c516ef88480c3fa076a59afcddd736dffb642d8e23befaf45b4941
23 -DIST mercurial-4.5.3.tar.gz 5884837 BLAKE2B 61e61624cb397786b7a4f6ed62a3ba0c2ed7cbacc5918341d014a7e0fd9bbe07c91def00539411e71d231d18060de8461bef05590626bf1318691f791e0ad2b5 SHA512 9c23ffefb0a194b5a88ee783186347c21e7d973524ba40119439702953b35b01ad6fbc32ce09ae169f1020963e92312a39321b1da3ffe06db1d44158761abbec
24 -DIST mercurial-4.6.1.tar.gz 6407380 BLAKE2B 02663a11c56bbd05f123a0903463d7e95cdf3f2e553b0f81b365b4ca296c15bccd735487162870a4e38253c6c0cb1d8f0cf1bbb1b05b3c3b721f2209e4e1b2ec SHA512 0c7737ca803691b135b4906cc527b20595e314009096d8a19f37814ee192b182e7c5360fbf993f632d6071da1f9fca38677e7190c14ed92bafa8add72a4a27d9
25 DIST mercurial-4.6.2.tar.gz 6407989 BLAKE2B 22aa121b2544e3597f2ea4d3a7a80b3b8f5ca6f9de15326dbee555ca3d14b8a552042c4448aae17b1c015b4f302c3512c204f17a834b758f51fbcc2455ed4e6f SHA512 71afb9ed3f62b1b946563c55851dda1fc8b724afe82a4a253c7f4719ae9e1160d5f9644bed7fd27ee3a21d8e682352364fc9f47bafa552cd4cd7fac7c0d42bdd
26 DIST mercurial-4.7.tar.gz 6476268 BLAKE2B e13458729f06a2516e885abf767989e8df7f3cc743f7f57aa44ca41c6c2c4542a28e6172a7e109395fb76057afc04c2318b10f8b21ae90cb5c9efe6188da0483 SHA512 a08dfc4e296b5d162097769ab38ab85b7c5de16710bce0b6dce2a39f56cb517455c0ed634f689d07e9bd082fb7641501b7da51963844aee7ab28233cf721dec8
27
28 diff --git a/dev-vcs/mercurial/mercurial-4.5.3.ebuild b/dev-vcs/mercurial/mercurial-4.5.3.ebuild
29 deleted file mode 100644
30 index 55a97bb048e..00000000000
31 --- a/dev-vcs/mercurial/mercurial-4.5.3.ebuild
32 +++ /dev/null
33 @@ -1,134 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python2_7 )
40 -PYTHON_REQ_USE="threads"
41 -
42 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
43 -
44 -DESCRIPTION="Scalable distributed SCM"
45 -HOMEPAGE="https://www.mercurial-scm.org/"
46 -SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz"
47 -
48 -LICENSE="GPL-2+"
49 -SLOT="0"
50 -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"
51 -IUSE="bugzilla emacs gpg test tk"
52 -
53 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
54 - gpg? ( app-crypt/gnupg )
55 - tk? ( dev-lang/tk )
56 - app-misc/ca-certificates"
57 -DEPEND="emacs? ( virtual/emacs )
58 - test? ( app-arch/unzip
59 - dev-python/pygments[${PYTHON_USEDEP}] )"
60 -
61 -SITEFILE="70${PN}-gentoo.el"
62 -
63 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
64 -
65 -python_prepare_all() {
66 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
67 - # certain cases), bug #362891
68 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
69 -
70 - distutils-r1_python_prepare_all
71 -}
72 -
73 -python_configure_all() {
74 - strip-flags -ftracer -ftree-vectorize
75 - # Note: make it impl-conditional if py3 is supported
76 - append-flags -fno-strict-aliasing
77 -
78 - "${PYTHON}" setup.py build_mo || die
79 -}
80 -
81 -python_compile_all() {
82 - rm -r contrib/{win32,macosx} || die
83 - if use emacs; then
84 - cd contrib || die
85 - elisp-compile mercurial.el || die "elisp-compile failed!"
86 - fi
87 -}
88 -
89 -python_install_all() {
90 - distutils-r1_python_install_all
91 -
92 - newbashcomp contrib/bash_completion hg
93 -
94 - insinto /usr/share/zsh/site-functions
95 - newins contrib/zsh_completion _hg
96 -
97 - rm -f doc/*.?.txt
98 - dodoc CONTRIBUTORS
99 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
100 -
101 - dobin hgeditor
102 - dobin contrib/hgk
103 - python_foreach_impl python_doscript contrib/hg-ssh
104 -
105 - if use emacs; then
106 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
107 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
108 - fi
109 -
110 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
111 - *.el mercurial.spec)
112 - for f in ${RM_CONTRIB[@]}; do
113 - rm -r contrib/$f || die
114 - done
115 -
116 - dodoc -r contrib
117 - docompress -x /usr/share/doc/${PF}/contrib
118 - doman doc/*.?
119 -
120 - insinto /etc/mercurial/hgrc.d
121 - doins "${FILESDIR}/cacerts.rc"
122 -}
123 -
124 -src_test() {
125 - pushd tests &>/dev/null || die
126 - rm -rf *svn* # Subversion tests fail with 1.5
127 - rm -f test-archive* # Fails due to verbose tar output changes
128 - rm -f test-convert-baz* # GNU Arch baz
129 - rm -f test-convert-cvs* # CVS
130 - rm -f test-convert-darcs* # Darcs
131 - rm -f test-convert-git* # git
132 - rm -f test-convert-mtn* # monotone
133 - rm -f test-convert-tla* # GNU Arch tla
134 - #rm -f test-doctest* # doctest always fails with python 2.5.x
135 - rm -f test-largefiles* # tends to time out
136 -
137 - popd &>/dev/null || die
138 - distutils-r1_src_test
139 -}
140 -
141 -python_test() {
142 - local TEST_DIR
143 -
144 - rm -rf "${TMPDIR}"/test
145 - distutils_install_for_testing
146 - cd tests || die
147 - "${PYTHON}" run-tests.py --verbose \
148 - --tmpdir="${TMPDIR}"/test \
149 - --with-hg="${TEST_DIR}"/scripts/hg \
150 - || die "Tests fail with ${EPYTHON}"
151 -}
152 -
153 -pkg_postinst() {
154 - use emacs && elisp-site-regen
155 -
156 - elog "If you want to convert repositories from other tools using convert"
157 - elog "extension please install correct tool:"
158 - elog " dev-vcs/cvs"
159 - elog " dev-vcs/darcs"
160 - elog " dev-vcs/git"
161 - elog " dev-vcs/monotone"
162 - elog " dev-vcs/subversion"
163 -}
164 -
165 -pkg_postrm() {
166 - use emacs && elisp-site-regen
167 -}
168
169 diff --git a/dev-vcs/mercurial/mercurial-4.6.1.ebuild b/dev-vcs/mercurial/mercurial-4.6.1.ebuild
170 deleted file mode 100644
171 index 55a97bb048e..00000000000
172 --- a/dev-vcs/mercurial/mercurial-4.6.1.ebuild
173 +++ /dev/null
174 @@ -1,134 +0,0 @@
175 -# Copyright 1999-2018 Gentoo Foundation
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=6
179 -
180 -PYTHON_COMPAT=( python2_7 )
181 -PYTHON_REQ_USE="threads"
182 -
183 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
184 -
185 -DESCRIPTION="Scalable distributed SCM"
186 -HOMEPAGE="https://www.mercurial-scm.org/"
187 -SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz"
188 -
189 -LICENSE="GPL-2+"
190 -SLOT="0"
191 -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"
192 -IUSE="bugzilla emacs gpg test tk"
193 -
194 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
195 - gpg? ( app-crypt/gnupg )
196 - tk? ( dev-lang/tk )
197 - app-misc/ca-certificates"
198 -DEPEND="emacs? ( virtual/emacs )
199 - test? ( app-arch/unzip
200 - dev-python/pygments[${PYTHON_USEDEP}] )"
201 -
202 -SITEFILE="70${PN}-gentoo.el"
203 -
204 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
205 -
206 -python_prepare_all() {
207 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
208 - # certain cases), bug #362891
209 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
210 -
211 - distutils-r1_python_prepare_all
212 -}
213 -
214 -python_configure_all() {
215 - strip-flags -ftracer -ftree-vectorize
216 - # Note: make it impl-conditional if py3 is supported
217 - append-flags -fno-strict-aliasing
218 -
219 - "${PYTHON}" setup.py build_mo || die
220 -}
221 -
222 -python_compile_all() {
223 - rm -r contrib/{win32,macosx} || die
224 - if use emacs; then
225 - cd contrib || die
226 - elisp-compile mercurial.el || die "elisp-compile failed!"
227 - fi
228 -}
229 -
230 -python_install_all() {
231 - distutils-r1_python_install_all
232 -
233 - newbashcomp contrib/bash_completion hg
234 -
235 - insinto /usr/share/zsh/site-functions
236 - newins contrib/zsh_completion _hg
237 -
238 - rm -f doc/*.?.txt
239 - dodoc CONTRIBUTORS
240 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
241 -
242 - dobin hgeditor
243 - dobin contrib/hgk
244 - python_foreach_impl python_doscript contrib/hg-ssh
245 -
246 - if use emacs; then
247 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
248 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
249 - fi
250 -
251 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
252 - *.el mercurial.spec)
253 - for f in ${RM_CONTRIB[@]}; do
254 - rm -r contrib/$f || die
255 - done
256 -
257 - dodoc -r contrib
258 - docompress -x /usr/share/doc/${PF}/contrib
259 - doman doc/*.?
260 -
261 - insinto /etc/mercurial/hgrc.d
262 - doins "${FILESDIR}/cacerts.rc"
263 -}
264 -
265 -src_test() {
266 - pushd tests &>/dev/null || die
267 - rm -rf *svn* # Subversion tests fail with 1.5
268 - rm -f test-archive* # Fails due to verbose tar output changes
269 - rm -f test-convert-baz* # GNU Arch baz
270 - rm -f test-convert-cvs* # CVS
271 - rm -f test-convert-darcs* # Darcs
272 - rm -f test-convert-git* # git
273 - rm -f test-convert-mtn* # monotone
274 - rm -f test-convert-tla* # GNU Arch tla
275 - #rm -f test-doctest* # doctest always fails with python 2.5.x
276 - rm -f test-largefiles* # tends to time out
277 -
278 - popd &>/dev/null || die
279 - distutils-r1_src_test
280 -}
281 -
282 -python_test() {
283 - local TEST_DIR
284 -
285 - rm -rf "${TMPDIR}"/test
286 - distutils_install_for_testing
287 - cd tests || die
288 - "${PYTHON}" run-tests.py --verbose \
289 - --tmpdir="${TMPDIR}"/test \
290 - --with-hg="${TEST_DIR}"/scripts/hg \
291 - || die "Tests fail with ${EPYTHON}"
292 -}
293 -
294 -pkg_postinst() {
295 - use emacs && elisp-site-regen
296 -
297 - elog "If you want to convert repositories from other tools using convert"
298 - elog "extension please install correct tool:"
299 - elog " dev-vcs/cvs"
300 - elog " dev-vcs/darcs"
301 - elog " dev-vcs/git"
302 - elog " dev-vcs/monotone"
303 - elog " dev-vcs/subversion"
304 -}
305 -
306 -pkg_postrm() {
307 - use emacs && elisp-site-regen
308 -}