Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/libdbi-drivers: libdbi-drivers-0.8.3.ebuild libdbi-drivers-0.8.3-r2.ebuild ChangeLog libdbi-drivers-0.8.1-r2.ebuild libdbi-drivers-0.8.3-r1.ebuild libdbi-drivers-0.8.1-r1.ebuild
Date: Tue, 28 Sep 2010 17:22:56
Message-Id: 20100928172252.9E55120051@flycatcher.gentoo.org
1 robbat2 10/09/28 17:22:52
2
3 Modified: libdbi-drivers-0.8.3.ebuild ChangeLog
4 libdbi-drivers-0.8.1-r2.ebuild
5 libdbi-drivers-0.8.3-r1.ebuild
6 libdbi-drivers-0.8.1-r1.ebuild
7 Added: libdbi-drivers-0.8.3-r2.ebuild
8 Log:
9 Bug #329033: postgres virtual migration converted this to depending on -server instead of -base. Fix up, with a revbump also redoing RDEPEND vs DEPEND.
10
11 (Portage version: 2.2_rc88/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.20 dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?rev=1.20&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?rev=1.20&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild?r1=1.19&r2=1.20
19
20 Index: libdbi-drivers-0.8.3.ebuild
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v
23 retrieving revision 1.19
24 retrieving revision 1.20
25 diff -p -w -b -B -u -u -r1.19 -r1.20
26 --- libdbi-drivers-0.8.3.ebuild 17 Jun 2010 21:28:24 -0000 1.19
27 +++ libdbi-drivers-0.8.3.ebuild 28 Sep 2010 17:22:52 -0000 1.20
28 @@ -1,6 +1,6 @@
29 # Copyright 1999-2010 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v 1.19 2010/06/17 21:28:24 patrick Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3.ebuild,v 1.20 2010/09/28 17:22:52 robbat2 Exp $
33
34 inherit eutils autotools
35
36 @@ -13,7 +13,7 @@ HOMEPAGE="http://libdbi-drivers.sourcefo
37 LICENSE="LGPL-2.1"
38 DEPEND=">=dev-db/libdbi-0.8.3
39 mysql? ( virtual/mysql )
40 - postgres? ( dev-db/postgresql-server )
41 + postgres? ( dev-db/postgresql-base )
42 sqlite? ( <dev-db/sqlite-3 )
43 sqlite3? ( >=dev-db/sqlite-3 )
44 !bindist? ( firebird? ( dev-db/firebird ) )
45
46
47
48 1.51 dev-db/libdbi-drivers/ChangeLog
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.51&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.51&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?r1=1.50&r2=1.51
53
54 Index: ChangeLog
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v
57 retrieving revision 1.50
58 retrieving revision 1.51
59 diff -p -w -b -B -u -u -r1.50 -r1.51
60 --- ChangeLog 17 Jun 2010 21:28:24 -0000 1.50
61 +++ ChangeLog 28 Sep 2010 17:22:52 -0000 1.51
62 @@ -1,6 +1,16 @@
63 # ChangeLog for dev-db/libdbi-drivers
64 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.50 2010/06/17 21:28:24 patrick Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.51 2010/09/28 17:22:52 robbat2 Exp $
67 +
68 +*libdbi-drivers-0.8.3-r2 (28 Sep 2010)
69 +
70 + 28 Sep 2010; Robin H. Johnson <robbat2@g.o>
71 + libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
72 + libdbi-drivers-0.8.3.ebuild, libdbi-drivers-0.8.3-r1.ebuild,
73 + +libdbi-drivers-0.8.3-r2.ebuild:
74 + Bug #329033: postgres virtual migration converted this to depending on
75 + -server instead of -base. Fix up, with a revbump also redoing RDEPEND vs
76 + DEPEND.
77
78 17 Jun 2010; Patrick Lauer <patrick@g.o>
79 libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
80
81
82
83 1.9 dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild?rev=1.9&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild?rev=1.9&content-type=text/plain
87 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild?r1=1.8&r2=1.9
88
89 Index: libdbi-drivers-0.8.1-r2.ebuild
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild,v
92 retrieving revision 1.8
93 retrieving revision 1.9
94 diff -p -w -b -B -u -u -r1.8 -r1.9
95 --- libdbi-drivers-0.8.1-r2.ebuild 17 Jun 2010 21:28:24 -0000 1.8
96 +++ libdbi-drivers-0.8.1-r2.ebuild 28 Sep 2010 17:22:52 -0000 1.9
97 @@ -1,6 +1,6 @@
98 # Copyright 1999-2010 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild,v 1.8 2010/06/17 21:28:24 patrick Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r2.ebuild,v 1.9 2010/09/28 17:22:52 robbat2 Exp $
102
103 inherit eutils
104
105 @@ -10,7 +10,7 @@ HOMEPAGE="http://libdbi-drivers.sourcefo
106 LICENSE="LGPL-2.1"
107 DEPEND=">=dev-db/libdbi-0.8.0
108 mysql? ( virtual/mysql )
109 - postgres? ( dev-db/postgresql-server )
110 + postgres? ( dev-db/postgresql-base )
111 sqlite? ( <dev-db/sqlite-3 )
112 sqlite3? ( >=dev-db/sqlite-3 )
113 !bindist? ( firebird? ( dev-db/firebird ) )"
114
115
116
117 1.3 dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild
118
119 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild?rev=1.3&view=markup
120 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild?rev=1.3&content-type=text/plain
121 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild?r1=1.2&r2=1.3
122
123 Index: libdbi-drivers-0.8.3-r1.ebuild
124 ===================================================================
125 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild,v
126 retrieving revision 1.2
127 retrieving revision 1.3
128 diff -p -w -b -B -u -u -r1.2 -r1.3
129 --- libdbi-drivers-0.8.3-r1.ebuild 17 Jun 2010 21:28:24 -0000 1.2
130 +++ libdbi-drivers-0.8.3-r1.ebuild 28 Sep 2010 17:22:52 -0000 1.3
131 @@ -1,6 +1,6 @@
132 # Copyright 1999-2010 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild,v 1.2 2010/06/17 21:28:24 patrick Exp $
135 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r1.ebuild,v 1.3 2010/09/28 17:22:52 robbat2 Exp $
136
137 EAPI=1
138 inherit eutils autotools
139 @@ -14,7 +14,7 @@ HOMEPAGE="http://libdbi-drivers.sourcefo
140 LICENSE="LGPL-2.1"
141 DEPEND=">=dev-db/libdbi-0.8.3
142 mysql? ( virtual/mysql )
143 - postgres? ( dev-db/postgresql-server )
144 + postgres? ( dev-db/postgresql-base )
145 sqlite? ( <dev-db/sqlite-3 )
146 sqlite3? ( >=dev-db/sqlite-3 )
147 !bindist? ( firebird? ( dev-db/firebird ) )
148
149
150
151 1.13 dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild
152
153 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild?rev=1.13&view=markup
154 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild?rev=1.13&content-type=text/plain
155 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild?r1=1.12&r2=1.13
156
157 Index: libdbi-drivers-0.8.1-r1.ebuild
158 ===================================================================
159 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild,v
160 retrieving revision 1.12
161 retrieving revision 1.13
162 diff -p -w -b -B -u -u -r1.12 -r1.13
163 --- libdbi-drivers-0.8.1-r1.ebuild 17 Jun 2010 21:28:24 -0000 1.12
164 +++ libdbi-drivers-0.8.1-r1.ebuild 28 Sep 2010 17:22:52 -0000 1.13
165 @@ -1,6 +1,6 @@
166 # Copyright 1999-2010 Gentoo Foundation
167 # Distributed under the terms of the GNU General Public License v2
168 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild,v 1.12 2010/06/17 21:28:24 patrick Exp $
169 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.1-r1.ebuild,v 1.13 2010/09/28 17:22:52 robbat2 Exp $
170
171 inherit eutils
172
173 @@ -10,7 +10,7 @@ HOMEPAGE="http://libdbi-drivers.sourcefo
174 LICENSE="LGPL-2.1"
175 DEPEND=">=dev-db/libdbi-0.8.0
176 mysql? ( virtual/mysql )
177 - postgres? ( dev-db/postgresql-server )
178 + postgres? ( dev-db/postgresql-base )
179 sqlite? ( <dev-db/sqlite-3 )
180 sqlite3? ( >=dev-db/sqlite-3 )
181 firebird? ( dev-db/firebird )"
182
183
184
185 1.1 dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild
186
187 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild?rev=1.1&view=markup
188 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild?rev=1.1&content-type=text/plain
189
190 Index: libdbi-drivers-0.8.3-r2.ebuild
191 ===================================================================
192 # Copyright 1999-2010 Gentoo Foundation
193 # Distributed under the terms of the GNU General Public License v2
194 # $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild,v 1.1 2010/09/28 17:22:52 robbat2 Exp $
195
196 EAPI=1
197 inherit eutils autotools
198
199 MY_PV="${PV}-1"
200 MY_P="${PN}-${MY_PV}"
201
202 DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi."
203 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
204 HOMEPAGE="http://libdbi-drivers.sourceforge.net/"
205 LICENSE="LGPL-2.1"
206 RDEPEND=">=dev-db/libdbi-0.8.3
207 mysql? ( virtual/mysql )
208 postgres? ( dev-db/postgresql-base )
209 sqlite? ( <dev-db/sqlite-3 )
210 sqlite3? ( >=dev-db/sqlite-3 )
211 !bindist? ( firebird? ( dev-db/firebird ) )"
212 DEPEND="${RDEPEND}
213 doc? ( app-text/openjade )"
214
215 IUSE="mysql postgres sqlite oci8 firebird +sqlite3 bindist doc"
216 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
217 SLOT=0
218 S="${WORKDIR}/${MY_P}"
219
220 src_unpack() {
221 unpack ${A}
222 epatch "${FILESDIR}"/${PN}-0.8.3-doc-build-fix.patch
223 epatch "${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch
224 epatch "${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
225 cd "${S}"
226 eautoreconf
227 }
228
229 pkg_setup() {
230 local drivers=""
231 use mysql && drivers="${drivers} mysql"
232 use postgres && drivers="${drivers} pgsql"
233 use sqlite && drivers="${drivers} sqlite"
234 use sqlite3 && drivers="${drivers} sqlite3"
235 if use firebird; then
236 if use bindist; then
237 eerror "The Interbase Public License is incompatible with LGPL, see bug #200284."
238 eerror "Disabling firebird in the build"
239 else
240 drivers="${drivers} firebird"
241 fi
242 fi
243 if use oci8; then
244 if [ -z "${ORACLE_HOME}" ]; then
245 die "\$ORACLE_HOME is not set!"
246 fi
247 drivers="${drivers} oracle"
248 fi
249 # safety check
250 if [ -z "${drivers// /}" ]; then
251 die "No supported databases in your USE flags! (mysql, postgres, sqlite, sqlite3, oracle, firebird)"
252 fi
253 }
254
255 src_compile() {
256 local myconf=""
257 # WARNING: the configure script does NOT work correctly
258 # --without-$driver does NOT work
259 # so do NOT use `use_with...`
260 use mysql && myconf="${myconf} --with-mysql"
261 use postgres && myconf="${myconf} --with-pgsql"
262 use sqlite && myconf="${myconf} --with-sqlite"
263 use sqlite3 && myconf="${myconf} --with-sqlite3"
264 use !bindist && use firebird && myconf="${myconf} --with-firebird"
265 if use oci8; then
266 if [ -z "${ORACLE_HOME}" ]; then
267 die "\$ORACLE_HOME is not set!"
268 fi
269 myconf="${myconf} --with-oracle-dir=${ORACLE_HOME} --with-oracle"
270 fi
271
272 econf $(use_enable doc docs) ${myconf} || die "econf failed"
273 emake || die "emake failed"
274 }
275
276 src_install () {
277 emake install DESTDIR="${D}" || die "make install failed"
278 dodoc AUTHORS ChangeLog NEWS README README.osx TODO
279 }
280 src_test() {
281 if [ -z "${WANT_INTERACTIVE_TESTS}" ]; then
282 ewarn "Tests disabled due to interactivity."
283 ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them."
284 return 0
285 fi
286 einfo "Running interactive tests"
287 emake check || die "Tests failed"
288 }