1 |
markusle 09/09/01 03:16:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bibus-1.4.3.2-r1.ebuild |
5 |
Removed: bibus-1.4.3.ebuild |
6 |
Log: |
7 |
Removed hard coded python paths (fixes bug #259722). |
8 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 app-text/bibus/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibus/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibus/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibus/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 26 Feb 2009 15:48:53 -0000 1.11 |
24 |
+++ ChangeLog 1 Sep 2009 03:16:54 -0000 1.12 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-text/bibus |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.11 2009/02/26 15:48:53 josejx Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.12 2009/09/01 03:16:54 markusle Exp $ |
30 |
+ |
31 |
+*bibus-1.4.3.2-r1 (01 Sep 2009) |
32 |
+ |
33 |
+ 01 Sep 2009; Markus Dittrich <markusle@g.o> -bibus-1.4.3.ebuild, |
34 |
+ +bibus-1.4.3.2-r1.ebuild, +files/bibus-1.4.3.2-install.1.patch: |
35 |
+ Removed hard coded python paths (fixes bug #259722). Got rid of |
36 |
+ old ebuild. |
37 |
|
38 |
26 Feb 2009; Joseph Jezak <josejx@g.o> bibus-1.4.3.1.ebuild: |
39 |
Marked ppc stable for bug #250823. |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-text/bibus/bibus-1.4.3.2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibus/bibus-1.4.3.2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/bibus/bibus-1.4.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bibus-1.4.3.2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/bibus-1.4.3.2-r1.ebuild,v 1.1 2009/09/01 03:16:54 markusle Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit python multilib eutils versionator |
57 |
|
58 |
MY_VERSION=$(get_version_component_range 1-3) |
59 |
|
60 |
DESCRIPTION="Bibliographic and reference management software, integrates with OO.o and MS Word" |
61 |
HOMEPAGE="http://bibus-biblio.sourceforge.net/" |
62 |
SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.tar.gz" |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="mysql sqlite" |
67 |
# Most of this mess is designed to give the choice of sqlite or mysql |
68 |
# but prefer sqlite. We also need to default to sqlite if neither is requested. |
69 |
RDEPEND="virtual/ooo |
70 |
=dev-python/wxpython-2.6* |
71 |
sqlite? ( |
72 |
dev-python/pysqlite |
73 |
dev-db/sqliteodbc |
74 |
) |
75 |
!sqlite? ( |
76 |
mysql? ( |
77 |
dev-python/mysql-python |
78 |
dev-db/myodbc |
79 |
) |
80 |
!mysql? ( |
81 |
dev-python/pysqlite |
82 |
dev-db/sqliteodbc |
83 |
) |
84 |
) |
85 |
dev-db/unixODBC" |
86 |
DEPEND="${RDEPEND}" |
87 |
|
88 |
S="${WORKDIR}/${PN}-${MY_VERSION}" |
89 |
|
90 |
src_prepare() { |
91 |
python_version |
92 |
epatch "${FILESDIR}"/${P}-install.1.patch |
93 |
sed -e "s:gentoo-python:python${PYVER}:g" \ |
94 |
-i Makefile Setup/Makefile Setup/bibus.cfg Setup/bibus.sh \ |
95 |
|| die "Failed to adjust python paths" |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake \ |
100 |
DESTDIR="${D}" \ |
101 |
oopath="/usr/$(get_libdir)/openoffice/program" \ |
102 |
prefix='$(DESTDIR)/usr' \ |
103 |
sysconfdir='$(DESTDIR)/etc' \ |
104 |
install || die "emake install failed" |
105 |
emake \ |
106 |
DESTDIR="${D}" \ |
107 |
oopath="/usr/$(get_libdir)/openoffice/program" \ |
108 |
prefix='$(DESTDIR)/usr' \ |
109 |
sysconfdir='$(DESTDIR)/etc' \ |
110 |
install-doc-en || die "emake install failed" |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
python_mod_optimize /usr/lib/python${PYVER}/site-packages/bibus |
115 |
} |
116 |
|
117 |
pkg_postrm() { |
118 |
python_mod_cleanup /usr/lib/python${PYVER}/site-packages/bibus |
119 |
} |