mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-libs/google-cloud-cpp: drop old
Signed-off-by: Filip Kobierski <fkobi@pm.me> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
This commit is contained in:
committed by
Jason Zaman
parent
5de99548e1
commit
5625b743cb
@@ -1,7 +1,2 @@
|
||||
DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3
|
||||
DIST google-cloud-cpp-1.36.0.tar.gz 4522003 BLAKE2B f436935b3a95fa911fb04429ee20b0712eeaf58f8ebfdd1b75f848e19ffa88d17b1be1d917f5693f1996ce6eaff6bd6053958c2b20cf29370164bccf2794c76c SHA512 a9885f9e0726de64eaee0376f3d1ed3a00c32919f2b9a911479206f2965a62eea5ff292b459f61eae97d5d2fe336c410c615296fcb0c7506faf45c57bd6f8871
|
||||
DIST google-cloud-cpp-2.19.0.tar.gz 12289079 BLAKE2B 915acacdc8e757e95244c715b74618e34ae3a22ea39bd0ae3e628dcd07f0dc99a2baaa11f4f69b9d2134ffc10af9e9437cf8862eff19a720ff415e0b1b15e6b8 SHA512 a392da19ac353409ecbf30e390803b2e34670552fd54466a08ee554a77c893d447289b30d5841c7f79b2a23244a269d8ecac8f7fbd8a34dda45ce2d8b1d46817
|
||||
DIST googleapis-0e3b813b0d0da539eacbe86b8716feeed00943c5.tar.gz 7914422 BLAKE2B 05dfb0523a4208c84d51e99bb3edd531b1d4069971fb6810ab2c31b7bc1b14824be9a4c5d0e176ad741d1b902242702be7f125595d22dd5a6d75d0a9e8790ed8 SHA512 56a9fd1ff464f33d80dcce1bfc927e4332fe2e986f731b3f8ceb583265a2b23a659273dc6777a100d563ed972672353f8fd0292f894c42b4142bb5d7882f8ef6
|
||||
DIST googleapis-28c6bb97cac6f16c69879be4e655674a74b886ef.tar.gz 5448352 BLAKE2B 0421ba9506e931d0bd7b01011832a91235f04ae825489021204da17d543671994e68dfecd97eeb8ee90f42726450d375955e1458e7dfba8551854c036bdc6069 SHA512 59f4d78c268280323314b8d471d4877cacc4238bfac3a769aa86cedd22d79ebeb50f2aaa8a60f9264976d12ef629a2a3d1a0da1c0d6723ec08f517ef0fae9450
|
||||
DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7
|
||||
DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
diff --git a/cmake/DownloadNlohmannJson.cmake b/cmake/DownloadNlohmannJson.cmake
|
||||
index 1db953bed..4bbbe35fa 100644
|
||||
--- a/cmake/DownloadNlohmannJson.cmake
|
||||
+++ b/cmake/DownloadNlohmannJson.cmake
|
||||
@@ -37,6 +37,10 @@ function (_download_json_hpp)
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep
|
||||
"${sleep_seconds}")
|
||||
endif ()
|
||||
+ if (EXISTS "${DEST}/json.hpp")
|
||||
+ set(download_error_code 0)
|
||||
+ break()
|
||||
+ endif ()
|
||||
file(DOWNLOAD "${JSON_URL}" "${DEST}/json.hpp" STATUS download_status)
|
||||
list(GET download_status 0 download_error_code)
|
||||
if (download_error_code EQUAL 0)
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake
|
||||
|
||||
JSON_VER="3.4.0"
|
||||
GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97"
|
||||
|
||||
DESCRIPTION="Google Cloud Client Library for C++"
|
||||
HOMEPAGE="https://cloud.google.com/"
|
||||
SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp
|
||||
https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
RDEPEND="dev-libs/protobuf:=
|
||||
dev-libs/crc32c
|
||||
dev-libs/openssl:=
|
||||
net-misc/curl
|
||||
net-libs/grpc:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest"
|
||||
|
||||
DOCS=( README.md )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
|
||||
-DBUILD_TESTING=OFF
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
|
||||
cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
|
||||
|
||||
mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die
|
||||
cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \
|
||||
"${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# test fails
|
||||
local myctestargs=(
|
||||
-E internal_parse_rfc3339_test
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
# From cmake/GoogleapisConfig.cmake
|
||||
GOOGLEAPIS_COMMIT="28c6bb97cac6f16c69879be4e655674a74b886ef"
|
||||
|
||||
DESCRIPTION="Google Cloud Client Library for C++"
|
||||
HOMEPAGE="https://cloud.google.com/"
|
||||
SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# Tests need a GCP account
|
||||
RESTRICT="test"
|
||||
RDEPEND="dev-cpp/abseil-cpp:=
|
||||
dev-cpp/nlohmann_json
|
||||
dev-libs/protobuf:=
|
||||
dev-libs/crc32c
|
||||
dev-libs/openssl:=
|
||||
dev-libs/re2:=
|
||||
net-misc/curl
|
||||
net-libs/grpc:=
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
test? (
|
||||
dev-cpp/benchmark
|
||||
)"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF
|
||||
-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die
|
||||
cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \
|
||||
"${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# test fails
|
||||
local myctestargs=(
|
||||
-E internal_parse_rfc3339_test
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user