1 |
pva 09/06/05 19:41:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-1.15.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.95 dev-util/bzr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.95&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.95&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.94&r2=1.95 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v |
19 |
retrieving revision 1.94 |
20 |
retrieving revision 1.95 |
21 |
diff -u -r1.94 -r1.95 |
22 |
--- ChangeLog 1 Jun 2009 13:51:50 -0000 1.94 |
23 |
+++ ChangeLog 5 Jun 2009 19:41:23 -0000 1.95 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/bzr |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.94 2009/06/01 13:51:50 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.95 2009/06/05 19:41:23 pva Exp $ |
29 |
+ |
30 |
+*bzr-1.15 (05 Jun 2009) |
31 |
+ |
32 |
+ 05 Jun 2009; Peter Volkov <pva@g.o> +bzr-1.15.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
01 Jun 2009; Markus Meier <maekke@g.o> bzr-1.13.2.ebuild: |
36 |
amd64 stable, bug #271130 |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-util/bzr/bzr-1.15.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.15.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.15.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: bzr-1.15.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 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.15.ebuild,v 1.1 2009/06/05 19:41:23 pva Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
|
53 |
NEED_PYTHON=2.4 |
54 |
|
55 |
inherit distutils bash-completion elisp-common eutils versionator |
56 |
|
57 |
MY_PV=${PV/_rc/rc} |
58 |
MY_P=${PN}-${MY_PV} |
59 |
SERIES=$(get_version_component_range 1-2) |
60 |
|
61 |
DESCRIPTION="Bazaar is a next generation distributed version control system." |
62 |
HOMEPAGE="http://bazaar-vcs.org/" |
63 |
#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" |
64 |
SRC_URI="http://launchpad.net/bzr/${SERIES}/${MY_PV}final/+download/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
69 |
IUSE="curl doc emacs +sftp test" |
70 |
|
71 |
RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/celementtree ) |
72 |
curl? ( dev-python/pycurl ) |
73 |
sftp? ( dev-python/paramiko )" |
74 |
|
75 |
DEPEND="emacs? ( virtual/emacs ) |
76 |
test? ( |
77 |
$RDEPEND |
78 |
dev-python/medusa |
79 |
)" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
PYTHON_MODNAME="bzrlib" |
83 |
SITEFILE=71bzr-gentoo.el |
84 |
DOCS="doc/*.txt" |
85 |
|
86 |
src_unpack() { |
87 |
distutils_src_unpack |
88 |
|
89 |
# Don't regenerate .c files from .pyx when pyrex is found. |
90 |
epatch "${FILESDIR}/${PN}-1.8-no-pyrex.patch" |
91 |
# Don't run lock permission tests when running as root |
92 |
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch" |
93 |
# Fix permission errors when run under directories with setgid set. |
94 |
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
distutils_src_compile |
99 |
|
100 |
if use emacs; then |
101 |
elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!" |
102 |
fi |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
distutils_src_install --install-data /usr/share |
107 |
|
108 |
if use doc; then |
109 |
docinto developers |
110 |
dodoc doc/developers/* || die "dodoc failed" |
111 |
for doc in mini-tutorial tutorials user-{guide,reference}; do |
112 |
docinto $doc |
113 |
dodoc doc/en/$doc/* || die "dodoc failed" |
114 |
done |
115 |
fi |
116 |
|
117 |
if use emacs; then |
118 |
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed" |
119 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed" |
120 |
|
121 |
# don't add automatically to the load-path, so the sitefile |
122 |
# can do a conditional loading |
123 |
touch "${D}${SITELISP}/${PN}/.nosearch" |
124 |
fi |
125 |
|
126 |
insinto /usr/share/zsh/site-functions |
127 |
doins contrib/zsh/_bzr |
128 |
dobashcompletion contrib/bash/bzr |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
distutils_pkg_postinst |
133 |
bash-completion_pkg_postinst |
134 |
|
135 |
if use emacs; then |
136 |
elisp-site-regen |
137 |
elog "If you are using a GNU Emacs version greater than 22.1, bzr support" |
138 |
elog "is already included. This ebuild does not automatically activate bzr support" |
139 |
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs" |
140 |
elog "file by adding" |
141 |
elog " (load \"bzr-mode\")" |
142 |
fi |
143 |
} |
144 |
|
145 |
pkg_postrm() { |
146 |
distutils_pkg_postrm |
147 |
use emacs && elisp-site-regen |
148 |
} |
149 |
|
150 |
src_test() { |
151 |
export LC_ALL=C |
152 |
# Define tests which are known to fail below. |
153 |
local skip_tests="(" |
154 |
# https://bugs.launchpad.net/bzr/+bug/306264 |
155 |
skip_tests+="test_http.SmartHTTPTunnellingTest.test_bulk_data|" |
156 |
skip_tests+="test_http.TestWallServer.test_http_*|" |
157 |
skip_tests+="blackbox.test_too_much.SFTPTestsRelative.test_*|" |
158 |
# https://bugs.launchpad.net/bzr/+bug/383920 |
159 |
skip_tests+="test_transport_implementations.TransportTests.test_get*|" |
160 |
# This tests were fixed in trunk. Drop in 1.15.x or 1.16 |
161 |
skip_tests+="bzrlib.tests.test_http.TestActivity*|" |
162 |
skip_tests+="bzrlib.tests.tree_implementations.test_get_file_mtime*|" |
163 |
skip_tests+="test_source.TestSource.test_no_asserts*|" |
164 |
#https://bugs.launchpad.net/bzr/+bug/341648 |
165 |
skip_tests+="test_osutils.TestWalkDirs.test_walkdirs_os_error" |
166 |
skip_tests+=")" |
167 |
# Some tests expect the usual pyc compiling behaviour. |
168 |
python_enable_pyc |
169 |
if [[ -n ${skip_tests} ]]; then |
170 |
einfo "Skipping tests known to fail: ${skip_tests}" |
171 |
"${python}" bzr --no-plugins selftest -x ${skip_tests} || die "bzr selftest failed" |
172 |
else |
173 |
"${python}" bzr --no-plugins selftest || die "bzr selftest failed" |
174 |
fi |
175 |
# Just to make sure we don't hit any errors on later stages. |
176 |
python_disable_pyc |
177 |
} |