1 |
polynomial-c 12/11/24 22:42:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mercurial-2.4-r1.ebuild |
5 |
Removed: mercurial-2.4.ebuild |
6 |
Log: |
7 |
Revbump to fix an endless grep search (needed by tortoisehg) |
8 |
|
9 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.88 dev-vcs/mercurial/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.88&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.88&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?r1=1.87&r2=1.88 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v |
21 |
retrieving revision 1.87 |
22 |
retrieving revision 1.88 |
23 |
diff -u -r1.87 -r1.88 |
24 |
--- ChangeLog 11 Nov 2012 18:04:43 -0000 1.87 |
25 |
+++ ChangeLog 24 Nov 2012 22:42:49 -0000 1.88 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-vcs/mercurial |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.87 2012/11/11 18:04:43 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.88 2012/11/24 22:42:49 polynomial-c Exp $ |
31 |
+ |
32 |
+*mercurial-2.4-r1 (24 Nov 2012) |
33 |
+ |
34 |
+ 24 Nov 2012; Lars Wendler <polynomial-c@g.o> -mercurial-2.4.ebuild, |
35 |
+ +mercurial-2.4-r1.ebuild, +files/mercurial-2.4-dont_grep_indefinitely.patch: |
36 |
+ non-maintainer commit: Revbump to fix an endless grep search (needed by |
37 |
+ tortoisehg). |
38 |
|
39 |
*mercurial-2.4 (11 Nov 2012) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-vcs/mercurial/mercurial-2.4-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/mercurial-2.4-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/mercurial-2.4-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: mercurial-2.4-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-2.4-r1.ebuild,v 1.1 2012/11/24 22:42:49 polynomial-c Exp $ |
54 |
|
55 |
EAPI=3 |
56 |
PYTHON_DEPEND="2" |
57 |
PYTHON_USE_WITH="threads" |
58 |
SUPPORT_PYTHON_ABIS="1" |
59 |
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" |
60 |
|
61 |
inherit bash-completion-r1 elisp-common eutils distutils |
62 |
|
63 |
DESCRIPTION="Scalable distributed SCM" |
64 |
HOMEPAGE="http://mercurial.selenic.com/" |
65 |
SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
70 |
IUSE="bugzilla emacs gpg test tk zsh-completion" |
71 |
|
72 |
RDEPEND="bugzilla? ( dev-python/mysql-python ) |
73 |
gpg? ( app-crypt/gnupg ) |
74 |
tk? ( dev-lang/tk ) |
75 |
zsh-completion? ( app-shells/zsh )" |
76 |
DEPEND="emacs? ( virtual/emacs ) |
77 |
test? ( app-arch/unzip |
78 |
dev-python/pygments )" |
79 |
|
80 |
PYTHON_CFLAGS=( |
81 |
"2.* + -fno-strict-aliasing" |
82 |
"* - -ftracer -ftree-vectorize" |
83 |
) |
84 |
|
85 |
PYTHON_MODNAME="${PN} hgext" |
86 |
SITEFILE="70${PN}-gentoo.el" |
87 |
|
88 |
src_prepare() { |
89 |
distutils_src_prepare |
90 |
|
91 |
# fix up logic that won't work in Gentoo Prefix (also won't outside in |
92 |
# certain cases), bug #362891 |
93 |
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
94 |
|
95 |
# Fix an endless grep search (needed by tortoisehg) |
96 |
epatch "${FILESDIR}"/${P}-dont_grep_indefinitely.patch |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
distutils_src_compile |
101 |
|
102 |
if use emacs; then |
103 |
cd "${S}"/contrib || die |
104 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
105 |
fi |
106 |
|
107 |
rm -rf contrib/{win32,macosx} || die |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
distutils_src_install |
112 |
|
113 |
newbashcomp contrib/bash_completion ${PN} || die |
114 |
|
115 |
if use zsh-completion ; then |
116 |
insinto /usr/share/zsh/site-functions |
117 |
newins contrib/zsh_completion _hg || die |
118 |
fi |
119 |
|
120 |
rm -f doc/*.?.txt || die |
121 |
dodoc CONTRIBUTORS PKG-INFO README doc/*.txt || die |
122 |
cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
123 |
|
124 |
dobin hgeditor || die |
125 |
dobin contrib/hgk || die |
126 |
dobin contrib/hg-ssh || die |
127 |
|
128 |
rm -f contrib/hgk contrib/hg-ssh || die |
129 |
|
130 |
rm -f contrib/bash_completion || die |
131 |
cp -r contrib "${ED}"/usr/share/doc/${PF}/ || die |
132 |
doman doc/*.? || die |
133 |
|
134 |
cat > "${T}/80mercurial" <<-EOF |
135 |
HG="${EPREFIX}/usr/bin/hg" |
136 |
EOF |
137 |
doenvd "${T}/80mercurial" || die |
138 |
|
139 |
if use emacs; then |
140 |
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
141 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
142 |
fi |
143 |
} |
144 |
|
145 |
src_test() { |
146 |
cd "${S}/tests/" || die |
147 |
rm -rf *svn* || die # Subversion tests fail with 1.5 |
148 |
rm -f test-archive || die # Fails due to verbose tar output changes |
149 |
rm -f test-convert-baz* || die # GNU Arch baz |
150 |
rm -f test-convert-cvs* || die # CVS |
151 |
rm -f test-convert-darcs* || die # Darcs |
152 |
rm -f test-convert-git* || die # git |
153 |
rm -f test-convert-mtn* || die # monotone |
154 |
rm -f test-convert-tla* || die # GNU Arch tla |
155 |
rm -f test-doctest* || die # doctest always fails with python 2.5.x |
156 |
if [[ ${EUID} -eq 0 ]]; then |
157 |
einfo "Removing tests which require user privileges to succeed" |
158 |
rm -f test-command-template || die # Test is broken when run as root |
159 |
rm -f test-convert || die # Test is broken when run as root |
160 |
rm -f test-lock-badness || die # Test is broken when run as root |
161 |
rm -f test-permissions || die # Test is broken when run as root |
162 |
rm -f test-pull-permission || die # Test is broken when run as root |
163 |
rm -f test-clone-failure || die |
164 |
rm -f test-journal-exists || die |
165 |
rm -f test-repair-strip || die |
166 |
fi |
167 |
|
168 |
testing() { |
169 |
local testdir="${T}/tests-${PYTHON_ABI}" |
170 |
rm -rf "${testdir}" || die |
171 |
"$(PYTHON)" run-tests.py --tmpdir="${testdir}" |
172 |
} |
173 |
python_execute_function testing |
174 |
} |
175 |
|
176 |
pkg_postinst() { |
177 |
distutils_pkg_postinst |
178 |
use emacs && elisp-site-regen |
179 |
|
180 |
elog "If you want to convert repositories from other tools using convert" |
181 |
elog "extension please install correct tool:" |
182 |
elog " dev-vcs/cvs" |
183 |
elog " dev-vcs/darcs" |
184 |
elog " dev-vcs/git" |
185 |
elog " dev-vcs/monotone" |
186 |
elog " dev-vcs/subversion" |
187 |
} |
188 |
|
189 |
pkg_postrm() { |
190 |
distutils_pkg_postrm |
191 |
use emacs && elisp-site-regen |
192 |
} |