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