1 |
commit: 0f35b73fd54c696546f208e13b3b4b72404c67a8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 12 09:08:26 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 12 09:08:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f35b73f |
7 |
|
8 |
dev-vcs/mercurial: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/mercurial/Manifest | 2 - |
14 |
dev-vcs/mercurial/mercurial-4.7.1-r1.ebuild | 139 -------------------------- |
15 |
dev-vcs/mercurial/mercurial-4.7.2.ebuild | 143 --------------------------- |
16 |
dev-vcs/mercurial/mercurial-4.8.1.ebuild | 145 ---------------------------- |
17 |
4 files changed, 429 deletions(-) |
18 |
|
19 |
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest |
20 |
index ae4a8075531..725b1e0694f 100644 |
21 |
--- a/dev-vcs/mercurial/Manifest |
22 |
+++ b/dev-vcs/mercurial/Manifest |
23 |
@@ -1,7 +1,5 @@ |
24 |
DIST mercurial-4.5.2.tar.gz 5779915 BLAKE2B 9abc5a8bafc43bc8e930bb51aa2e57397cd5858dc7bb31d9a37795a4e2799dc03b57130b23e29f89a07bd7502f136594a03d1a4bd5dfd04e2e968213b50413da SHA512 f70e40cba72b7955f0ecec9c1f53ffffac26f206188617cb182e22ce4f43dc8b970ce46d12c516ef88480c3fa076a59afcddd736dffb642d8e23befaf45b4941 |
25 |
DIST mercurial-4.6.2.tar.gz 6407989 BLAKE2B 22aa121b2544e3597f2ea4d3a7a80b3b8f5ca6f9de15326dbee555ca3d14b8a552042c4448aae17b1c015b4f302c3512c204f17a834b758f51fbcc2455ed4e6f SHA512 71afb9ed3f62b1b946563c55851dda1fc8b724afe82a4a253c7f4719ae9e1160d5f9644bed7fd27ee3a21d8e682352364fc9f47bafa552cd4cd7fac7c0d42bdd |
26 |
DIST mercurial-4.7.1.tar.gz 6480135 BLAKE2B de34cdd34d5fa2a6f4e1f24730c99b5764b9ac15aef21284337924d13bd5b4b14684d729149c4b48bf8fde13679cf661d92da968943c3f04ea065729df42318c SHA512 04d3f97dd4a0f36c6f6d639d8eccc7e4f29b2dc211fa69e7fc17dae0eb954f2ddaaf04f70facc6b968a166db7c07ed80792575d7a27e80bc0c1a43fc38b5e536 |
27 |
-DIST mercurial-4.7.2.tar.gz 6481684 BLAKE2B 1006e541b52148f44b14767a738f4add4d03c719bc6f96f3f245f6bfd401223b1e7444216304fba749b88611cd031cb14089d9938a5533477160226286dd401d SHA512 e8742e9555a6b57e96e61091757b4bcb574605c49082874bd4edb9114a70e5cb024c1360a75c24f1a9ae3bca3205316e6a264ae18d3c9946248bc1d2b042ad43 |
28 |
-DIST mercurial-4.8.1.tar.gz 6869733 BLAKE2B 754be4e004af2b62e7ea2cbb1bbe27d4c0f03039e9c4db5ac5e734cb2b13002d7d68a1e2794e2478ce49302f6cb90976bb43bca56a8db7b05eb4ead93a3a46de SHA512 a4485c22f9bb0bb752bf42941f613cb3542c66cbec5d7d49be2090ac544f5dca0f476e4535a56e3f4f4f5fc02fb12739e6d1c7b407264fc2ba4b19b0230b9f93 |
29 |
DIST mercurial-4.8.2.tar.gz 6870985 BLAKE2B 822cbfd09b299870b02b7e181c216557d4dcbb60abcb34a95d22b457f130ff2c84c4f85291b6cd4b0314acd9061ec0d416c96821c2daa8627cd7740965944103 SHA512 1010f20ea5ed081f2d5c58e97696027b2d06dd0471b39e88a1858d5409bcf59f2ccf360925c417495834fccba06e1525ae70894233164d617227814ca2277e20 |
30 |
DIST mercurial-4.9.tar.gz 7075692 BLAKE2B ed11442e0cd5b27f47394ed1c15016930556d5cdc59ab18f1e0d5371e434eb752b68d3d9f6dd34ed9c63df62a646223e86c6c5178775d9b856eed5df65677900 SHA512 59a5467cebb51f17cce7bcada37f8d85906493ab2e3d443ceeae2c6598fb69d2d59f1e99c73bd08345c5f90501a7bae0d70e04c770ea7653ec30648e591c97fb |
31 |
|
32 |
diff --git a/dev-vcs/mercurial/mercurial-4.7.1-r1.ebuild b/dev-vcs/mercurial/mercurial-4.7.1-r1.ebuild |
33 |
deleted file mode 100644 |
34 |
index d50338a38b9..00000000000 |
35 |
--- a/dev-vcs/mercurial/mercurial-4.7.1-r1.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,139 +0,0 @@ |
38 |
-# Copyright 1999-2018 Gentoo Authors |
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 ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-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="app-misc/ca-certificates |
58 |
- dev-python/zstandard[${PYTHON_USEDEP}] |
59 |
- bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
60 |
- gpg? ( app-crypt/gnupg ) |
61 |
- tk? ( dev-lang/tk )" |
62 |
- |
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 |
- # Don't use bundled zstandard (#666972) |
77 |
- rm -r contrib/python-zstandard || die |
78 |
- sed '/contrib\/python-zstandard/d;/setup_zstd/d' -i setup.py || die |
79 |
- |
80 |
- distutils-r1_python_prepare_all |
81 |
-} |
82 |
- |
83 |
-python_configure_all() { |
84 |
- strip-flags -ftracer -ftree-vectorize |
85 |
- # Note: make it impl-conditional if py3 is supported |
86 |
- append-flags -fno-strict-aliasing |
87 |
- |
88 |
- "${PYTHON}" setup.py build_mo || die |
89 |
-} |
90 |
- |
91 |
-python_compile_all() { |
92 |
- rm -r contrib/win32 || die |
93 |
- if use emacs; then |
94 |
- cd contrib || die |
95 |
- elisp-compile mercurial.el || die "elisp-compile failed!" |
96 |
- fi |
97 |
-} |
98 |
- |
99 |
-python_install_all() { |
100 |
- distutils-r1_python_install_all |
101 |
- |
102 |
- newbashcomp contrib/bash_completion hg |
103 |
- |
104 |
- insinto /usr/share/zsh/site-functions |
105 |
- newins contrib/zsh_completion _hg |
106 |
- |
107 |
- rm -f doc/*.?.txt |
108 |
- dodoc CONTRIBUTORS |
109 |
- cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
110 |
- |
111 |
- dobin hgeditor |
112 |
- dobin contrib/hgk |
113 |
- python_foreach_impl python_doscript contrib/hg-ssh |
114 |
- |
115 |
- if use emacs; then |
116 |
- elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
117 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
118 |
- fi |
119 |
- |
120 |
- local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix plan9 *.el) |
121 |
- for f in ${RM_CONTRIB[@]}; do |
122 |
- rm -r contrib/$f || die |
123 |
- done |
124 |
- |
125 |
- dodoc -r contrib |
126 |
- docompress -x /usr/share/doc/${PF}/contrib |
127 |
- doman doc/*.? |
128 |
- |
129 |
- insinto /etc/mercurial/hgrc.d |
130 |
- doins "${FILESDIR}/cacerts.rc" |
131 |
-} |
132 |
- |
133 |
-src_test() { |
134 |
- pushd tests &>/dev/null || die |
135 |
- rm -rf *svn* # Subversion tests fail with 1.5 |
136 |
- rm -f test-archive* # Fails due to verbose tar output changes |
137 |
- rm -f test-convert-baz* # GNU Arch baz |
138 |
- rm -f test-convert-cvs* # CVS |
139 |
- rm -f test-convert-darcs* # Darcs |
140 |
- rm -f test-convert-git* # git |
141 |
- rm -f test-convert-mtn* # monotone |
142 |
- rm -f test-convert-tla* # GNU Arch tla |
143 |
- #rm -f test-doctest* # doctest always fails with python 2.5.x |
144 |
- rm -f test-largefiles* # tends to time out |
145 |
- |
146 |
- popd &>/dev/null || die |
147 |
- distutils-r1_src_test |
148 |
-} |
149 |
- |
150 |
-python_test() { |
151 |
- local TEST_DIR |
152 |
- |
153 |
- rm -rf "${TMPDIR}"/test |
154 |
- distutils_install_for_testing |
155 |
- cd tests || die |
156 |
- "${PYTHON}" run-tests.py --verbose \ |
157 |
- --tmpdir="${TMPDIR}"/test \ |
158 |
- --with-hg="${TEST_DIR}"/scripts/hg \ |
159 |
- || die "Tests fail with ${EPYTHON}" |
160 |
-} |
161 |
- |
162 |
-pkg_postinst() { |
163 |
- use emacs && elisp-site-regen |
164 |
- |
165 |
- elog "If you want to convert repositories from other tools using convert" |
166 |
- elog "extension please install correct tool:" |
167 |
- elog " dev-vcs/cvs" |
168 |
- elog " dev-vcs/darcs" |
169 |
- elog " dev-vcs/git" |
170 |
- elog " dev-vcs/monotone" |
171 |
- elog " dev-vcs/subversion" |
172 |
-} |
173 |
- |
174 |
-pkg_postrm() { |
175 |
- use emacs && elisp-site-regen |
176 |
-} |
177 |
|
178 |
diff --git a/dev-vcs/mercurial/mercurial-4.7.2.ebuild b/dev-vcs/mercurial/mercurial-4.7.2.ebuild |
179 |
deleted file mode 100644 |
180 |
index 59b7732b654..00000000000 |
181 |
--- a/dev-vcs/mercurial/mercurial-4.7.2.ebuild |
182 |
+++ /dev/null |
183 |
@@ -1,143 +0,0 @@ |
184 |
-# Copyright 1999-2019 Gentoo Authors |
185 |
-# Distributed under the terms of the GNU General Public License v2 |
186 |
- |
187 |
-EAPI=6 |
188 |
- |
189 |
-PYTHON_COMPAT=( python2_7 ) |
190 |
-PYTHON_REQ_USE="threads" |
191 |
- |
192 |
-inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic |
193 |
- |
194 |
-DESCRIPTION="Scalable distributed SCM" |
195 |
-HOMEPAGE="https://www.mercurial-scm.org/" |
196 |
-SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz" |
197 |
- |
198 |
-LICENSE="GPL-2+" |
199 |
-SLOT="0" |
200 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
201 |
-IUSE="bugzilla emacs gpg test tk" |
202 |
- |
203 |
-RDEPEND="app-misc/ca-certificates |
204 |
- dev-python/zstandard[${PYTHON_USEDEP}] |
205 |
- bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
206 |
- gpg? ( app-crypt/gnupg ) |
207 |
- tk? ( dev-lang/tk )" |
208 |
- |
209 |
-DEPEND="emacs? ( virtual/emacs ) |
210 |
- test? ( app-arch/unzip |
211 |
- dev-python/pygments[${PYTHON_USEDEP}] )" |
212 |
- |
213 |
-SITEFILE="70${PN}-gentoo.el" |
214 |
- |
215 |
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" ) |
216 |
- |
217 |
-python_prepare_all() { |
218 |
- # fix up logic that won't work in Gentoo Prefix (also won't outside in |
219 |
- # certain cases), bug #362891 |
220 |
- sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
221 |
- |
222 |
- # Don't use bundled zstandard (#666972) |
223 |
- rm -r contrib/python-zstandard || die |
224 |
- sed '/contrib\/python-zstandard/d;/setup_zstd/d' -i setup.py || die |
225 |
- |
226 |
- distutils-r1_python_prepare_all |
227 |
-} |
228 |
- |
229 |
-python_configure_all() { |
230 |
- strip-flags -ftracer -ftree-vectorize |
231 |
- # Note: make it impl-conditional if py3 is supported |
232 |
- append-flags -fno-strict-aliasing |
233 |
- |
234 |
- "${PYTHON}" setup.py build_mo || die |
235 |
-} |
236 |
- |
237 |
-python_compile_all() { |
238 |
- rm -r contrib/win32 || die |
239 |
- if use emacs; then |
240 |
- cd contrib || die |
241 |
- elisp-compile mercurial.el || die "elisp-compile failed!" |
242 |
- fi |
243 |
-} |
244 |
- |
245 |
-python_install_all() { |
246 |
- distutils-r1_python_install_all |
247 |
- |
248 |
- newbashcomp contrib/bash_completion hg |
249 |
- |
250 |
- insinto /usr/share/zsh/site-functions |
251 |
- newins contrib/zsh_completion _hg |
252 |
- |
253 |
- rm -f doc/*.?.txt |
254 |
- dodoc CONTRIBUTORS |
255 |
- cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
256 |
- |
257 |
- dobin hgeditor |
258 |
- dobin contrib/hgk |
259 |
- python_foreach_impl python_doscript contrib/hg-ssh |
260 |
- |
261 |
- if use emacs; then |
262 |
- elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
263 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
264 |
- fi |
265 |
- |
266 |
- local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix plan9 *.el) |
267 |
- for f in ${RM_CONTRIB[@]}; do |
268 |
- rm -r contrib/$f || die |
269 |
- done |
270 |
- |
271 |
- dodoc -r contrib |
272 |
- docompress -x /usr/share/doc/${PF}/contrib |
273 |
- doman doc/*.? |
274 |
- |
275 |
- insinto /etc/mercurial/hgrc.d |
276 |
- doins "${FILESDIR}/cacerts.rc" |
277 |
- |
278 |
- # symlink to system zstd |
279 |
- local sitedir=$(python_get_sitedir) |
280 |
- dosym ../zstd.so "${sitedir#${EPREFIX}}"/${PN}/zstd.so |
281 |
-} |
282 |
- |
283 |
-src_test() { |
284 |
- pushd tests &>/dev/null || die |
285 |
- rm -rf *svn* # Subversion tests fail with 1.5 |
286 |
- rm -f test-archive* # Fails due to verbose tar output changes |
287 |
- rm -f test-convert-baz* # GNU Arch baz |
288 |
- rm -f test-convert-cvs* # CVS |
289 |
- rm -f test-convert-darcs* # Darcs |
290 |
- rm -f test-convert-git* # git |
291 |
- rm -f test-convert-mtn* # monotone |
292 |
- rm -f test-convert-tla* # GNU Arch tla |
293 |
- #rm -f test-doctest* # doctest always fails with python 2.5.x |
294 |
- rm -f test-largefiles* # tends to time out |
295 |
- |
296 |
- popd &>/dev/null || die |
297 |
- distutils-r1_src_test |
298 |
-} |
299 |
- |
300 |
-python_test() { |
301 |
- local TEST_DIR |
302 |
- |
303 |
- rm -rf "${TMPDIR}"/test |
304 |
- distutils_install_for_testing |
305 |
- cd tests || die |
306 |
- "${PYTHON}" run-tests.py --verbose \ |
307 |
- --tmpdir="${TMPDIR}"/test \ |
308 |
- --with-hg="${TEST_DIR}"/scripts/hg \ |
309 |
- || die "Tests fail with ${EPYTHON}" |
310 |
-} |
311 |
- |
312 |
-pkg_postinst() { |
313 |
- use emacs && elisp-site-regen |
314 |
- |
315 |
- elog "If you want to convert repositories from other tools using convert" |
316 |
- elog "extension please install correct tool:" |
317 |
- elog " dev-vcs/cvs" |
318 |
- elog " dev-vcs/darcs" |
319 |
- elog " dev-vcs/git" |
320 |
- elog " dev-vcs/monotone" |
321 |
- elog " dev-vcs/subversion" |
322 |
-} |
323 |
- |
324 |
-pkg_postrm() { |
325 |
- use emacs && elisp-site-regen |
326 |
-} |
327 |
|
328 |
diff --git a/dev-vcs/mercurial/mercurial-4.8.1.ebuild b/dev-vcs/mercurial/mercurial-4.8.1.ebuild |
329 |
deleted file mode 100644 |
330 |
index c2da7946346..00000000000 |
331 |
--- a/dev-vcs/mercurial/mercurial-4.8.1.ebuild |
332 |
+++ /dev/null |
333 |
@@ -1,145 +0,0 @@ |
334 |
-# Copyright 1999-2019 Gentoo Authors |
335 |
-# Distributed under the terms of the GNU General Public License v2 |
336 |
- |
337 |
-EAPI=7 |
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="https://www.mercurial-scm.org/" |
346 |
-SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz" |
347 |
- |
348 |
-LICENSE="GPL-2+" |
349 |
-SLOT="0" |
350 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-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="app-misc/ca-certificates |
354 |
- dev-python/zstandard[${PYTHON_USEDEP}] |
355 |
- bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
356 |
- gpg? ( app-crypt/gnupg ) |
357 |
- tk? ( dev-lang/tk )" |
358 |
- |
359 |
-DEPEND="emacs? ( virtual/emacs ) |
360 |
- test? ( app-arch/unzip |
361 |
- dev-python/pygments[${PYTHON_USEDEP}] )" |
362 |
- |
363 |
-SITEFILE="70${PN}-gentoo.el" |
364 |
- |
365 |
-PATCHES=( |
366 |
- "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" |
367 |
- "${FILESDIR}/${PN}-4.8.1-unbundle_zstd.patch" |
368 |
-) |
369 |
- |
370 |
-python_prepare_all() { |
371 |
- # fix up logic that won't work in Gentoo Prefix (also won't outside in |
372 |
- # certain cases), bug #362891 |
373 |
- sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
374 |
- |
375 |
- # Don't use bundled zstandard (#666972) |
376 |
- rm -r contrib/python-zstandard || die |
377 |
- |
378 |
- distutils-r1_python_prepare_all |
379 |
-} |
380 |
- |
381 |
-python_configure_all() { |
382 |
- strip-flags -ftracer -ftree-vectorize |
383 |
- # Note: make it impl-conditional if py3 is supported |
384 |
- append-flags -fno-strict-aliasing |
385 |
- |
386 |
- "${PYTHON}" setup.py build_mo || die |
387 |
-} |
388 |
- |
389 |
-python_compile_all() { |
390 |
- rm -r contrib/win32 || die |
391 |
- if use emacs; then |
392 |
- cd contrib || die |
393 |
- elisp-compile mercurial.el || die "elisp-compile failed!" |
394 |
- fi |
395 |
-} |
396 |
- |
397 |
-python_install_all() { |
398 |
- distutils-r1_python_install_all |
399 |
- |
400 |
- newbashcomp contrib/bash_completion hg |
401 |
- |
402 |
- insinto /usr/share/zsh/site-functions |
403 |
- newins contrib/zsh_completion _hg |
404 |
- |
405 |
- rm -f doc/*.?.txt |
406 |
- dodoc CONTRIBUTORS |
407 |
- cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
408 |
- |
409 |
- dobin hgeditor |
410 |
- dobin contrib/hgk |
411 |
- python_foreach_impl python_doscript contrib/hg-ssh |
412 |
- |
413 |
- if use emacs; then |
414 |
- elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
415 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
416 |
- fi |
417 |
- |
418 |
- local RM_CONTRIB=( hgk hg-ssh bash_completion zsh_completion wix plan9 *.el ) |
419 |
- for f in ${RM_CONTRIB[@]}; do |
420 |
- rm -r contrib/${f} || die |
421 |
- done |
422 |
- |
423 |
- dodoc -r contrib |
424 |
- docompress -x /usr/share/doc/${PF}/contrib |
425 |
- doman doc/*.? |
426 |
- |
427 |
- insinto /etc/mercurial/hgrc.d |
428 |
- doins "${FILESDIR}/cacerts.rc" |
429 |
- |
430 |
- # symlink to system zstd |
431 |
- local sitedir=$(python_get_sitedir) |
432 |
- dosym ../zstd.so "${sitedir#${EPREFIX}}"/${PN}/zstd.so |
433 |
-} |
434 |
- |
435 |
-src_test() { |
436 |
- pushd tests &>/dev/null || die |
437 |
- rm -rf *svn* # Subversion tests fail with 1.5 |
438 |
- rm -f test-archive* # Fails due to verbose tar output changes |
439 |
- rm -f test-convert-baz* # GNU Arch baz |
440 |
- rm -f test-convert-cvs* # CVS |
441 |
- rm -f test-convert-darcs* # Darcs |
442 |
- rm -f test-convert-git* # git |
443 |
- rm -f test-convert-mtn* # monotone |
444 |
- rm -f test-convert-tla* # GNU Arch tla |
445 |
- #rm -f test-doctest* # doctest always fails with python 2.5.x |
446 |
- rm -f test-largefiles* # tends to time out |
447 |
- |
448 |
- popd &>/dev/null || die |
449 |
- distutils-r1_src_test |
450 |
-} |
451 |
- |
452 |
-python_test() { |
453 |
- local TEST_DIR |
454 |
- |
455 |
- rm -rf "${TMPDIR}"/test |
456 |
- distutils_install_for_testing |
457 |
- cd tests || die |
458 |
- "${PYTHON}" run-tests.py --verbose \ |
459 |
- --tmpdir="${TMPDIR}"/test \ |
460 |
- --with-hg="${TEST_DIR}"/scripts/hg \ |
461 |
- || die "Tests fail with ${EPYTHON}" |
462 |
-} |
463 |
- |
464 |
-pkg_postinst() { |
465 |
- use emacs && elisp-site-regen |
466 |
- |
467 |
- elog "If you want to convert repositories from other tools using convert" |
468 |
- elog "extension please install correct tool:" |
469 |
- elog " dev-vcs/cvs" |
470 |
- elog " dev-vcs/darcs" |
471 |
- elog " dev-vcs/git" |
472 |
- elog " dev-vcs/monotone" |
473 |
- elog " dev-vcs/subversion" |
474 |
-} |
475 |
- |
476 |
-pkg_postrm() { |
477 |
- use emacs && elisp-site-regen |
478 |
-} |