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.9.0.ebuild ChangeLog
Date: Thu, 29 Aug 2013 16:02:55
Message-Id: 20130829160250.0CBFB2004E@flycatcher.gentoo.org
1 robbat2 13/08/29 16:02:49
2
3 Modified: ChangeLog
4 Added: libdbi-drivers-0.9.0.ebuild
5 Log:
6 Bump per bug #465716.
7
8 (Portage version: 2.2.0_alpha185/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.55 dev-db/libdbi-drivers/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -p -w -b -B -u -u -r1.54 -r1.55
23 --- ChangeLog 14 May 2013 02:55:38 -0000 1.54
24 +++ ChangeLog 29 Aug 2013 16:02:49 -0000 1.55
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-db/libdbi-drivers
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.54 2013/05/14 02:55:38 jmbsvicetto Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.55 2013/08/29 16:02:49 robbat2 Exp $
30 +
31 +*libdbi-drivers-0.9.0 (29 Aug 2013)
32 +
33 + 29 Aug 2013; Robin H. Johnson <robbat2@g.o>
34 + +files/libdbi-drivers-0.9.0-doc-build-fix.patch, +libdbi-drivers-0.9.0.ebuild:
35 + Bump per bug #465716.
36
37 14 May 2013; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
38 +files/libdbi-drivers-0.8.3-fix-ac-macro.patch,
39
40
41
42 1.1 dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libdbi-drivers-0.9.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild,v 1.1 2013/08/29 16:02:49 robbat2 Exp $
52
53 EAPI=4
54
55 inherit eutils autotools
56
57 DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi."
58 SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${P}/${P}.tar.gz"
59 HOMEPAGE="http://libdbi-drivers.sourceforge.net/"
60 LICENSE="LGPL-2.1"
61
62 IUSE="bindist doc firebird mysql oci8 postgres +sqlite static-libs"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
64 SLOT=0
65
66 RDEPEND="
67 >=dev-db/libdbi-0.9.0
68 firebird? ( dev-db/firebird )
69 mysql? ( virtual/mysql )
70 postgres? ( dev-db/postgresql-base )
71 sqlite? ( dev-db/sqlite:3 )
72 "
73 DEPEND="${RDEPEND}
74 doc? ( app-text/openjade )
75 "
76
77
78 REQUIRED_USE="
79 firebird? ( !bindist )
80 || ( mysql postgres sqlite firebird oci8 )
81 "
82
83 DOCS="AUTHORS ChangeLog NEWS README README.osx TODO"
84
85 pkg_setup() {
86 use oci8 && [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!"
87 }
88
89 src_prepare() {
90 #"${FILESDIR}"/${P}-fix-ac-macro.patch \
91 #"${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch \
92 #"${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
93 epatch \
94 "${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch
95 eautoreconf
96 }
97
98 src_configure() {
99 local myconf=""
100 # WARNING: the configure script does NOT work correctly
101 # --without-$driver does NOT work
102 # so do NOT use `use_with...`
103 # Future additions:
104 # msql
105 # freetds
106 # ingres
107 # db2
108 use mysql && myconf+=" --with-mysql"
109 use postgres && myconf+=" --with-pgsql"
110 use sqlite && myconf+=" --with-sqlite3"
111 use firebird && myconf+=" --with-firebird"
112 if use oci8; then
113 [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!"
114 myconf+=" --with-oracle-dir=${ORACLE_HOME} --with-oracle"
115 fi
116
117 econf \
118 $(use_enable doc docs) \
119 $(use_enable static-libs static) \
120 ${myconf}
121 }
122
123 src_test() {
124 if [[ -z "${WANT_INTERACTIVE_TESTS}" ]]; then
125 ewarn "Tests disabled due to interactivity."
126 ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them."
127 return 0
128 fi
129 einfo "Running interactive tests"
130 emake check
131 }
132
133 src_install() {
134 default
135
136 prune_libtool_files --all
137 }