From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/soci/
Date: Sun, 1 Jul 2018 00:03:54 +0000 (UTC) [thread overview]
Message-ID: <1530403415.8964f5a3b1b70c9dcb403c5296fd63a2c04f315a.asturm@gentoo> (raw)
commit: 8964f5a3b1b70c9dcb403c5296fd63a2c04f315a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 21:30:46 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 1 00:03:35 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8964f5a3
dev-db/soci: EAPI-6 bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
dev-db/soci/soci-3.2.3.ebuild | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/dev-db/soci/soci-3.2.3.ebuild b/dev-db/soci/soci-3.2.3.ebuild
index 390012ef0f7..ba430f65be3 100644
--- a/dev-db/soci/soci-3.2.3.ebuild
+++ b/dev-db/soci/soci-3.2.3.ebuild
@@ -1,20 +1,21 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit cmake-utils
-KEYWORDS="~amd64 ~x86"
-
DESCRIPTION="Makes the illusion of embedding SQL queries in the regular C++ code"
HOMEPAGE="http://soci.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
LICENSE="Boost-1.0"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite"
-DEPEND="boost? ( dev-libs/boost )
+DEPEND="
+ boost? ( dev-libs/boost )
firebird? ( dev-db/firebird )
mysql? ( virtual/mysql )
odbc? ( dev-db/unixODBC )
@@ -22,25 +23,25 @@ DEPEND="boost? ( dev-libs/boost )
postgres? ( dev-db/postgresql:= )
sqlite? ( dev-db/sqlite:3 )
"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
src_configure() {
- local mycmakeargs="$(cmake-utils_use_with boost )
- $(cmake-utils_use empty SOCI_EMPTY)
- $(cmake-utils_use_with firebird FIREBIRD)
- $(cmake-utils_use_with mysql MYSQL)
- $(cmake-utils_use_with odbc ODBC)
- $(cmake-utils_use_with oracle ORACLE)
- $(cmake-utils_use_with postgres POSTGRESQL)
- $(cmake-utils_use_with sqlite SQLITE3)
- -DWITH_DB2=OFF" #use MYCMAKEARGS if you want enable IBM DB2 support
+ local mycmakeargs=(
+ -DWITH_BOOST=$(usex boost)
+ -DSOCI_EMPTY=$(usex empty)
+ -DWITH_FIREBIRD=$(usex firebird)
+ -DWITH_MYSQL=$(usex mysql)
+ -DWITH_ODBC=$(usex odbc)
+ -DWITH_ORACLE=$(usex oracle)
+ -DWITH_POSTGRESQL=$(usex postgres)
+ -DWITH_SQLITE3=$(usex sqlite)
+ -DWITH_DB2=OFF
+ )
+ #use MYCMAKEARGS if you want enable IBM DB2 support
cmake-utils_src_configure
}
src_install() {
+ use doc && local HTML_DOCS=( doc/. )
cmake-utils_src_install
- dodoc AUTHORS CHANGES
- if use doc; then
- dohtml -r doc/*
- fi
}
next reply other threads:[~2018-07-01 0:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-01 0:03 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-05 20:33 [gentoo-commits] repo/gentoo:master commit in: dev-db/soci/ Brian Evans
2018-07-01 0:03 Andreas Sturmlechner
2018-07-01 0:03 Andreas Sturmlechner
2018-07-01 0:03 Andreas Sturmlechner
2017-03-23 20:53 David Seifert
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=1530403415.8964f5a3b1b70c9dcb403c5296fd63a2c04f315a.asturm@gentoo \
--to=asturm@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