1 |
pva 08/09/24 11:51:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-1.7.ebuild |
5 |
Removed: bzr-1.7_rc1.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
(Portage version: 2.2_rc9/cvs/Linux 2.6.26-gentoo-r1 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.60 dev-util/bzr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.60&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.60&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.59&r2=1.60 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v |
20 |
retrieving revision 1.59 |
21 |
retrieving revision 1.60 |
22 |
diff -u -r1.59 -r1.60 |
23 |
--- ChangeLog 15 Sep 2008 13:37:07 -0000 1.59 |
24 |
+++ ChangeLog 24 Sep 2008 11:51:01 -0000 1.60 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-util/bzr |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.59 2008/09/15 13:37:07 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.60 2008/09/24 11:51:01 pva Exp $ |
30 |
+ |
31 |
+*bzr-1.7 (24 Sep 2008) |
32 |
+ |
33 |
+ 24 Sep 2008; Peter Volkov <pva@g.o> -bzr-1.7_rc1.ebuild, |
34 |
+ +bzr-1.7.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*bzr-1.7_rc1 (15 Sep 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/bzr/bzr-1.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: bzr-1.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.7.ebuild,v 1.1 2008/09/24 11:51:01 pva Exp $ |
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 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
69 |
IUSE="curl emacs sftp test" |
70 |
|
71 |
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 ) |
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}-0.92-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 |
docinto developers |
109 |
dodoc doc/developers/* |
110 |
for doc in mini-tutorial tutorials user-{guide,reference}; do |
111 |
docinto $doc |
112 |
dodoc doc/en/$doc/* |
113 |
done |
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 |
# Some tests expect the usual pyc compiling behaviour. |
150 |
unset PYTHON_DONTCOMPILE |
151 |
"${python}" bzr --no-plugins selftest || die "bzr selftest failed" |
152 |
# Just to make sure we don't hit any errors on later stages. |
153 |
export PYTHON_DONTCOMPILE=1 |
154 |
} |