1 |
commit: 8c0773d1e12d53a54c0a28f856e4b2265a3bcde3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 07:58:01 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 07:58:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c0773d1 |
7 |
|
8 |
dev-vcs/mercurial: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/mercurial/Manifest | 3 - |
14 |
dev-vcs/mercurial/mercurial-3.3.2.ebuild | 140 ------------------------------- |
15 |
dev-vcs/mercurial/mercurial-3.8.2.ebuild | 135 ----------------------------- |
16 |
dev-vcs/mercurial/mercurial-3.8.3.ebuild | 135 ----------------------------- |
17 |
4 files changed, 413 deletions(-) |
18 |
|
19 |
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest |
20 |
index e3b6fa4..e8721ee 100644 |
21 |
--- a/dev-vcs/mercurial/Manifest |
22 |
+++ b/dev-vcs/mercurial/Manifest |
23 |
@@ -1,6 +1,3 @@ |
24 |
-DIST mercurial-3.3.2.tar.gz 4165131 SHA256 67c617c740ac706f923371a26f02339b27cd6c36e5d3fb2ccad0dc02361527fa SHA512 f151ea3187b70d70a82f643aaacd2742d0ce5f996590eab008332a7f28df5a19e99634ff33b0509ad38d2b6b411627413a457255df8a8e45025246beebb6fcc1 WHIRLPOOL 740b1ebb68f7c8baf3e6a9b023be2423677e3189221dc302c0601b514193e27eaaf73985c9536c6aa03fa0c5b9be8c092cd7b3eaca5f77ee24bfa276bbb6109c |
25 |
DIST mercurial-3.7.3.tar.gz 4636732 SHA256 c099c42d74e2d520b61dd372cd996b0fa7605c06617834fd7b13c79b9a9a5b30 SHA512 7f9f97229e40c7092c16ccf227b19a08a9839d8ce19a9d057341fff75876bff32241ee9aa10eab293f779ea3e8a1d97577597187bd96251fb499cbb1075a82cf WHIRLPOOL 51d7f152a0af27924fec8b39933796f5584867efff7f271147139e740302d05f8976f3c2aa95cb724b774ba4951040483bb51b02eed1495d8b15012301ba060e |
26 |
-DIST mercurial-3.8.2.tar.gz 4771143 SHA256 cb78b16956140625266a8a6d1fadc7c868969d994086e1ec60279a66bf20bffd SHA512 16705396e71d86e7b0eec5d42e39d013812169f62cee10998bdfc088570759576aadcb7845f438b0e12664a3d8487fe5cd19c034811aefda8b2ee59e3d9a0f60 WHIRLPOOL e4428c5bc0274d4b50cc61084a6766f485df58e4ed80b0637a11033729a7e3224bd9ce7378c5d929b0e361a91e22b2e5a27c65af9a4d935b2fa05d6c435d8c4d |
27 |
-DIST mercurial-3.8.3.tar.gz 4772901 SHA256 f84556cdf9a331984261549d9d08143ab9da33d7c03f0aa323b0ee52d0782a4c SHA512 d6106fe942406fa3fe85039fa67ca47659b934cf2a027dfe24bfaff2f26130051ea1ee6064b30648769a12c4d6c7de2764463fb29a8194f50d79bcd63a4c5246 WHIRLPOOL 3c97a8032f030bd8b3c3a2a402eb847a069b6e8345f872d551fd705adb3d027dc8602d28cf2ff4f30ecf4cfb7017774821a21279140c9dc03f7e0cf6df2ca925 |
28 |
DIST mercurial-3.8.4.tar.gz 4775341 SHA256 4b2e3ef19d34fa1d781cb7425506a05d4b6b1172bab69d6ea78874175fdf3da6 SHA512 2ee785f631f9ae346e10ca77251a9ce6d3dacd598588c39f1a69ce1f4b668866f6109d682428512c37c300b26741b74672195538d66845e85cfff5ead886cf4c WHIRLPOOL 1f0a12cc6d00f3544ab00e011a9ff9308fe1652c0598045ddba2a41ba17b55c291da200bce85d4c600d673b8746e936c441ffa7398ad810d1069bd97fb32f2db |
29 |
DIST mercurial-3.9.tar.gz 4796280 SHA256 834f25dcff44994198fb8a7ba161a6e24204dbd63c8e6270577e06e6cedbdabc SHA512 148d5f4c1c8c78b654b03d898f8e9624697caf3f75ff8d56496f8ba5b0e28c487f6800ea2e7e26bf2ac5f01e9bdf92e7d3b4941c88521372af090a3587a0227b WHIRLPOOL e9aeddb4e660da53bf7db45472d1f6bd6ea4772ea590ec0c359bba5bb4c51cd2e26c0792c35ab9d311a83556e8e785ed8ebdad53adacf07e9450eaa98b9ce183 |
30 |
|
31 |
diff --git a/dev-vcs/mercurial/mercurial-3.3.2.ebuild b/dev-vcs/mercurial/mercurial-3.3.2.ebuild |
32 |
deleted file mode 100644 |
33 |
index 4386ba8..0000000 |
34 |
--- a/dev-vcs/mercurial/mercurial-3.3.2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,140 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI=5 |
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="http://mercurial.selenic.com/" |
50 |
-SRC_URI="http://mercurial.selenic.com/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 ~x64-freebsd ~x86-interix ~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 |
- cat > "${T}/80mercurial" <<-EOF |
125 |
-HG="${EPREFIX}/usr/bin/hg" |
126 |
-EOF |
127 |
- doenvd "${T}/80mercurial" |
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-3.8.2.ebuild b/dev-vcs/mercurial/mercurial-3.8.2.ebuild |
179 |
deleted file mode 100644 |
180 |
index b3c5018..0000000 |
181 |
--- a/dev-vcs/mercurial/mercurial-3.8.2.ebuild |
182 |
+++ /dev/null |
183 |
@@ -1,135 +0,0 @@ |
184 |
-# Copyright 1999-2016 Gentoo Foundation |
185 |
-# Distributed under the terms of the GNU General Public License v2 |
186 |
-# $Id$ |
187 |
- |
188 |
-EAPI=6 |
189 |
- |
190 |
-PYTHON_COMPAT=( python2_7 ) |
191 |
-PYTHON_REQ_USE="threads" |
192 |
- |
193 |
-inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic |
194 |
- |
195 |
-DESCRIPTION="Scalable distributed SCM" |
196 |
-HOMEPAGE="http://mercurial.selenic.com/" |
197 |
-SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz" |
198 |
- |
199 |
-LICENSE="GPL-2" |
200 |
-SLOT="0" |
201 |
-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" |
202 |
-IUSE="bugzilla emacs gpg test tk" |
203 |
- |
204 |
-RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
205 |
- gpg? ( app-crypt/gnupg ) |
206 |
- tk? ( dev-lang/tk ) |
207 |
- app-misc/ca-certificates" |
208 |
-DEPEND="emacs? ( virtual/emacs ) |
209 |
- test? ( app-arch/unzip |
210 |
- dev-python/pygments[${PYTHON_USEDEP}] )" |
211 |
- |
212 |
-SITEFILE="70${PN}-gentoo.el" |
213 |
- |
214 |
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" ) |
215 |
- |
216 |
-python_prepare_all() { |
217 |
- # fix up logic that won't work in Gentoo Prefix (also won't outside in |
218 |
- # certain cases), bug #362891 |
219 |
- sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
220 |
- |
221 |
- distutils-r1_python_prepare_all |
222 |
-} |
223 |
- |
224 |
-python_configure_all() { |
225 |
- strip-flags -ftracer -ftree-vectorize |
226 |
- # Note: make it impl-conditional if py3 is supported |
227 |
- append-flags -fno-strict-aliasing |
228 |
- |
229 |
- "${PYTHON}" setup.py build_mo || die |
230 |
-} |
231 |
- |
232 |
-python_compile_all() { |
233 |
- rm -r contrib/{win32,macosx} || die |
234 |
- if use emacs; then |
235 |
- cd contrib || die |
236 |
- elisp-compile mercurial.el || die "elisp-compile failed!" |
237 |
- fi |
238 |
-} |
239 |
- |
240 |
-python_install_all() { |
241 |
- distutils-r1_python_install_all |
242 |
- |
243 |
- newbashcomp contrib/bash_completion hg |
244 |
- |
245 |
- insinto /usr/share/zsh/site-functions |
246 |
- newins contrib/zsh_completion _hg |
247 |
- |
248 |
- rm -f doc/*.?.txt |
249 |
- dodoc CONTRIBUTORS |
250 |
- cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
251 |
- |
252 |
- dobin hgeditor |
253 |
- dobin contrib/hgk |
254 |
- python_foreach_impl python_doscript contrib/hg-ssh |
255 |
- |
256 |
- if use emacs; then |
257 |
- elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
258 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
259 |
- fi |
260 |
- |
261 |
- local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9 |
262 |
- *.el mercurial.spec) |
263 |
- for f in ${RM_CONTRIB[@]}; do |
264 |
- rm -r contrib/$f || die |
265 |
- done |
266 |
- |
267 |
- dodoc -r contrib |
268 |
- docompress -x /usr/share/doc/${PF}/contrib |
269 |
- doman doc/*.? |
270 |
- |
271 |
- insinto /etc/mercurial/hgrc.d |
272 |
- doins "${FILESDIR}/cacerts.rc" |
273 |
-} |
274 |
- |
275 |
-src_test() { |
276 |
- pushd tests &>/dev/null || die |
277 |
- rm -rf *svn* # Subversion tests fail with 1.5 |
278 |
- rm -f test-archive* # Fails due to verbose tar output changes |
279 |
- rm -f test-convert-baz* # GNU Arch baz |
280 |
- rm -f test-convert-cvs* # CVS |
281 |
- rm -f test-convert-darcs* # Darcs |
282 |
- rm -f test-convert-git* # git |
283 |
- rm -f test-convert-mtn* # monotone |
284 |
- rm -f test-convert-tla* # GNU Arch tla |
285 |
- #rm -f test-doctest* # doctest always fails with python 2.5.x |
286 |
- rm -f test-largefiles* # tends to time out |
287 |
- |
288 |
- popd &>/dev/null || die |
289 |
- distutils-r1_src_test |
290 |
-} |
291 |
- |
292 |
-python_test() { |
293 |
- local TEST_DIR |
294 |
- |
295 |
- rm -rf "${TMPDIR}"/test |
296 |
- distutils_install_for_testing |
297 |
- cd tests || die |
298 |
- "${PYTHON}" run-tests.py --verbose \ |
299 |
- --tmpdir="${TMPDIR}"/test \ |
300 |
- --with-hg="${TEST_DIR}"/scripts/hg \ |
301 |
- || die "Tests fail with ${EPYTHON}" |
302 |
-} |
303 |
- |
304 |
-pkg_postinst() { |
305 |
- use emacs && elisp-site-regen |
306 |
- |
307 |
- elog "If you want to convert repositories from other tools using convert" |
308 |
- elog "extension please install correct tool:" |
309 |
- elog " dev-vcs/cvs" |
310 |
- elog " dev-vcs/darcs" |
311 |
- elog " dev-vcs/git" |
312 |
- elog " dev-vcs/monotone" |
313 |
- elog " dev-vcs/subversion" |
314 |
-} |
315 |
- |
316 |
-pkg_postrm() { |
317 |
- use emacs && elisp-site-regen |
318 |
-} |
319 |
|
320 |
diff --git a/dev-vcs/mercurial/mercurial-3.8.3.ebuild b/dev-vcs/mercurial/mercurial-3.8.3.ebuild |
321 |
deleted file mode 100644 |
322 |
index b3c5018..0000000 |
323 |
--- a/dev-vcs/mercurial/mercurial-3.8.3.ebuild |
324 |
+++ /dev/null |
325 |
@@ -1,135 +0,0 @@ |
326 |
-# Copyright 1999-2016 Gentoo Foundation |
327 |
-# Distributed under the terms of the GNU General Public License v2 |
328 |
-# $Id$ |
329 |
- |
330 |
-EAPI=6 |
331 |
- |
332 |
-PYTHON_COMPAT=( python2_7 ) |
333 |
-PYTHON_REQ_USE="threads" |
334 |
- |
335 |
-inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic |
336 |
- |
337 |
-DESCRIPTION="Scalable distributed SCM" |
338 |
-HOMEPAGE="http://mercurial.selenic.com/" |
339 |
-SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz" |
340 |
- |
341 |
-LICENSE="GPL-2" |
342 |
-SLOT="0" |
343 |
-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" |
344 |
-IUSE="bugzilla emacs gpg test tk" |
345 |
- |
346 |
-RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
347 |
- gpg? ( app-crypt/gnupg ) |
348 |
- tk? ( dev-lang/tk ) |
349 |
- app-misc/ca-certificates" |
350 |
-DEPEND="emacs? ( virtual/emacs ) |
351 |
- test? ( app-arch/unzip |
352 |
- dev-python/pygments[${PYTHON_USEDEP}] )" |
353 |
- |
354 |
-SITEFILE="70${PN}-gentoo.el" |
355 |
- |
356 |
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" ) |
357 |
- |
358 |
-python_prepare_all() { |
359 |
- # fix up logic that won't work in Gentoo Prefix (also won't outside in |
360 |
- # certain cases), bug #362891 |
361 |
- sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
362 |
- |
363 |
- distutils-r1_python_prepare_all |
364 |
-} |
365 |
- |
366 |
-python_configure_all() { |
367 |
- strip-flags -ftracer -ftree-vectorize |
368 |
- # Note: make it impl-conditional if py3 is supported |
369 |
- append-flags -fno-strict-aliasing |
370 |
- |
371 |
- "${PYTHON}" setup.py build_mo || die |
372 |
-} |
373 |
- |
374 |
-python_compile_all() { |
375 |
- rm -r contrib/{win32,macosx} || die |
376 |
- if use emacs; then |
377 |
- cd contrib || die |
378 |
- elisp-compile mercurial.el || die "elisp-compile failed!" |
379 |
- fi |
380 |
-} |
381 |
- |
382 |
-python_install_all() { |
383 |
- distutils-r1_python_install_all |
384 |
- |
385 |
- newbashcomp contrib/bash_completion hg |
386 |
- |
387 |
- insinto /usr/share/zsh/site-functions |
388 |
- newins contrib/zsh_completion _hg |
389 |
- |
390 |
- rm -f doc/*.?.txt |
391 |
- dodoc CONTRIBUTORS |
392 |
- cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
393 |
- |
394 |
- dobin hgeditor |
395 |
- dobin contrib/hgk |
396 |
- python_foreach_impl python_doscript contrib/hg-ssh |
397 |
- |
398 |
- if use emacs; then |
399 |
- elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
400 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
401 |
- fi |
402 |
- |
403 |
- local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9 |
404 |
- *.el mercurial.spec) |
405 |
- for f in ${RM_CONTRIB[@]}; do |
406 |
- rm -r contrib/$f || die |
407 |
- done |
408 |
- |
409 |
- dodoc -r contrib |
410 |
- docompress -x /usr/share/doc/${PF}/contrib |
411 |
- doman doc/*.? |
412 |
- |
413 |
- insinto /etc/mercurial/hgrc.d |
414 |
- doins "${FILESDIR}/cacerts.rc" |
415 |
-} |
416 |
- |
417 |
-src_test() { |
418 |
- pushd tests &>/dev/null || die |
419 |
- rm -rf *svn* # Subversion tests fail with 1.5 |
420 |
- rm -f test-archive* # Fails due to verbose tar output changes |
421 |
- rm -f test-convert-baz* # GNU Arch baz |
422 |
- rm -f test-convert-cvs* # CVS |
423 |
- rm -f test-convert-darcs* # Darcs |
424 |
- rm -f test-convert-git* # git |
425 |
- rm -f test-convert-mtn* # monotone |
426 |
- rm -f test-convert-tla* # GNU Arch tla |
427 |
- #rm -f test-doctest* # doctest always fails with python 2.5.x |
428 |
- rm -f test-largefiles* # tends to time out |
429 |
- |
430 |
- popd &>/dev/null || die |
431 |
- distutils-r1_src_test |
432 |
-} |
433 |
- |
434 |
-python_test() { |
435 |
- local TEST_DIR |
436 |
- |
437 |
- rm -rf "${TMPDIR}"/test |
438 |
- distutils_install_for_testing |
439 |
- cd tests || die |
440 |
- "${PYTHON}" run-tests.py --verbose \ |
441 |
- --tmpdir="${TMPDIR}"/test \ |
442 |
- --with-hg="${TEST_DIR}"/scripts/hg \ |
443 |
- || die "Tests fail with ${EPYTHON}" |
444 |
-} |
445 |
- |
446 |
-pkg_postinst() { |
447 |
- use emacs && elisp-site-regen |
448 |
- |
449 |
- elog "If you want to convert repositories from other tools using convert" |
450 |
- elog "extension please install correct tool:" |
451 |
- elog " dev-vcs/cvs" |
452 |
- elog " dev-vcs/darcs" |
453 |
- elog " dev-vcs/git" |
454 |
- elog " dev-vcs/monotone" |
455 |
- elog " dev-vcs/subversion" |
456 |
-} |
457 |
- |
458 |
-pkg_postrm() { |
459 |
- use emacs && elisp-site-regen |
460 |
-} |