1 |
nelchael 09/03/21 12:03:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mercurial-1.2.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.6.9/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.93 dev-util/mercurial/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.93&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.93&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?r1=1.92&r2=1.93 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v |
19 |
retrieving revision 1.92 |
20 |
retrieving revision 1.93 |
21 |
diff -u -r1.92 -r1.93 |
22 |
--- ChangeLog 9 Mar 2009 20:50:49 -0000 1.92 |
23 |
+++ ChangeLog 21 Mar 2009 12:03:25 -0000 1.93 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/mercurial |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.92 2009/03/09 20:50:49 nelchael Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.93 2009/03/21 12:03:25 nelchael Exp $ |
29 |
+ |
30 |
+*mercurial-1.2.1 (21 Mar 2009) |
31 |
+ |
32 |
+ 21 Mar 2009; Krzysiek Pawlik <nelchael@g.o> |
33 |
+ +mercurial-1.2.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
09 Mar 2009; Krzysiek Pawlik <nelchael@g.o> mercurial-1.2.ebuild: |
37 |
Remove failing tests. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/mercurial/mercurial-1.2.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.2.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.2.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mercurial-1.2.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 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.2.1.ebuild,v 1.1 2009/03/21 12:03:25 nelchael Exp $ |
51 |
|
52 |
inherit bash-completion elisp-common flag-o-matic eutils distutils |
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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="bugzilla emacs gpg test tk 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 |
tk? ( dev-lang/tk ) |
68 |
zsh-completion? ( app-shells/zsh )" |
69 |
DEPEND="${CDEPEND} |
70 |
emacs? ( virtual/emacs ) |
71 |
test? ( app-arch/unzip |
72 |
dev-python/pygments )" |
73 |
|
74 |
PYTHON_MODNAME="${PN} hgext" |
75 |
SITEFILE="70${PN}-gentoo.el" |
76 |
|
77 |
src_compile() { |
78 |
filter-flags -ftracer -ftree-vectorize |
79 |
|
80 |
distutils_src_compile |
81 |
|
82 |
if use emacs; then |
83 |
cd "${S}"/contrib |
84 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
85 |
fi |
86 |
|
87 |
rm -rf contrib/{win32,macosx} |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
distutils_src_install |
92 |
|
93 |
dobashcompletion contrib/bash_completion ${PN} |
94 |
|
95 |
if use zsh-completion ; then |
96 |
insinto /usr/share/zsh/site-functions |
97 |
newins contrib/zsh_completion _hg |
98 |
fi |
99 |
|
100 |
rm -f doc/*.?.txt |
101 |
dodoc CONTRIBUTORS PKG-INFO README doc/*.txt |
102 |
cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ |
103 |
|
104 |
dobin contrib/hgk |
105 |
dobin contrib/hg-relink |
106 |
dobin contrib/hg-ssh |
107 |
|
108 |
rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh |
109 |
|
110 |
rm -f contrib/bash_completion |
111 |
cp -r contrib "${D}"/usr/share/doc/${PF}/ |
112 |
doman doc/*.? |
113 |
|
114 |
cat > "${T}/80mercurial" <<-EOF |
115 |
HG=/usr/bin/hg |
116 |
EOF |
117 |
doenvd "${T}/80mercurial" |
118 |
|
119 |
if use emacs; then |
120 |
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
121 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
122 |
fi |
123 |
} |
124 |
|
125 |
src_test() { |
126 |
local testdir="${T}/tests" |
127 |
mkdir -p -m1777 "${testdir}" || die |
128 |
cd "${S}/tests/" |
129 |
rm -rf *svn* # Subversion tests fail with 1.5 |
130 |
rm -f test-archive # Fails due to verbose tar output changes |
131 |
rm -f test-convert-baz* # GNU Arch baz |
132 |
rm -f test-convert-cvs* # CVS |
133 |
rm -f test-convert-darcs* # Darcs |
134 |
rm -f test-convert-git* # git |
135 |
rm -f test-convert-mtn* # monotone |
136 |
rm -f test-convert-tla* # GNU Arch tla |
137 |
rm -f test-doctest* # doctest always fails with python 2.5.x |
138 |
if ! has userpriv ${FEATURES}; then |
139 |
einfo "Removing tests which require user privileges to succeed" |
140 |
rm -f test-command-template # Test is broken when run as root |
141 |
rm -f test-convert # Test is broken when run as root |
142 |
rm -f test-lock-badness # Test is broken when run as root |
143 |
rm -f test-permissions # Test is broken when run as root |
144 |
rm -f test-pull-permission # Test is broken when run as root |
145 |
fi |
146 |
einfo "Running Mercurial tests ..." |
147 |
python run-tests.py --tmpdir="${testdir}" || die "test failed" |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
distutils_pkg_postinst |
152 |
use emacs && elisp-site-regen |
153 |
bash-completion_pkg_postinst |
154 |
|
155 |
elog "If you want to convert repositories from other tools using convert" |
156 |
elog "extension please install correct tool:" |
157 |
elog " dev-util/cvs" |
158 |
elog " dev-util/darcs" |
159 |
elog " dev-util/git" |
160 |
elog " dev-util/monotone" |
161 |
elog " dev-util/subversion" |
162 |
} |
163 |
|
164 |
pkg_postrm() { |
165 |
distutils_pkg_postrm |
166 |
use emacs && elisp-site-regen |
167 |
} |