1 |
nelchael 08/07/04 06:59:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mercurial-1.0.1-r3.ebuild |
5 |
Log: |
6 |
Make tests work, see bug #230646. |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-tuxonice-r6 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.74 dev-util/mercurial/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.74&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.74&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?r1=1.73&r2=1.74 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v |
19 |
retrieving revision 1.73 |
20 |
retrieving revision 1.74 |
21 |
diff -u -r1.73 -r1.74 |
22 |
--- ChangeLog 3 Jul 2008 16:08:06 -0000 1.73 |
23 |
+++ ChangeLog 4 Jul 2008 06:59:52 -0000 1.74 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/mercurial |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.73 2008/07/03 16:08:06 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.74 2008/07/04 06:59:52 nelchael Exp $ |
29 |
+ |
30 |
+*mercurial-1.0.1-r3 (04 Jul 2008) |
31 |
+ |
32 |
+ 04 Jul 2008; Krzysiek Pawlik <nelchael@g.o> |
33 |
+ +mercurial-1.0.1-r3.ebuild: |
34 |
+ Make tests work, see bug #230646. |
35 |
|
36 |
03 Jul 2008; Raúl Porcel <armin76@g.o> mercurial-1.0.1-r2.ebuild: |
37 |
alpha/ia64/sparc/x86 stable wrt #230193 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/mercurial/mercurial-1.0.1-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mercurial-1.0.1-r3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r3.ebuild,v 1.1 2008/07/04 06:59:52 nelchael Exp $ |
51 |
|
52 |
inherit bash-completion distutils elisp-common flag-o-matic eutils |
53 |
|
54 |
DESCRIPTION="Scalable distributed SCM" |
55 |
HOMEPAGE="http://www.selenic.com/mercurial/" |
56 |
SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
61 |
IUSE="bugzilla emacs gpg test zsh-completion" |
62 |
|
63 |
CDEPEND=">=dev-lang/python-2.3" |
64 |
RDEPEND="${CDEPEND} |
65 |
bugzilla? ( dev-python/mysql-python ) |
66 |
gpg? ( app-crypt/gnupg ) |
67 |
zsh-completion? ( app-shells/zsh )" |
68 |
DEPEND="${CDEPEND} |
69 |
emacs? ( virtual/emacs ) |
70 |
test? ( app-arch/unzip |
71 |
dev-python/pygments )" |
72 |
|
73 |
PYTHON_MODNAME="${PN} hgext" |
74 |
SITEFILE="70${PN}-gentoo.el" |
75 |
|
76 |
src_unpack() { |
77 |
distutils_src_unpack |
78 |
cd "${S}" |
79 |
epatch "${FILESDIR}/${P}-87c704ac92d4-git-patch.patch" |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
filter-flags -ftracer -ftree-vectorize |
84 |
|
85 |
distutils_src_compile |
86 |
|
87 |
if use emacs; then |
88 |
cd "${S}"/contrib |
89 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
90 |
fi |
91 |
|
92 |
rm -rf contrib/{win32,macosx} |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
distutils_src_install |
97 |
|
98 |
dobashcompletion contrib/bash_completion ${PN} |
99 |
|
100 |
if use zsh-completion ; then |
101 |
insinto /usr/share/zsh/site-functions |
102 |
newins contrib/zsh_completion _hg |
103 |
fi |
104 |
|
105 |
rm -f doc/*.?.txt |
106 |
dodoc CONTRIBUTORS PKG-INFO README doc/*.txt |
107 |
cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ |
108 |
|
109 |
dobin contrib/hgk |
110 |
dobin contrib/hg-relink |
111 |
dobin contrib/hg-ssh |
112 |
|
113 |
rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh |
114 |
|
115 |
rm -f contrib/bash_completion |
116 |
cp -r contrib "${D}"/usr/share/doc/${PF}/ |
117 |
doman doc/*.? |
118 |
|
119 |
cat > "${T}/80mercurial" <<-EOF |
120 |
HG=/usr/bin/hg |
121 |
EOF |
122 |
doenvd "${T}/80mercurial" |
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 |
|
130 |
src_test() { |
131 |
cd "${S}/tests/" |
132 |
rm -f *svn* # Subversion tests fail with 1.5 |
133 |
rm -f test-convert-baz* # GNU Arch baz |
134 |
rm -f test-convert-cvs* # CVS |
135 |
rm -f test-convert-darcs* # Darcs |
136 |
rm -f test-convert-git* # git |
137 |
rm -f test-convert-mtn* # monotone |
138 |
rm -f test-convert-tla* # GNU Arch tla |
139 |
einfo "Running Mercurial tests ..." |
140 |
python run-tests.py || die "test failed" |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
distutils_pkg_postinst |
145 |
use emacs && elisp-site-regen |
146 |
bash-completion_pkg_postinst |
147 |
|
148 |
elog "If you want to convert repositories from other tools using convert" |
149 |
elog "extension please install correct tool:" |
150 |
elog " dev-util/cvs" |
151 |
elog " dev-util/darcs" |
152 |
elog " dev-util/git" |
153 |
elog " dev-util/monotone" |
154 |
elog " dev-util/subversion" |
155 |
} |
156 |
|
157 |
pkg_postrm() { |
158 |
distutils_pkg_postrm |
159 |
use emacs && elisp-site-regen |
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
-- |
165 |
gentoo-commits@l.g.o mailing list |