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