1 |
yngwin 08/12/29 13:19:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mercurial-1.1.1.ebuild |
5 |
Log: |
6 |
Version bump, fixes bug 249688, which blocks the python 2.6 tracker bug 230205. |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.27-hh7 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.86 dev-util/mercurial/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.86&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.86&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?r1=1.85&r2=1.86 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v |
19 |
retrieving revision 1.85 |
20 |
retrieving revision 1.86 |
21 |
diff -u -r1.85 -r1.86 |
22 |
--- ChangeLog 17 Oct 2008 08:04:41 -0000 1.85 |
23 |
+++ ChangeLog 29 Dec 2008 13:19:17 -0000 1.86 |
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.85 2008/10/17 08:04:41 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.86 2008/12/29 13:19:17 yngwin Exp $ |
29 |
+ |
30 |
+*mercurial-1.1.1 (29 Dec 2008) |
31 |
+ |
32 |
+ 29 Dec 2008; Ben de Groot <yngwin@g.o> +mercurial-1.1.1.ebuild: |
33 |
+ Version bump, fixes bug 249688, which blocks the python 2.6 tracker bug |
34 |
+ 230205. |
35 |
|
36 |
17 Oct 2008; Alexis Ballier <aballier@g.o> mercurial-1.0.2.ebuild: |
37 |
keyword ~x86-fbsd |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/mercurial/mercurial-1.1.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.1.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.1.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mercurial-1.1.1.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.1.1.ebuild,v 1.1 2008/12/29 13:19:17 yngwin 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 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_compile() { |
77 |
filter-flags -ftracer -ftree-vectorize |
78 |
|
79 |
distutils_src_compile |
80 |
|
81 |
if use emacs; then |
82 |
cd "${S}"/contrib |
83 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
84 |
fi |
85 |
|
86 |
rm -rf contrib/{win32,macosx} |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
distutils_src_install |
91 |
|
92 |
dobashcompletion contrib/bash_completion ${PN} |
93 |
|
94 |
if use zsh-completion ; then |
95 |
insinto /usr/share/zsh/site-functions |
96 |
newins contrib/zsh_completion _hg |
97 |
fi |
98 |
|
99 |
rm -f doc/*.?.txt |
100 |
dodoc CONTRIBUTORS PKG-INFO README doc/*.txt |
101 |
cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ |
102 |
|
103 |
dobin contrib/hgk |
104 |
dobin contrib/hg-relink |
105 |
dobin contrib/hg-ssh |
106 |
|
107 |
rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh |
108 |
|
109 |
rm -f contrib/bash_completion |
110 |
cp -r contrib "${D}"/usr/share/doc/${PF}/ |
111 |
doman doc/*.? |
112 |
|
113 |
cat > "${T}/80mercurial" <<-EOF |
114 |
HG=/usr/bin/hg |
115 |
EOF |
116 |
doenvd "${T}/80mercurial" |
117 |
|
118 |
if use emacs; then |
119 |
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
120 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
121 |
fi |
122 |
} |
123 |
|
124 |
src_test() { |
125 |
local testdir="${T}/tests" |
126 |
mkdir -p -m1777 "${testdir}" || die |
127 |
cd "${S}/tests/" |
128 |
rm -f *svn* # Subversion tests fail with 1.5 |
129 |
rm -f test-convert-baz* # GNU Arch baz |
130 |
rm -f test-convert-cvs* # CVS |
131 |
rm -f test-convert-darcs* # Darcs |
132 |
rm -f test-convert-git* # git |
133 |
rm -f test-convert-mtn* # monotone |
134 |
rm -f test-convert-tla* # GNU Arch tla |
135 |
rm -f test-doctest* # doctest always fails with python 2.5.x |
136 |
if ! has userpriv ${FEATURES}; then |
137 |
einfo "Removing tests which require user privileges to succeed" |
138 |
rm -f test-command-template # Test is broken when run as root |
139 |
rm -f test-convert # Test is broken when run as root |
140 |
rm -f test-lock-badness # Test is broken when run as root |
141 |
rm -f test-permissions # Test is broken when run as root |
142 |
rm -f test-pull-permission # Test is broken when run as root |
143 |
fi |
144 |
einfo "Running Mercurial tests ..." |
145 |
python run-tests.py --tmpdir="${testdir}" || die "test failed" |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
distutils_pkg_postinst |
150 |
use emacs && elisp-site-regen |
151 |
bash-completion_pkg_postinst |
152 |
|
153 |
elog "If you want to convert repositories from other tools using convert" |
154 |
elog "extension please install correct tool:" |
155 |
elog " dev-util/cvs" |
156 |
elog " dev-util/darcs" |
157 |
elog " dev-util/git" |
158 |
elog " dev-util/monotone" |
159 |
elog " dev-util/subversion" |
160 |
} |
161 |
|
162 |
pkg_postrm() { |
163 |
distutils_pkg_postrm |
164 |
use emacs && elisp-site-regen |
165 |
} |