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