Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/google-cloud-cpp/
Date: Sun, 06 Mar 2022 00:14:33
Message-Id: 1646525593.e98d518fa9b44c73f44205b9f0764bc16bec5bd6.perfinion@gentoo
1 commit: e98d518fa9b44c73f44205b9f0764bc16bec5bd6
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 6 00:10:15 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 6 00:13:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98d518f
7
8 net-libs/google-cloud-cpp: bump 1.36.0
9
10 Closes: https://bugs.gentoo.org/815904
11 Closes: https://bugs.gentoo.org/744661
12 Closes: https://bugs.gentoo.org/727786
13 Package-Manager: Portage-3.0.30, Repoman-3.0.3
14 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
15
16 net-libs/google-cloud-cpp/Manifest | 2 +
17 .../google-cloud-cpp-1.36.0.ebuild | 62 ++++++++++++++++++++++
18 2 files changed, 64 insertions(+)
19
20 diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest
21 index f2d6f4d5dccb..77a6384d7fc9 100644
22 --- a/net-libs/google-cloud-cpp/Manifest
23 +++ b/net-libs/google-cloud-cpp/Manifest
24 @@ -1,3 +1,5 @@
25 DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3
26 +DIST google-cloud-cpp-1.36.0.tar.gz 4522003 BLAKE2B f436935b3a95fa911fb04429ee20b0712eeaf58f8ebfdd1b75f848e19ffa88d17b1be1d917f5693f1996ce6eaff6bd6053958c2b20cf29370164bccf2794c76c SHA512 a9885f9e0726de64eaee0376f3d1ed3a00c32919f2b9a911479206f2965a62eea5ff292b459f61eae97d5d2fe336c410c615296fcb0c7506faf45c57bd6f8871
27 +DIST googleapis-28c6bb97cac6f16c69879be4e655674a74b886ef.tar.gz 5448352 BLAKE2B 0421ba9506e931d0bd7b01011832a91235f04ae825489021204da17d543671994e68dfecd97eeb8ee90f42726450d375955e1458e7dfba8551854c036bdc6069 SHA512 59f4d78c268280323314b8d471d4877cacc4238bfac3a769aa86cedd22d79ebeb50f2aaa8a60f9264976d12ef629a2a3d1a0da1c0d6723ec08f517ef0fae9450
28 DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7
29 DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d
30
31 diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild
32 new file mode 100644
33 index 000000000000..d0954a056cf3
34 --- /dev/null
35 +++ b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild
36 @@ -0,0 +1,62 @@
37 +# Copyright 1999-2022 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=8
41 +
42 +inherit cmake
43 +
44 +# From cmake/GoogleapisConfig.cmake
45 +GOOGLEAPIS_COMMIT="28c6bb97cac6f16c69879be4e655674a74b886ef"
46 +
47 +DESCRIPTION="Google Cloud Client Library for C++"
48 +HOMEPAGE="https://cloud.google.com/"
49 +SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
50 + https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="test"
56 +
57 +# Tests need a GCP account
58 +RESTRICT="test"
59 +RDEPEND="dev-cpp/abseil-cpp:=
60 + dev-cpp/nlohmann_json
61 + dev-libs/protobuf:=
62 + dev-libs/crc32c
63 + dev-libs/openssl:=
64 + dev-libs/re2:=
65 + net-misc/curl
66 + net-libs/grpc:=
67 + sys-libs/zlib"
68 +DEPEND="${RDEPEND}
69 + dev-cpp/gtest
70 + test? (
71 + dev-cpp/benchmark
72 + )"
73 +
74 +DOCS=( README.md )
75 +
76 +src_configure() {
77 + local mycmakeargs=(
78 + -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF
79 + -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF
80 + -DBUILD_TESTING=$(usex test)
81 + -DCMAKE_CXX_STANDARD=17
82 + )
83 +
84 + cmake_src_configure
85 +
86 + mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die
87 + cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \
88 + "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die
89 +}
90 +
91 +src_test() {
92 + # test fails
93 + local myctestargs=(
94 + -E internal_parse_rfc3339_test
95 + )
96 +
97 + cmake_src_test
98 +}