1 |
fauli 11/02/11 23:21:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-2.3.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.1.9.39/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.20 dev-vcs/bzr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/ChangeLog?rev=1.20&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/ChangeLog?rev=1.20&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/ChangeLog?r1=1.19&r2=1.20 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/bzr/ChangeLog,v |
20 |
retrieving revision 1.19 |
21 |
retrieving revision 1.20 |
22 |
diff -u -r1.19 -r1.20 |
23 |
--- ChangeLog 5 Feb 2011 22:47:44 -0000 1.19 |
24 |
+++ ChangeLog 11 Feb 2011 23:21:41 -0000 1.20 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-vcs/bzr |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr/ChangeLog,v 1.19 2011/02/05 22:47:44 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr/ChangeLog,v 1.20 2011/02/11 23:21:41 fauli Exp $ |
30 |
+ |
31 |
+*bzr-2.3.0 (11 Feb 2011) |
32 |
+ |
33 |
+ 11 Feb 2011; Christian Faulhammer <fauli@g.o> +bzr-2.3.0.ebuild: |
34 |
+ version bump |
35 |
|
36 |
05 Feb 2011; Markus Meier <maekke@g.o> bzr-2.2.2-r1.ebuild: |
37 |
arm stable, bug #346985 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-vcs/bzr/bzr-2.3.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/bzr-2.3.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/bzr-2.3.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bzr-2.3.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr/bzr-2.3.0.ebuild,v 1.1 2011/02/11 23:21:41 fauli Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
PYTHON_DEPEND="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
RESTRICT_PYTHON_ABIS="3.*" |
56 |
|
57 |
inherit bash-completion distutils elisp-common eutils versionator |
58 |
|
59 |
MY_P=${PN}-${PV} |
60 |
SERIES=$(get_version_component_range 1-2) |
61 |
|
62 |
DESCRIPTION="Bazaar is a next generation distributed version control system." |
63 |
HOMEPAGE="http://bazaar-vcs.org/" |
64 |
#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" |
65 |
SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" |
70 |
IUSE="curl doc emacs +sftp test" |
71 |
|
72 |
# Disable until https://bugs.launchpad.net/bzr/+bug/656170 is fixed. |
73 |
RESTRICT="test" |
74 |
|
75 |
RDEPEND="|| ( dev-lang/python:2.7[xml] dev-lang/python:2.6[xml] dev-lang/python:2.5[xml] dev-python/celementtree ) |
76 |
curl? ( dev-python/pycurl ) |
77 |
sftp? ( dev-python/paramiko )" |
78 |
|
79 |
DEPEND="emacs? ( virtual/emacs ) |
80 |
test? ( |
81 |
${RDEPEND} |
82 |
dev-python/medusa |
83 |
dev-python/subunit |
84 |
dev-python/testtools |
85 |
)" |
86 |
|
87 |
S="${WORKDIR}/${MY_P}" |
88 |
|
89 |
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
90 |
|
91 |
DOCS="doc/*.txt" |
92 |
PYTHON_MODNAME="bzrlib" |
93 |
SITEFILE="71bzr-gentoo.el" |
94 |
|
95 |
src_prepare() { |
96 |
distutils_src_prepare |
97 |
|
98 |
# Don't regenerate .c files from .pyx when pyrex is found. |
99 |
epatch "${FILESDIR}/${PN}-2.2.0-no-pyrex-citon.patch" |
100 |
# Don't run lock permission tests when running as root |
101 |
# Has to be backported, tests are restricted anyway |
102 |
# epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch" |
103 |
# Fix permission errors when run under directories with setgid set. |
104 |
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch" |
105 |
} |
106 |
|
107 |
src_compile() { |
108 |
distutils_src_compile |
109 |
|
110 |
if use emacs; then |
111 |
elisp-compile contrib/emacs/bzr-mode.el || die |
112 |
fi |
113 |
} |
114 |
|
115 |
src_test() { |
116 |
# Some tests expect the usual pyc compiling behaviour. |
117 |
python_enable_pyc |
118 |
|
119 |
# Define tests which are known to fail below. |
120 |
local skip_tests="(" |
121 |
# https://bugs.launchpad.net/bzr/+bug/456471 |
122 |
skip_tests+="bzrlib.tests.blackbox.test_version.*|" |
123 |
# https://bugs.launchpad.net/bzr/+bug/392127 |
124 |
skip_tests+="test_http.*" |
125 |
skip_tests+=")" |
126 |
if [[ -n ${skip_tests} ]]; then |
127 |
einfo "Skipping tests known to fail: ${skip_tests}" |
128 |
fi |
129 |
|
130 |
testing() { |
131 |
LC_ALL="C" "$(PYTHON -2)" bzr --no-plugins selftest ${skip_tests:+-x} ${skip_tests} |
132 |
} |
133 |
python_execute_function testing |
134 |
|
135 |
# Just to make sure we don't hit any errors on later stages. |
136 |
python_disable_pyc |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
distutils_src_install --install-data "${EPREFIX}/usr/share" |
141 |
|
142 |
if use doc; then |
143 |
docinto developers |
144 |
dodoc doc/developers/* || die |
145 |
for doc in mini-tutorial tutorials user-{guide,reference}; do |
146 |
docinto $doc |
147 |
dodoc doc/en/$doc/* || die |
148 |
done |
149 |
fi |
150 |
|
151 |
if use emacs; then |
152 |
elisp-install ${PN} contrib/emacs/*.el* || die |
153 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
154 |
|
155 |
# don't add automatically to the load-path, so the sitefile |
156 |
# can do a conditional loading |
157 |
touch "${ED}${SITELISP}/${PN}/.nosearch" |
158 |
fi |
159 |
|
160 |
dobashcompletion contrib/bash/bzr |
161 |
} |
162 |
|
163 |
pkg_postinst() { |
164 |
distutils_pkg_postinst |
165 |
bash-completion_pkg_postinst |
166 |
|
167 |
if use emacs; then |
168 |
elisp-site-regen |
169 |
elog "If you are using a GNU Emacs version greater than 22.1, bzr support" |
170 |
elog "is already included. This ebuild does not automatically activate bzr support" |
171 |
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs" |
172 |
elog "file by adding" |
173 |
elog " (load \"bzr-mode\")" |
174 |
fi |
175 |
} |
176 |
|
177 |
pkg_postrm() { |
178 |
distutils_pkg_postrm |
179 |
use emacs && elisp-site-regen |
180 |
} |