Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/bzr: ChangeLog bzr-0.91-r1.ebuild
Date: Fri, 05 Oct 2007 12:58:30
Message-Id: E1IdmcB-0004RP-Dn@stork.gentoo.org
1 hawking 07/10/05 12:49:11
2
3 Modified: ChangeLog
4 Added: bzr-0.91-r1.ebuild
5 Log:
6 revbump. updated emacs support, bug 194691. Thanks to Christian Faulhammer <opfer@g.o>
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.40 dev-util/bzr/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 26 Sep 2007 16:46:10 -0000 1.39
23 +++ ChangeLog 5 Oct 2007 12:49:10 -0000 1.40
24 @@ -1,6 +1,13 @@
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.39 2007/09/26 16:46:10 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.40 2007/10/05 12:49:10 hawking Exp $
29 +
30 +*bzr-0.91-r1 (05 Oct 2007)
31 +
32 + 05 Oct 2007; Ali Polatel <hawking@g.o> +files/71bzr-gentoo.el,
33 + +bzr-0.91-r1.ebuild:
34 + revbump. updated emacs support, bug 194691. Thanks to Christian Faulhammer
35 + <opfer@g.o>
36
37 *bzr-0.91 (26 Sep 2007)
38
39
40
41
42 1.1 dev-util/bzr/bzr-0.91-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-0.91-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-0.91-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bzr-0.91-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-0.91-r1.ebuild,v 1.1 2007/10/05 12:49:10 hawking Exp $
52
53 inherit distutils bash-completion elisp-common eutils
54
55 MY_P=${P/_rc/rc}
56 S=${WORKDIR}/${MY_P}
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 test"
66
67 python_rdep="dev-python/celementtree
68 >=dev-python/paramiko-1.5
69 curl? ( dev-python/pycurl )"
70 DEPEND=">=dev-lang/python-2.4
71 emacs? ( virtual/emacs )
72 test? (
73 $python_rdep
74 dev-python/medusa
75 )"
76 RDEPEND=">=dev-lang/python-2.4
77 $python_rdep"
78
79 PYTHON_MODNAME="bzrlib"
80 SITEFILE=71${PN}-gentoo.el
81
82 DOCS="doc/*.txt"
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87
88 # Don't run lock permission tests when running as root
89 epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
90 # Fix permission errors when run under directories with setgid set.
91 epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch"
92 }
93
94 src_compile() {
95 distutils_src_compile
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 docinto developers
104 dodoc doc/developers/*
105 docinto user-guide
106 dodoc doc/en/user-guide/*
107 docinto user-reference
108 dodoc doc/en/user-reference/*
109 if use emacs; then
110 elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
111 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
112 # don't add automatically to the load-path, so the sitefile
113 # can do a conditional loading
114 touch "${D}${SITELISP}/${PN}/.nosearch"
115 fi
116 insinto /usr/share/zsh/site-functions
117 doins contrib/zsh/_bzr
118 dobashcompletion contrib/bash/bzr
119 }
120
121 pkg_postinst() {
122 distutils_pkg_postinst
123 bash-completion_pkg_postinst
124 if use emacs; then
125 elisp-site-regen
126 elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
127 elog "is already included. This ebuild does not automatically activate bzr support"
128 elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
129 elog "file by adding"
130 elog " (load \"bzr-mode\")"
131 fi
132 }
133
134 pkg_postrm() {
135 distutils_pkg_postrm
136 use emacs && elisp-site-regen
137 }
138
139 src_test() {
140 "${python}" bzr --no-plugins selftest || die "bzr selftest failed"
141 }
142
143
144
145 --
146 gentoo-commits@g.o mailing list