1 |
polynomial-c 14/01/03 09:05:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mercurial-2.8.2.ebuild |
5 |
Removed: mercurial-2.8.ebuild |
6 |
Log: |
7 |
Version bump. Removed old |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.132 dev-vcs/mercurial/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.132&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?rev=1.132&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/ChangeLog?r1=1.131&r2=1.132 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v |
21 |
retrieving revision 1.131 |
22 |
retrieving revision 1.132 |
23 |
diff -u -r1.131 -r1.132 |
24 |
--- ChangeLog 3 Dec 2013 11:37:45 -0000 1.131 |
25 |
+++ ChangeLog 3 Jan 2014 09:05:58 -0000 1.132 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-vcs/mercurial |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.131 2013/12/03 11:37:45 polynomial-c Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/ChangeLog,v 1.132 2014/01/03 09:05:58 polynomial-c Exp $ |
32 |
+ |
33 |
+*mercurial-2.8.2 (03 Jan 2014) |
34 |
+ |
35 |
+ 03 Jan 2014; Lars Wendler <polynomial-c@g.o> -mercurial-2.8.ebuild, |
36 |
+ +mercurial-2.8.2.ebuild: |
37 |
+ Version bump. Removed old. |
38 |
|
39 |
*mercurial-2.8.1 (03 Dec 2013) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-vcs/mercurial/mercurial-2.8.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/mercurial-2.8.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/mercurial/mercurial-2.8.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: mercurial-2.8.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 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.8.2.ebuild,v 1.1 2014/01/03 09:05:58 polynomial-c Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
58 |
PYTHON_REQ_USE="threads" |
59 |
|
60 |
inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic |
61 |
|
62 |
DESCRIPTION="Scalable distributed SCM" |
63 |
HOMEPAGE="http://mercurial.selenic.com/" |
64 |
SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~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" |
69 |
IUSE="bugzilla emacs gpg test tk zsh-completion" |
70 |
|
71 |
RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
72 |
gpg? ( app-crypt/gnupg ) |
73 |
tk? ( dev-lang/tk ) |
74 |
zsh-completion? ( app-shells/zsh ) |
75 |
app-misc/ca-certificates" |
76 |
DEPEND="emacs? ( virtual/emacs ) |
77 |
test? ( app-arch/unzip |
78 |
dev-python/pygments[${PYTHON_USEDEP}] )" |
79 |
|
80 |
SITEFILE="70${PN}-gentoo.el" |
81 |
|
82 |
python_prepare_all() { |
83 |
# fix up logic that won't work in Gentoo Prefix (also won't outside in |
84 |
# certain cases), bug #362891 |
85 |
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die |
86 |
|
87 |
distutils-r1_python_prepare_all |
88 |
} |
89 |
|
90 |
python_configure_all() { |
91 |
strip-flags -ftracer -ftree-vectorize |
92 |
# Note: make it impl-conditional if py3 is supported |
93 |
append-flags -fno-strict-aliasing |
94 |
|
95 |
"${PYTHON}" setup.py build_mo || die |
96 |
} |
97 |
|
98 |
python_compile_all() { |
99 |
rm -r contrib/{win32,macosx} || die |
100 |
if use emacs; then |
101 |
cd contrib || die |
102 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
103 |
fi |
104 |
} |
105 |
|
106 |
python_install_all() { |
107 |
distutils-r1_python_install_all |
108 |
|
109 |
newbashcomp contrib/bash_completion hg |
110 |
|
111 |
if use zsh-completion ; then |
112 |
insinto /usr/share/zsh/site-functions |
113 |
newins contrib/zsh_completion _hg |
114 |
fi |
115 |
|
116 |
rm -f doc/*.?.txt |
117 |
dodoc CONTRIBUTORS |
118 |
cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die |
119 |
|
120 |
dobin hgeditor |
121 |
dobin contrib/hgk |
122 |
python_foreach_impl python_doscript contrib/hg-ssh |
123 |
|
124 |
if use emacs; then |
125 |
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
126 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
127 |
fi |
128 |
|
129 |
local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9 |
130 |
*.el mercurial.spec) |
131 |
for f in ${RM_CONTRIB[@]}; do |
132 |
rm -rf contrib/$f || die |
133 |
done |
134 |
|
135 |
dodoc -r contrib |
136 |
docompress -x /usr/share/doc/${PF}/contrib |
137 |
doman doc/*.? |
138 |
|
139 |
cat > "${T}/80mercurial" <<-EOF |
140 |
HG="${EPREFIX}/usr/bin/hg" |
141 |
EOF |
142 |
doenvd "${T}/80mercurial" |
143 |
|
144 |
insinto /etc/mercurial/hgrc.d |
145 |
doins "${FILESDIR}/cacerts.rc" |
146 |
} |
147 |
|
148 |
src_test() { |
149 |
cd tests || die |
150 |
rm -rf *svn* || die # Subversion tests fail with 1.5 |
151 |
rm -f test-archive* || die # Fails due to verbose tar output changes |
152 |
rm -f test-convert-baz* || die # GNU Arch baz |
153 |
rm -f test-convert-cvs* || die # CVS |
154 |
rm -f test-convert-darcs* || die # Darcs |
155 |
rm -f test-convert-git* || die # git |
156 |
rm -f test-convert-mtn* || die # monotone |
157 |
rm -f test-convert-tla* || die # GNU Arch tla |
158 |
rm -f test-doctest* || die # doctest always fails with python 2.5.x |
159 |
rm -f test-largefiles* || die # tends to time out |
160 |
if [[ ${EUID} -eq 0 ]]; then |
161 |
einfo "Removing tests which require user privileges to succeed" |
162 |
rm -f test-command-template* || die # Test is broken when run as root |
163 |
rm -f test-convert* || die # Test is broken when run as root |
164 |
rm -f test-lock-badness* || die # Test is broken when run as root |
165 |
rm -f test-permissions* || die # Test is broken when run as root |
166 |
rm -f test-pull-permission* || die # Test is broken when run as root |
167 |
rm -f test-clone-failure* || die |
168 |
rm -f test-journal-exists* || die |
169 |
rm -f test-repair-strip* || die |
170 |
fi |
171 |
|
172 |
cd .. || die |
173 |
distutils-r1_src_test |
174 |
} |
175 |
|
176 |
python_test() { |
177 |
local TEST_DIR |
178 |
|
179 |
rm -rf "${TMPDIR}"/test |
180 |
distutils_install_for_testing |
181 |
cd tests || die |
182 |
"${PYTHON}" run-tests.py --verbose \ |
183 |
--tmpdir="${TMPDIR}"/test \ |
184 |
--with-hg="${TEST_DIR}"/scripts/hg \ |
185 |
|| die "Tests fail with ${EPYTHON}" |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
use emacs && elisp-site-regen |
190 |
|
191 |
elog "If you want to convert repositories from other tools using convert" |
192 |
elog "extension please install correct tool:" |
193 |
elog " dev-vcs/cvs" |
194 |
elog " dev-vcs/darcs" |
195 |
elog " dev-vcs/git" |
196 |
elog " dev-vcs/monotone" |
197 |
elog " dev-vcs/subversion" |
198 |
} |
199 |
|
200 |
pkg_postrm() { |
201 |
use emacs && elisp-site-regen |
202 |
} |