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