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