From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/libdbi-drivers/
Date: Fri, 23 Aug 2019 14:39:54 +0000 (UTC) [thread overview]
Message-ID: <1566571127.1c29811d86dbc0a458f74c8b026263ef3d83ca05.grknight@gentoo> (raw)
commit: 1c29811d86dbc0a458f74c8b026263ef3d83ca05
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 23 14:36:53 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 14:38:47 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c29811d
dev-db/libdbi-drivers: Revbump for EAPI and deps
Non-maintainer commit
Change to EAPI 7 and use mysql-connector-c instead of virtual/mysql
Bug: https://bugs.gentoo.org/665840
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
.../libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild
new file mode 100644
index 00000000000..a46e855b424
--- /dev/null
+++ b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${P}/${P}.tar.gz"
+HOMEPAGE="http://libdbi-drivers.sourceforge.net/"
+LICENSE="LGPL-2.1"
+
+IUSE="doc firebird mysql oci8 postgres +sqlite static-libs"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+SLOT=0
+REQUIRED_USE="|| ( mysql postgres sqlite firebird oci8 )"
+RESTRICT="firebird? ( bindist )"
+
+RDEPEND="
+ >=dev-db/libdbi-0.9.0
+ firebird? ( dev-db/firebird )
+ mysql? ( dev-db/mysql-connector-c:= )
+ postgres? ( dev-db/postgresql:* )
+ sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-text/openjade )"
+
+DOCS=( AUTHORS ChangeLog NEWS README README.osx TODO )
+
+PATCHES=(
+ #"${FILESDIR}"/${P}-fix-ac-macro.patch \
+ #"${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch \
+ #"${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
+ "${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch
+)
+
+pkg_setup() {
+ use oci8 && [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!"
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+ # WARNING: the configure script does NOT work correctly
+ # --without-$driver does NOT work
+ # so do NOT use `use_with...`
+ # Future additions:
+ # msql
+ # freetds
+ # ingres
+ # db2
+ use mysql && myconf+=" --with-mysql"
+ use postgres && myconf+=" --with-pgsql"
+ use sqlite && myconf+=" --with-sqlite3"
+ use firebird && myconf+=" --with-firebird"
+ if use oci8; then
+ [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!"
+ myconf+=" --with-oracle-dir=${ORACLE_HOME} --with-oracle"
+ fi
+
+ econf \
+ $(use_enable doc docs) \
+ $(use_enable static-libs static) \
+ --with-dbi-libdir=/usr/$(get_libdir) \
+ ${myconf}
+}
+
+src_test() {
+ if [[ -z "${WANT_INTERACTIVE_TESTS}" ]]; then
+ ewarn "Tests disabled due to interactivity."
+ ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them."
+ return 0
+ fi
+ einfo "Running interactive tests"
+ emake check
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -type f -delete || die
+}
next reply other threads:[~2019-08-23 14:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 14:39 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-31 21:15 [gentoo-commits] repo/gentoo:master commit in: dev-db/libdbi-drivers/ Andreas K. Hüttel
2024-10-30 16:46 Arthur Zamarin
2024-10-26 18:39 Arthur Zamarin
2024-10-25 21:31 Sam James
2024-10-25 21:31 Sam James
2024-10-25 21:31 Sam James
2024-10-25 21:25 Sam James
2024-10-25 21:25 Sam James
2022-11-29 18:06 WANG Xuerui
2021-03-19 21:43 Sam James
2020-06-18 17:04 Andreas Sturmlechner
2020-06-09 4:23 Mart Raudsepp
2020-04-10 9:48 Sergei Trofimovich
2020-04-07 21:48 Sergei Trofimovich
2020-03-29 10:45 Sergei Trofimovich
2020-03-02 11:49 Sergei Trofimovich
2020-02-12 16:14 Agostino Sarubbo
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 11:09 Agostino Sarubbo
2020-02-11 9:51 Agostino Sarubbo
2020-02-11 9:43 Agostino Sarubbo
2020-02-11 8:43 Agostino Sarubbo
2020-02-11 8:40 Agostino Sarubbo
2020-02-10 18:10 Agostino Sarubbo
2018-01-28 17:38 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1566571127.1c29811d86dbc0a458f74c8b026263ef3d83ca05.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox