1 |
hawking 08/05/10 09:24:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-1.4.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.5_rc9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.53 dev-util/bzr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.53&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.53&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.52&r2=1.53 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v |
19 |
retrieving revision 1.52 |
20 |
retrieving revision 1.53 |
21 |
diff -u -r1.52 -r1.53 |
22 |
--- ChangeLog 5 May 2008 03:29:27 -0000 1.52 |
23 |
+++ ChangeLog 10 May 2008 09:24:24 -0000 1.53 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/bzr |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.52 2008/05/05 03:29:27 tester Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.53 2008/05/10 09:24:24 hawking Exp $ |
29 |
+ |
30 |
+*bzr-1.4 (10 May 2008) |
31 |
+ |
32 |
+ 10 May 2008; Ali Polatel <hawking@g.o> +bzr-1.4.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
05 May 2008; Olivier CrĂȘte <tester@g.o> bzr-1.3.ebuild: |
36 |
amd64 Stable |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-util/bzr/bzr-1.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: bzr-1.4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.4.ebuild,v 1.1 2008/05/10 09:24:24 hawking Exp $ |
50 |
|
51 |
NEED_PYTHON=2.4 |
52 |
|
53 |
inherit distutils bash-completion elisp-common eutils |
54 |
|
55 |
MY_P=${P/_rc/rc} |
56 |
|
57 |
DESCRIPTION="Bazaar is a next generation distributed version control system." |
58 |
HOMEPAGE="http://bazaar-vcs.org/" |
59 |
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="curl emacs sftp test" |
65 |
|
66 |
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 ) |
67 |
curl? ( dev-python/pycurl ) |
68 |
sftp? ( dev-python/paramiko )" |
69 |
|
70 |
DEPEND="emacs? ( virtual/emacs ) |
71 |
test? ( |
72 |
$RDEPEND |
73 |
dev-python/medusa |
74 |
)" |
75 |
|
76 |
S="${WORKDIR}/${MY_P}" |
77 |
PYTHON_MODNAME="bzrlib" |
78 |
SITEFILE=71bzr-gentoo.el |
79 |
DOCS="doc/*.txt" |
80 |
|
81 |
src_unpack() { |
82 |
distutils_src_unpack |
83 |
|
84 |
# Don't regenerate .c files from .pyx when pyrex is found. |
85 |
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch" |
86 |
# Don't run lock permission tests when running as root |
87 |
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch" |
88 |
# Fix permission errors when run under directories with setgid set. |
89 |
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch" |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
distutils_src_compile |
94 |
|
95 |
if use emacs; then |
96 |
elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!" |
97 |
fi |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
distutils_src_install --install-data /usr/share |
102 |
|
103 |
docinto developers |
104 |
dodoc doc/developers/* |
105 |
for doc in mini-tutorial tutorials user-{guide,reference}; do |
106 |
docinto $doc |
107 |
dodoc doc/en/$doc/* |
108 |
done |
109 |
|
110 |
if use emacs; then |
111 |
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed" |
112 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed" |
113 |
|
114 |
# don't add automatically to the load-path, so the sitefile |
115 |
# can do a conditional loading |
116 |
touch "${D}${SITELISP}/${PN}/.nosearch" |
117 |
fi |
118 |
|
119 |
insinto /usr/share/zsh/site-functions |
120 |
doins contrib/zsh/_bzr |
121 |
dobashcompletion contrib/bash/bzr |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
distutils_pkg_postinst |
126 |
bash-completion_pkg_postinst |
127 |
|
128 |
if use emacs; then |
129 |
elisp-site-regen |
130 |
elog "If you are using a GNU Emacs version greater than 22.1, bzr support" |
131 |
elog "is already included. This ebuild does not automatically activate bzr support" |
132 |
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs" |
133 |
elog "file by adding" |
134 |
elog " (load \"bzr-mode\")" |
135 |
fi |
136 |
} |
137 |
|
138 |
pkg_postrm() { |
139 |
distutils_pkg_postrm |
140 |
use emacs && elisp-site-regen |
141 |
} |
142 |
|
143 |
src_test() { |
144 |
# Some tests expect the usual pyc compiling behaviour. |
145 |
unset PYTHON_DONTCOMPILE |
146 |
"${python}" bzr --no-plugins selftest || die "bzr selftest failed" |
147 |
# Just to make sure we don't hit any errors on later stages. |
148 |
export PYTHON_DONTCOMPILE=1 |
149 |
} |
150 |
|
151 |
|
152 |
|
153 |
-- |
154 |
gentoo-commits@l.g.o mailing list |