Gentoo Archives: gentoo-commits

From: "Dirkjan Ochtman (djc)" <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/mercurial: mercurial-1.5.1.ebuild ChangeLog mercurial-1.5.2.ebuild
Date: Sun, 02 May 2010 09:23:34
Message-Id: 20100502092331.57E2C2C1EC@corvid.gentoo.org
1 djc 10/05/02 09:23:31
2
3 Modified: mercurial-1.5.1.ebuild ChangeLog
4 Added: mercurial-1.5.2.ebuild
5 Log:
6 Version bump dev-vcs/mercurial to 1.5.2.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 dev-vcs/mercurial/mercurial-1.5.1.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild?r1=1.2&r2=1.3
15
16 Index: mercurial-1.5.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- mercurial-1.5.1.ebuild 7 Apr 2010 19:41:49 -0000 1.2
23 +++ mercurial-1.5.1.ebuild 2 May 2010 09:23:31 -0000 1.3
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild,v 1.2 2010/04/07 19:41:49 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.1.ebuild,v 1.3 2010/05/02 09:23:31 djc Exp $
29
30 EAPI=2
31
32 @@ -99,7 +99,7 @@
33 local testdir="${T}/tests"
34 rm -rf "${testdir}"
35 einfo "Running Mercurial tests ..."
36 - python run-tests.py --tmpdir="${testdir}" test-mq-qdelete || die "test failed"
37 + python run-tests.py --tmpdir="${testdir}" || die "test failed"
38 }
39
40 pkg_postinst() {
41
42
43
44 1.8 dev-vcs/mercurial/ChangeLog
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.8&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.8&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/ChangeLog?r1=1.7&r2=1.8
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v
53 retrieving revision 1.7
54 retrieving revision 1.8
55 diff -u -r1.7 -r1.8
56 --- ChangeLog 16 Apr 2010 15:24:46 -0000 1.7
57 +++ ChangeLog 2 May 2010 09:23:31 -0000 1.8
58 @@ -1,6 +1,12 @@
59 # ChangeLog for dev-vcs/mercurial
60 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.7 2010/04/16 15:24:46 ranger Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.8 2010/05/02 09:23:31 djc Exp $
63 +
64 +*mercurial-1.5.2 (02 May 2010)
65 +
66 + 02 May 2010; Dirkjan Ochtman <djc@g.o> mercurial-1.5.1.ebuild,
67 + +mercurial-1.5.2.ebuild:
68 + Version bump to 1.5.2.
69
70 16 Apr 2010; Brent Baude <ranger@g.o> mercurial-1.5.ebuild:
71 stable ppc, bug 314945
72
73
74
75 1.1 dev-vcs/mercurial/mercurial-1.5.2.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.2.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.2.ebuild?rev=1.1&content-type=text/plain
79
80 Index: mercurial-1.5.2.ebuild
81 ===================================================================
82 # Copyright 1999-2010 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.5.2.ebuild,v 1.1 2010/05/02 09:23:31 djc Exp $
85
86 EAPI=2
87
88 inherit bash-completion elisp-common flag-o-matic eutils distutils
89
90 DESCRIPTION="Scalable distributed SCM"
91 HOMEPAGE="http://mercurial.selenic.com/"
92 SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
93
94 LICENSE="GPL-2"
95 SLOT="0"
96 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
97 IUSE="bugzilla emacs gpg test tk zsh-completion"
98
99 CDEPEND=">=dev-lang/python-2.4[threads]"
100 RDEPEND="${CDEPEND}
101 bugzilla? ( dev-python/mysql-python )
102 gpg? ( app-crypt/gnupg )
103 tk? ( dev-lang/tk )
104 zsh-completion? ( app-shells/zsh )"
105 DEPEND="${CDEPEND}
106 emacs? ( virtual/emacs )
107 test? ( app-arch/unzip
108 dev-python/pygments )"
109
110 PYTHON_MODNAME="${PN} hgext"
111 SITEFILE="70${PN}-gentoo.el"
112
113 src_compile() {
114 filter-flags -ftracer -ftree-vectorize
115
116 distutils_src_compile
117
118 if use emacs; then
119 cd "${S}"/contrib
120 elisp-compile mercurial.el || die "elisp-compile failed!"
121 fi
122
123 rm -rf contrib/{win32,macosx}
124 }
125
126 src_install() {
127 distutils_src_install
128
129 dobashcompletion contrib/bash_completion ${PN}
130
131 if use zsh-completion ; then
132 insinto /usr/share/zsh/site-functions
133 newins contrib/zsh_completion _hg
134 fi
135
136 rm -f doc/*.?.txt
137 dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
138 cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
139
140 dobin hgeditor
141 dobin contrib/hgk
142 dobin contrib/hg-ssh
143
144 rm -f contrib/hgk contrib/hg-ssh
145
146 rm -f contrib/bash_completion
147 cp -r contrib "${D}"/usr/share/doc/${PF}/
148 doman doc/*.?
149
150 cat > "${T}/80mercurial" <<-EOF
151 HG=/usr/bin/hg
152 EOF
153 doenvd "${T}/80mercurial"
154
155 if use emacs; then
156 elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
157 elisp-site-file-install "${FILESDIR}"/${SITEFILE}
158 fi
159 }
160
161 src_test() {
162 cd "${S}/tests/"
163 rm -rf *svn* # Subversion tests fail with 1.5
164 rm -f test-archive # Fails due to verbose tar output changes
165 rm -f test-convert-baz* # GNU Arch baz
166 rm -f test-convert-cvs* # CVS
167 rm -f test-convert-darcs* # Darcs
168 rm -f test-convert-git* # git
169 rm -f test-convert-mtn* # monotone
170 rm -f test-convert-tla* # GNU Arch tla
171 rm -f test-doctest* # doctest always fails with python 2.5.x
172 if [[ ${EUID} -eq 0 ]]; then
173 einfo "Removing tests which require user privileges to succeed"
174 rm -f test-command-template # Test is broken when run as root
175 rm -f test-convert # Test is broken when run as root
176 rm -f test-lock-badness # Test is broken when run as root
177 rm -f test-permissions # Test is broken when run as root
178 rm -f test-pull-permission # Test is broken when run as root
179 fi
180 local testdir="${T}/tests"
181 rm -rf "${testdir}"
182 einfo "Running Mercurial tests ..."
183 python run-tests.py --tmpdir="${testdir}" || die "test failed"
184 }
185
186 pkg_postinst() {
187 distutils_pkg_postinst
188 use emacs && elisp-site-regen
189 bash-completion_pkg_postinst
190
191 elog "If you want to convert repositories from other tools using convert"
192 elog "extension please install correct tool:"
193 elog " dev-util/cvs"
194 elog " dev-vcs/darcs"
195 elog " dev-vcs/git"
196 elog " dev-vcs/monotone"
197 elog " dev-util/subversion"
198 }
199
200 pkg_postrm() {
201 distutils_pkg_postrm
202 use emacs && elisp-site-regen
203 }