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