1 |
lucass 08/01/15 09:26:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzr-1.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #205914). |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.45 dev-util/bzr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.45&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.45&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.44&r2=1.45 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v |
19 |
retrieving revision 1.44 |
20 |
retrieving revision 1.45 |
21 |
diff -u -r1.44 -r1.45 |
22 |
--- ChangeLog 14 Dec 2007 09:30:45 -0000 1.44 |
23 |
+++ ChangeLog 15 Jan 2008 09:26:12 -0000 1.45 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/bzr |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.44 2007/12/14 09:30:45 hawking Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.45 2008/01/15 09:26:12 lucass Exp $ |
30 |
+ |
31 |
+*bzr-1.1 (15 Jan 2008) |
32 |
+ |
33 |
+ 15 Jan 2008; Lukasz Strzygowski <lucass@g.o> +bzr-1.1.ebuild: |
34 |
+ Version bump (bug #205914). |
35 |
|
36 |
*bzr-1.0 (14 Dec 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/bzr/bzr-1.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bzr-1.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.1.ebuild,v 1.1 2008/01/15 09:26:12 lucass Exp $ |
51 |
|
52 |
NEED_PYTHON=2.4 |
53 |
|
54 |
inherit distutils bash-completion elisp-common eutils |
55 |
|
56 |
MY_P=${P/_rc/rc} |
57 |
|
58 |
DESCRIPTION="Bazaar is a next generation distributed version control system." |
59 |
HOMEPAGE="http://bazaar-vcs.org/" |
60 |
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="curl emacs sftp test" |
66 |
|
67 |
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 ) |
68 |
curl? ( dev-python/pycurl ) |
69 |
sftp? ( dev-python/paramiko )" |
70 |
|
71 |
DEPEND="emacs? ( virtual/emacs ) |
72 |
test? ( |
73 |
$RDEPEND |
74 |
dev-python/medusa |
75 |
)" |
76 |
|
77 |
S="${WORKDIR}/${MY_P}" |
78 |
PYTHON_MODNAME="bzrlib" |
79 |
SITEFILE=71bzr-gentoo.el |
80 |
DOCS="doc/*.txt" |
81 |
|
82 |
src_unpack() { |
83 |
distutils_src_unpack |
84 |
|
85 |
# Don't regenerate .c files from .pyx when pyrex is found. |
86 |
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch" |
87 |
# Don't run lock permission tests when running as root |
88 |
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch" |
89 |
# Fix permission errors when run under directories with setgid set. |
90 |
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch" |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
distutils_src_compile |
95 |
|
96 |
if use emacs; then |
97 |
elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!" |
98 |
fi |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
distutils_src_install --install-data /usr/share |
103 |
|
104 |
docinto developers |
105 |
dodoc doc/developers/* |
106 |
docinto user-guide |
107 |
dodoc doc/en/user-guide/* |
108 |
docinto user-reference |
109 |
dodoc doc/en/user-reference/* |
110 |
docinto mini-tutorial |
111 |
dodoc doc/en/mini-tutorial/* |
112 |
|
113 |
if use emacs; then |
114 |
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed" |
115 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed" |
116 |
|
117 |
# don't add automatically to the load-path, so the sitefile |
118 |
# can do a conditional loading |
119 |
touch "${D}${SITELISP}/${PN}/.nosearch" |
120 |
fi |
121 |
|
122 |
insinto /usr/share/zsh/site-functions |
123 |
doins contrib/zsh/_bzr |
124 |
dobashcompletion contrib/bash/bzr |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
distutils_pkg_postinst |
129 |
bash-completion_pkg_postinst |
130 |
|
131 |
if use emacs; then |
132 |
elisp-site-regen |
133 |
elog "If you are using a GNU Emacs version greater than 22.1, bzr support" |
134 |
elog "is already included. This ebuild does not automatically activate bzr support" |
135 |
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs" |
136 |
elog "file by adding" |
137 |
elog " (load \"bzr-mode\")" |
138 |
fi |
139 |
} |
140 |
|
141 |
pkg_postrm() { |
142 |
distutils_pkg_postrm |
143 |
use emacs && elisp-site-regen |
144 |
} |
145 |
|
146 |
src_test() { |
147 |
"${python}" bzr --no-plugins selftest || die "bzr selftest failed" |
148 |
} |
149 |
|
150 |
|
151 |
|
152 |
-- |
153 |
gentoo-commits@l.g.o mailing list |