1 |
fauli 09/12/27 14:37:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-2.0.3.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.118 dev-util/bzr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.118&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.118&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.117&r2=1.118 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v |
19 |
retrieving revision 1.117 |
20 |
retrieving revision 1.118 |
21 |
diff -u -r1.117 -r1.118 |
22 |
--- ChangeLog 27 Dec 2009 11:49:00 -0000 1.117 |
23 |
+++ ChangeLog 27 Dec 2009 14:37:37 -0000 1.118 |
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.117 2009/12/27 11:49:00 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.118 2009/12/27 14:37:37 fauli Exp $ |
29 |
+ |
30 |
+*bzr-2.0.3 (27 Dec 2009) |
31 |
+ |
32 |
+ 27 Dec 2009; Christian Faulhammer <fauli@g.o> +bzr-2.0.3.ebuild: |
33 |
+ version bump |
34 |
|
35 |
27 Dec 2009; Raúl Porcel <armin76@g.o> bzr-2.0.1.ebuild: |
36 |
sparc stable wrt #294803 |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-util/bzr/bzr-2.0.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-2.0.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-2.0.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: bzr-2.0.3.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-2.0.3.ebuild,v 1.1 2009/12/27 14:37:37 fauli 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}/+download/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~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 |
# Not reproducible in current dev version, so check and drop with version |
155 |
# bump |
156 |
skip_tests+="bzrlib.tests.test_osutils.TestWalkDirs|" |
157 |
# https://bugs.launchpad.net/bzr/+bug/392127 |
158 |
skip_tests+="test_http.*" |
159 |
skip_tests+=")" |
160 |
# Some tests expect the usual pyc compiling behaviour. |
161 |
python_enable_pyc |
162 |
if [[ -n ${skip_tests} ]]; then |
163 |
einfo "Skipping tests known to fail: ${skip_tests}" |
164 |
"${python}" bzr --no-plugins selftest -x ${skip_tests} || die "bzr selftest failed" |
165 |
else |
166 |
"${python}" bzr --no-plugins selftest || die "bzr selftest failed" |
167 |
fi |
168 |
# Just to make sure we don't hit any errors on later stages. |
169 |
python_disable_pyc |
170 |
} |