Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/cpp-driver/
Date: Thu, 07 Dec 2017 09:19:47
Message-Id: 1512637946.5084338185ba601335cbc09166677c9b203b5933.asturm@gentoo
commit:     5084338185ba601335cbc09166677c9b203b5933
Author:     Geaaru <geaaru <AT> gmail <DOT> com>
AuthorDate: Thu Dec  7 08:54:30 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 09:12:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50843381

dev-db/cpp-driver: 2.8.0 version bump, bug #639116

Package-Manager: Portage-2.3.13, Repoman-2.3.4
Closes: https://bugs.gentoo.org/639116
Closes: https://github.com/gentoo/gentoo/pull/6446

 dev-db/cpp-driver/Manifest                |  3 ++-
 dev-db/cpp-driver/cpp-driver-2.8.0.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/dev-db/cpp-driver/Manifest b/dev-db/cpp-driver/Manifest
index b9d24d0969b..f99d6b85d15 100644
--- a/dev-db/cpp-driver/Manifest
+++ b/dev-db/cpp-driver/Manifest
@@ -1 +1,2 @@
-DIST cpp-driver-2.7.1.tar.gz 623912 SHA256 eb22b7b148507253d2ca24f419e6768d5f9525dbc6f60afcd40906df3ae7cf8d SHA512 240cfc63eafd5c825289703569e7ec405f3a8671f21372c11738fc9a45712fd430b5ef0b78d03156223dcf68862ab2e8a78d2f9b3274839e271455920492110d WHIRLPOOL 5745cb3e39a9b375945ddd41d23bb25488105238315993646eaa11897d5730d0db80dd5f0e159752163ec7a8e06995f9e4fcd71f765a03a1f43a09957e0bac1c
+DIST cpp-driver-2.7.1.tar.gz 623912 BLAKE2B 799e38044bdc71278228f1bbde6c6c906ecea952da8a296fbad2b94e27ed8b6b17f5ce3d8616bab5184f5fbc2ba0b6e6bc115597e77898813e235a7fec3c3c9e SHA512 240cfc63eafd5c825289703569e7ec405f3a8671f21372c11738fc9a45712fd430b5ef0b78d03156223dcf68862ab2e8a78d2f9b3274839e271455920492110d
+DIST cpp-driver-2.8.0.tar.gz 1515087 BLAKE2B ce8a2afb1c8c97104b4622e1d3499a402e31a91689fe01ba22de24846c33aaf80057425aa6f3a7f08ca73d484e9a431a62ee5dab517fc6a02a6e569a813de50f SHA512 373f5e462053768c9d092f4621f8d78d94a7736770740d8b1366a4fc233c83de4dee952a58e1c6a29a599810bd3701ebbd16b8c02ebdc54a80fb5885494a7e0e

diff --git a/dev-db/cpp-driver/cpp-driver-2.8.0.ebuild b/dev-db/cpp-driver/cpp-driver-2.8.0.ebuild
new file mode 100644
index 00000000000..840881be457
--- /dev/null
+++ b/dev-db/cpp-driver/cpp-driver-2.8.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="DataStax C/C++ Driver for Cassandra"
+HOMEPAGE="http://datastax.github.io/cpp-driver/"
+SRC_URI="https://github.com/datastax/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl libressl"
+
+RDEPEND="
+	dev-libs/libuv:=
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=( -DCASS_USE_OPENSSL=$(usex ssl) )
+	cmake-utils_src_configure
+}