Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/bibus: ChangeLog bibus-1.5.1.ebuild
Date: Wed, 30 Jun 2010 21:13:01
Message-Id: 20100630211259.1FE072C621@corvid.gentoo.org
1 jlec 10/06/30 21:12:59
2
3 Modified: ChangeLog
4 Added: bibus-1.5.1.ebuild
5 Log:
6 Version Bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.21 app-text/bibus/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/bibus/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/bibus/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/bibus/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 4 Jun 2010 21:12:12 -0000 1.20
23 +++ ChangeLog 30 Jun 2010 21:12:58 -0000 1.21
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/bibus
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.20 2010/06/04 21:12:12 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.21 2010/06/30 21:12:58 jlec Exp $
29 +
30 +*bibus-1.5.1 (30 Jun 2010)
31 +
32 + 30 Jun 2010; Justin Lecher <jlec@g.o> +bibus-1.5.1.ebuild:
33 + Version Bump
34
35 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
36 bibus-1.5.0.ebuild:
37
38
39
40 1.1 app-text/bibus/bibus-1.5.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/bibus/bibus-1.5.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/bibus/bibus-1.5.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bibus-1.5.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/app-text/bibus/bibus-1.5.1.ebuild,v 1.1 2010/06/30 21:12:58 jlec Exp $
50
51 EAPI="3"
52 PYTHON_DEPEND="2"
53
54 inherit multilib eutils python versionator
55
56 DESCRIPTION="Bibliographic and reference management software, integrates with OO.o and MS Word"
57 HOMEPAGE="http://bibus-biblio.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="mysql"
64
65 # Most of this mess is designed to give the choice of sqlite or mysql
66 # but prefer sqlite. We also need to default to sqlite if neither is requested.
67 RDEPEND="virtual/ooo
68 =dev-python/wxpython-2.8*
69 dev-python/pysqlite
70 dev-db/sqliteodbc
71 mysql? (
72 dev-python/mysql-python
73 dev-db/myodbc
74 )
75 dev-db/unixODBC"
76 DEPEND="${RDEPEND}"
77
78 pkg_setup() {
79 python_set_active_version 2
80 python_pkg_setup
81 }
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${PN}-1.5.0-install.patch
85 epatch "${FILESDIR}"/${PN}-1.5.0-pysqlite.patch
86 sed -e "s:gentoo-python:python$(python_get_version):g" \
87 -i Makefile Setup/Makefile Setup/bibus.cfg Setup/bibus.sh \
88 || die "Failed to adjust python paths"
89 }
90
91 src_install() {
92 emake \
93 DESTDIR="${D}" \
94 oopath="/usr/$(get_libdir)/openoffice/program" \
95 prefix='$(DESTDIR)/usr' \
96 sysconfdir='$(DESTDIR)/etc' \
97 install || die "emake install failed"
98 emake \
99 DESTDIR="${D}" \
100 oopath="/usr/$(get_libdir)/openoffice/program" \
101 prefix='$(DESTDIR)/usr' \
102 sysconfdir='$(DESTDIR)/etc' \
103 install-doc-en || die "emake install failed"
104 }
105
106 pkg_postinst() {
107 python_mod_optimize bibus
108 }
109
110 pkg_postrm() {
111 python_mod_cleanup bibus
112 }