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