* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-05-14 8:48 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-05-14 8:48 UTC (permalink / raw
To: gentoo-commits
commit: a8f106ffd4549eb7641f4603e9d160b372c71dfa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 08:48:28 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 14 08:48:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f106ff
net-libs/grpc: Stabilize 1.52.1 x86, #905350
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index ab5a05aa3718..f1722e1283de 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2024-09-17 16:00 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2024-09-17 16:00 UTC (permalink / raw
To: gentoo-commits
commit: 6aa25acd1c85283e3e1adc808adecd52348dc212
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 17 15:59:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 17 15:59:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa25acd
net-libs/grpc: Stabilize 1.65.1 x86, #938833
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.65.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.65.1.ebuild b/net-libs/grpc/grpc-1.65.1.ebuild
index 118adc8b4b09..86c4a10a039c 100644
--- a/net-libs/grpc/grpc-1.65.1.ebuild
+++ b/net-libs/grpc/grpc-1.65.1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/42.165"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="doc examples test systemd"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2024-09-12 21:59 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2024-09-12 21:59 UTC (permalink / raw
To: gentoo-commits
commit: 7fc1c831cc4a7b006ee451718cb331789cf4590a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 21:58:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 21:58:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc1c831
net-libs/grpc: Stabilize 1.65.1 amd64, #938833
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.65.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.65.1.ebuild b/net-libs/grpc/grpc-1.65.1.ebuild
index 3fbe1dcd6309..118adc8b4b09 100644
--- a/net-libs/grpc/grpc-1.65.1.ebuild
+++ b/net-libs/grpc/grpc-1.65.1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/42.165"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc examples test systemd"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2024-09-04 9:32 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2024-09-04 9:32 UTC (permalink / raw
To: gentoo-commits
commit: 3d768fd8e48e4f30636a17193aea26f9bae6bc38
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Aug 30 19:48:14 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 4 09:31:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d768fd8
net-libs/grpc: add 1.66.0
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38356
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.66.0.ebuild | 324 +++++++++++++++++++++++++++++++++++++++
2 files changed, 325 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 15bd602fc31c..03554fdb6e8f 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,3 +5,4 @@ DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 10c6fb35f606806aeb25cd55dd993d9af168eb8
DIST grpc-1.60.0.tar.gz 17442762 BLAKE2B 35cc0ea938deb848ca91e3d5f8879b85b80f94ac09b582600f05fee1f55c162ae98f2f744480f69d78e78da0c0f2d9e198f812101daaa1f1959869f26ba7d97a SHA512 91c2406ed4198509ac0d5360b3da6898fa4f40f459eb6fff541faa44cc238eed98fd7489e7ef7a80a6f4a318bc5b9130eaa0ba1beaa358d1c074fc82825648ff
DIST grpc-1.62.1.tar.gz 22384671 BLAKE2B 134e40732e784e52d518cde6e518e4c08e2f67a025754d88b92a9a314f86e53bee33ee793395b9e225c0895c6ac8b9c036892c82c19d0fddf69909a22eac4b78 SHA512 3224ad2617c18156f90c54c1ebf1f2015e405a6f12546e8709e0c905f52508c9f1a13b4d5a6cc7a35abf58b429985b5b504c9062f50c0d3d6aa163180a61047a
DIST grpc-1.65.1.tar.gz 22539865 BLAKE2B f044305a1817c46d12b96d65a7d70e4342921d372bbeb127840ccbf5cda1f5a34daf7319cd8564a7d327f6abfbac67e4300f80cfe9e66dd49d65d77d30fd3402 SHA512 ca8ebe71fb88a0fc605706c3c81c349e79c40b347081a06795fa64550720bc745373ac5d167263d098e98553077cfda141e4f4be2eefa5f345ede9b0ddec4f54
+DIST grpc-1.66.0.tar.gz 22654517 BLAKE2B 99c7392036dd2eda8384c921223c7d877739c9368a90ec6ba513f7b37b5f5d151795362f3260cb2b3a4132a11b9cb2b3ce6bb5b6894186efc8fa1d8e809c8ebc SHA512 1cd2662ff71ef45642d7c7ac3ab9b20d850ff4f925aea335f0069d870d54f6e4c3107d858cf2e6a45e3e511bc5c9983e75173a0ee7aab7a8e34357c6d5e2fbe8
diff --git a/net-libs/grpc/grpc-1.66.0.ebuild b/net-libs/grpc/grpc-1.66.0.ebuild
new file mode 100644
index 000000000000..af53605f1ca3
--- /dev/null
+++ b/net-libs/grpc/grpc-1.66.0.ebuild
@@ -0,0 +1,324 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_IN_SOURCE_BUILD=1
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake flag-o-matic python-any-r1
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/43.166"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test systemd"
+RESTRICT="!test? ( test )"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ >=dev-cpp/abseil-cpp-20240116:=
+ >=dev-libs/re2-0.2022.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-27.0:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.19.1:=
+ sys-libs/zlib:=
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ dev-cpp/gtest
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ test? (
+ net-misc/curl
+ $(python_gen_any_dep '
+ dev-python/twisted[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/cffi[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.65.0-system-gtest.patch"
+)
+
+python_check_deps() {
+ if use test; then
+ python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
+ fi
+}
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ # These extra libs are defined as dependencies of the vendored gtest,
+ # which is a dependency of the unit tests, therefore they are normally
+ # implicitly picked up and linked to the test binaries. However removing
+ # the vendored gtest to use the system one also removes these dependencies,
+ # so we have to redeclare them as dependencies of the test binaries individually.
+ local extra_libs=(
+ "GTest::gtest"
+ "GTest::gmock"
+ "\${_gRPC_RE2_LIBRARIES}"
+ "absl::flat_hash_set"
+ "absl::failure_signal_handler"
+ "absl::stacktrace"
+ "absl::symbolize"
+ "absl::flags"
+ "absl::flags_parse"
+ "absl::flags_reflection"
+ "absl::flags_usage"
+ "absl::strings"
+ "absl::any"
+ "absl::optional"
+ "absl::variant"
+ )
+ : "$(echo "${extra_libs[@]}" | "${EPYTHON}" -c 'import sys;print("\\n\\1".join(sys.stdin.read().split()))')"
+ local rstring="${_}"
+ sed -i -E "s/( +)gtest/\1${rstring}/g" "CMakeLists.txt" || die
+
+ # Integrate tests with ctest rather than the custom test framework.
+ # Formatted with dev-python/black.
+ "${EPYTHON}" - <<-EOF | tee -a "CMakeLists.txt"
+ import json, pathlib
+
+ print("if(gRPC_BUILD_TESTS)")
+ for line in [
+ json.dumps([t["name"], "./" + t["name"], *t["args"]]).translate(
+ str.maketrans(dict.fromkeys("[],", None))
+ )
+ for t in json.loads(
+ pathlib.Path("tools/run_tests/generated/tests.json").read_text()
+ )
+ if "linux" in t["platforms"] and not t["flaky"] and not t.get("boringssl", False)
+ ]:
+ print(f" add_test({line})")
+ print("endif()")
+ EOF
+
+ # Weird path issue. All tests except these two assume they are running from top-level src
+ sed -i -E "s/lslash != nullptr/false/" "test/core/http/httpcli_test_util.cc" || die
+
+ # Called via system() by some of the C++ sources, respect EPYTHON
+ sed -i -E "s#for p in #for p in \"${EPYTHON}\"#" "tools/distrib/python_wrapper.sh" || die
+
+ # Respect EPYTHON when testing, don't touch installed files otherwise
+ use test && python_fix_shebang --force "${S}"
+
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_DOWNLOAD_ARCHIVES=OFF
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DgRPC_USE_SYSTEMD=$(usex systemd ON OFF)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ # This is normally done with start_port_server.py, but this forks and exits,
+ # while we need to capture the pid, so run it ourselves
+ "${EPYTHON}" "tools/run_tests/python_utils/port_server.py" \
+ -p 32766 -l "${T}/port_server.log" &
+ local port_server_pid="${!}"
+
+ # Reimplementation of what start_port_server.py does with curl
+ curl --retry 9999 --retry-all-errors --retry-max-time 120 \
+ --fail --silent --output /dev/null "http://localhost:32766/get" || die
+
+ CMAKE_SKIP_TESTS=(
+ # CallCommandWithTimeoutDeadlineSet has a timeout set to 5000.25 seconds
+ ^grpc_tool_test$
+
+ # Need network access
+ ^posix_event_engine_native_dns_test$
+ ^posix_event_engine_test$
+ ^resolve_address_using_ares_resolver_test$
+ ^resolve_address_using_native_resolver_test$
+ )
+
+ use amd64 && CMAKE_SKIP_TESTS+=(
+ ^examine_stack_test$ # fails on amd64 only
+ ^stack_tracer_test$ # fails on amd64 only
+ )
+
+ use alpha && CMAKE_SKIP_TESTS+=(
+ ^endpoint_pair_test$ # fails on alpha
+ ^event_poller_posix_test$ # fails on alpha
+ ^tcp_posix_test$ # fails on alpha
+ )
+
+ # NOTE breaks with shared linking because the metric is twice initialised in a static function in a anonymous
+ # namespace
+ # metrics.cc:49] Metric name grpc.lb.pick_first.disconnections has already been registered.
+ # https://bugs.gentoo.org/935787 Leave the bug open until we fixed the underlying issue
+ CMAKE_SKIP_TESTS+=(
+ ^bad_ping_test$
+ ^binary_metadata_test$
+ ^call_creds_test$
+ ^call_host_override_test$
+ ^cancel_after_accept_test$
+ ^cancel_after_client_done_test$
+ ^cancel_after_invoke_test$
+ ^cancel_after_round_trip_test$
+ ^cancel_before_invoke_test$
+ ^cancel_in_a_vacuum_test$
+ ^cancel_with_status_test$
+ ^client_streaming_test$
+ ^compressed_payload_test$
+ ^connectivity_test$
+ ^default_host_test$
+ ^disappearing_server_test$
+ ^empty_batch_test$
+ ^filter_causes_close_test$
+ ^filter_init_fails_test$
+ ^filter_test_test$
+ ^filtered_metadata_test$
+ ^graceful_server_shutdown_test$
+ ^grpc_authz_test$
+ ^high_initial_seqno_test$
+ ^hpack_size_test$
+ ^http2_stats_test$
+ ^invoke_large_request_test$
+ ^keepalive_timeout_test$
+ ^large_metadata_test$
+ ^max_concurrent_streams_test$
+ ^max_connection_age_test$
+ ^max_connection_idle_test$
+ ^max_message_length_test$
+ ^negative_deadline_test$
+ ^no_logging_test$
+ ^no_op_test$
+ ^payload_test$
+ ^ping_pong_streaming_test$
+ ^ping_test$
+ ^proxy_auth_test$
+ ^registered_call_test$
+ ^request_with_flags_test$
+ ^request_with_payload_test$
+ ^resource_quota_server_test$
+ ^retry_cancel_after_first_attempt_starts_test$
+ ^retry_cancel_during_delay_test$
+ ^retry_cancel_with_multiple_send_batches_test$
+ ^retry_cancellation_test$
+ ^retry_disabled_test$
+ ^retry_exceeds_buffer_size_in_delay_test$
+ ^retry_exceeds_buffer_size_in_initial_batch_test$
+ ^retry_exceeds_buffer_size_in_subsequent_batch_test$
+ ^retry_lb_drop_test$
+ ^retry_lb_fail_test$
+ ^retry_non_retriable_status_before_trailers_test$
+ ^retry_non_retriable_status_test$
+ ^retry_per_attempt_recv_timeout_on_last_attempt_test$
+ ^retry_per_attempt_recv_timeout_test$
+ ^retry_recv_initial_metadata_test$
+ ^retry_recv_message_replay_test$
+ ^retry_recv_message_test$
+ ^retry_recv_trailing_metadata_error_test$
+ ^retry_send_initial_metadata_refs_test$
+ ^retry_send_op_fails_test$
+ ^retry_send_recv_batch_test$
+ ^retry_server_pushback_delay_test$
+ ^retry_server_pushback_disabled_test$
+ ^retry_streaming_after_commit_test$
+ ^retry_streaming_succeeds_before_replay_finished_test$
+ ^retry_streaming_test$
+ ^retry_test$
+ ^retry_throttled_test$
+ ^retry_too_many_attempts_test$
+ ^retry_transparent_goaway_test$
+ ^retry_transparent_max_concurrent_streams_test$
+ ^retry_transparent_not_sent_on_wire_test$
+ ^retry_unref_before_finish_test$
+ ^retry_unref_before_recv_test$
+ ^server_finishes_request_test$
+ ^server_streaming_test$
+ ^shutdown_finishes_calls_test$
+ ^shutdown_finishes_tags_test$
+ ^simple_delayed_request_test$
+ ^simple_metadata_test$
+ ^simple_request_test$
+ ^streaming_error_response_test$
+ ^test_core_end2end_channelz_test$
+ ^thread_pool_test$
+ ^timeout_before_request_call_test$
+ ^trailing_metadata_test$
+ ^write_buffering_at_end_test$
+ ^write_buffering_test$
+ )
+
+ # BUG this should be nonfatal and we kill the server even when tests fail
+ cmake_src_test
+
+ kill "${port_server_pid}" || die
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2024-07-09 12:52 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2024-07-09 12:52 UTC (permalink / raw
To: gentoo-commits
commit: 4a585a254225a19337af2376970ba8a19eac1078
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Jul 8 10:53:01 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 9 12:51:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a585a25
net-libs/grpc: 1.62.1 add python3_11
Fixed the typo that led to the omission of 3.11
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.62.1.ebuild | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/net-libs/grpc/grpc-1.62.1.ebuild b/net-libs/grpc/grpc-1.62.1.ebuild
index f8449433e9f8..868f18efcae3 100644
--- a/net-libs/grpc/grpc-1.62.1.ebuild
+++ b/net-libs/grpc/grpc-1.62.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
CMAKE_IN_SOURCE_BUILD=1
-PYTHON_COMPAT=( python3_{10,12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake flag-o-matic python-any-r1
MY_PV="${PV//_pre/-pre}"
@@ -57,14 +57,12 @@ BDEPEND="
PATCHES=( "${FILESDIR}/${PN}-1.62.1-system-gtest.patch" )
python_check_deps() {
- python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" &&
- python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
+ if use test; then
+ python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
+ fi
}
soversion_check() {
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-12-25 19:22 Conrad Kostecki
0 siblings, 0 replies; 86+ messages in thread
From: Conrad Kostecki @ 2023-12-25 19:22 UTC (permalink / raw
To: gentoo-commits
commit: 112d6d4495c3e6547d53746c109fb689af18e0a9
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 19:21:07 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 19:22:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112d6d44
net-libs/grpc: add 1.60.0
Closes: https://bugs.gentoo.org/915482
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.60.0.ebuild | 111 +++++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e2b42171062c..7f8917ce7461 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a64533
DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b81111fa810202106251f440d SHA512 ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d SHA512 2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a
DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 10c6fb35f606806aeb25cd55dd993d9af168eb8b1db64b4515830e2144dc44f35ce8f8329316a38d933b8032a0eff386591a0ddb87f2e405c5deaba012db2824 SHA512 b323de7c1f35b9de3fb7bf02ff4db6993abb0eee6860bbf2082818dda405fbe3a19fad91c5b48565cb65c6318de739bb91e47b5095801c078c6cbf3e8c73600c
+DIST grpc-1.60.0.tar.gz 17442762 BLAKE2B 35cc0ea938deb848ca91e3d5f8879b85b80f94ac09b582600f05fee1f55c162ae98f2f744480f69d78e78da0c0f2d9e198f812101daaa1f1959869f26ba7d97a SHA512 91c2406ed4198509ac0d5360b3da6898fa4f40f459eb6fff541faa44cc238eed98fd7489e7ef7a80a6f4a318bc5b9130eaa0ba1beaa358d1c074fc82825648ff
diff --git a/net-libs/grpc/grpc-1.60.0.ebuild b/net-libs/grpc/grpc-1.60.0.ebuild
new file mode 100644
index 000000000000..4a22cee5664a
--- /dev/null
+++ b/net-libs/grpc/grpc-1.60.0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/37.160"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test systemd"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20230802.0*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-23.3:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=(
+)
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ -DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex !systemd)
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 18:22 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 1d6d7be3058c432e609760c4383f7acd0179ac4e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 18:21:50 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 18:22:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6d7be3
net-libs/grpc: add 1.57.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.57.0.ebuild | 108 +++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 4fc21427782a..e2b42171062c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b81111fa810202106251f440d SHA512 ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d SHA512 2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a
+DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 10c6fb35f606806aeb25cd55dd993d9af168eb8b1db64b4515830e2144dc44f35ce8f8329316a38d933b8032a0eff386591a0ddb87f2e405c5deaba012db2824 SHA512 b323de7c1f35b9de3fb7bf02ff4db6993abb0eee6860bbf2082818dda405fbe3a19fad91c5b48565cb65c6318de739bb91e47b5095801c078c6cbf3e8c73600c
diff --git a/net-libs/grpc/grpc-1.57.0.ebuild b/net-libs/grpc/grpc-1.57.0.ebuild
new file mode 100644
index 000000000000..77e08df80530
--- /dev/null
+++ b/net-libs/grpc/grpc-1.57.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/34.157"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test systemd"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20230125.3*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-23.3:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ -DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex !systemd)
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 17:31 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 17:31 UTC (permalink / raw
To: gentoo-commits
commit: a5c74e0a36a2dbb1afd8597df55a179bacc45786
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 12:27:44 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:29:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c74e0a
net-libs/grpc: add 1.56.1
Bug: https://bugs.gentoo.org/908373
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.55.1.ebuild | 2 +-
.../grpc/{grpc-1.55.1.ebuild => grpc-1.56.1.ebuild} | 19 +++++++++----------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.55.1.ebuild
index 69d10308272e..dbbe581c6f0b 100644
--- a/net-libs/grpc/grpc-1.55.1.ebuild
+++ b/net-libs/grpc/grpc-1.55.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.56.1.ebuild
similarity index 96%
copy from net-libs/grpc/grpc-1.55.1.ebuild
copy to net-libs/grpc/grpc-1.56.1.ebuild
index 69d10308272e..c49f2007237e 100644
--- a/net-libs/grpc/grpc-1.55.1.ebuild
+++ b/net-libs/grpc/grpc-1.56.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/32.155"
+SLOT="0/33.156"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
@@ -22,13 +22,13 @@ RDEPEND="
=dev-cpp/abseil-cpp-20230125.2*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-22:=
+ >=dev-libs/protobuf-23.3:=
dev-libs/xxhash
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
"
-
-DEPEND="${RDEPEND}
+DEPEND="
+ ${RDEPEND}
test? (
dev-cpp/benchmark
dev-cpp/gflags
@@ -72,20 +72,19 @@ src_configure() {
local mycmakeargs=(
-DgRPC_INSTALL=ON
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-DgRPC_PROTOBUF_PROVIDER=package
-DgRPC_RE2_PROVIDER=package
-DgRPC_SSL_PROVIDER=package
-DgRPC_ZLIB_PROVIDER=package
-DgRPC_BUILD_TESTS=$(usex test)
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
-DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
)
-
cmake_src_configure
}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 17:31 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 17:31 UTC (permalink / raw
To: gentoo-commits
commit: 5e5c09a353cb926469b60ef6c84c3b11bbbfac3e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 17:30:42 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:30:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5c09a3
net-libs/grpc: fix IndirectInherits for filter-lto
Closes: https://github.com/gentoo/gentoo/pull/31893
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index c36f6dbeb491..69608ae12606 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 17:31 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 17:31 UTC (permalink / raw
To: gentoo-commits
commit: fac39f7470bcbcb959dc586da3b7bb51b6c974c4
Author: Mark Conway <mark.conway <AT> themobiusproject <DOT> com>
AuthorDate: Mon Jun 26 00:51:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:29:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac39f74
net-libs/grpc: version bump to 1.55.1
Closes: https://bugs.gentoo.org/908373
Signed-off-by: Mark Conway <mark.conway <AT> themobiusproject.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/Manifest | 2 +
net-libs/grpc/grpc-1.55.1.ebuild | 107 +++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 748c6d78954c..4fc21427782a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,3 @@
DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
+DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b81111fa810202106251f440d SHA512 ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
+DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d SHA512 2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a
diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.55.1.ebuild
new file mode 100644
index 000000000000..69d10308272e
--- /dev/null
+++ b/net-libs/grpc/grpc-1.55.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/32.155"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20230125.2*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-22:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ -DCMAKE_CXX_STANDARD=17
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 16:35 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 16:35 UTC (permalink / raw
To: gentoo-commits
commit: 4cb9998d486e5fcc04997676ea534b102b78b2f4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 16:35:16 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 16:35:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb9998d
Revert "net-libs/grpc: bundle abseil-cpp"
This reverts commit 61d0b43d739b703ee9f25abefb04ba0bdf1ac158.
I need to check the install again.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
.../grpc/{grpc-1.52.1-r1.ebuild => grpc-1.52.1.ebuild} | 17 ++++-------------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f96b5140be56..748c6d78954c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1 @@
-DIST abseil-cpp-20220623.1.tar.gz 1957483 BLAKE2B 5bcf60b5a55882bcb78c7095a9892f6d1e5819fb116e325a8299fb22780ab009f0e1d92d5d8aca5ae0d4acc6d60e620e3357a24e389059f6e75d94f1cbdc1ced SHA512 ab4fccd9a2bfa0c5ad4b56c8e8f8b7ec7a8eca8b6cc6959802acadd1da785e1feb078c6ac621808cd699c82717a9e637dc426d94b70a8db7f2a807059d41cbc2
DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
diff --git a/net-libs/grpc/grpc-1.52.1-r1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
similarity index 82%
rename from net-libs/grpc/grpc-1.52.1-r1.ebuild
rename to net-libs/grpc/grpc-1.52.1.ebuild
index 780e0ab91b8f..c36f6dbeb491 100644
--- a/net-libs/grpc/grpc-1.52.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -3,20 +3,13 @@
EAPI=8
-inherit cmake flag-o-matic
+inherit cmake
MY_PV="${PV//_pre/-pre}"
-# Check third_party/abseil-cpp's commit for each tag of ${PN}
-# It may correspond to a commit of abseil-cpp - if so, use the tarball for it
-# and not an arbitrary commit.
-ABSEIL_COMMIT="20220623.1"
DESCRIPTION="Modern open source high performance RPC framework"
HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSEIL_COMMIT}.tar.gz -> abseil-cpp-${ABSEIL_COMMIT}.tar.gz
-"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
@@ -26,6 +19,7 @@ IUSE="doc examples test"
# look for submodule versions in third_party dir
RDEPEND="
+ =dev-cpp/abseil-cpp-20220623.1*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -78,10 +72,7 @@ src_configure() {
local mycmakeargs=(
-DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=module
- -DgRPC_INSTALL=OFF
- -DABSL_ENABLE_INSTALL=OFF
- -DABSL_ROOT_DIR="${WORKDIR}"/abseil-cpp-${ABSEIL_COMMIT}
+ -DgRPC_ABSL_PROVIDER=package
-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
-DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-08-21 15:23 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-08-21 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 61d0b43d739b703ee9f25abefb04ba0bdf1ac158
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 15:03:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 15:23:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d0b43d
net-libs/grpc: bundle abseil-cpp
abseil isn't *really* intended to be a system library and having a year-old
pinned dep like this causes havoc for other packages and leads to uninstallable
combinations (e.g. libreoffice-bin + anything needing grpc).
Please see also the extensive discussion in the linked PRs wrt abseil now
depending on re2 and the ABI implications of the used C++ std. versions with
abseil. It's not worth it and there's more downsides to unbundling than not.
Note that we can't rebundle re2 here because the build system unconditionally
then tries to install it (no toggle unlike for abseil-cpp).
Bug: https://bugs.gentoo.org/906811
Bug: https://github.com/gentoo/gentoo/pull/31388
Bug: https://github.com/gentoo/gentoo/pull/31609
Bug: https://github.com/gentoo/gentoo/pull/31893
Bug: https://github.com/gentoo/gentoo/pull/32281
Closes: https://bugs.gentoo.org/908373
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
.../grpc/{grpc-1.52.1.ebuild => grpc-1.52.1-r1.ebuild} | 17 +++++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 748c6d78954c..f96b5140be56 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,2 @@
+DIST abseil-cpp-20220623.1.tar.gz 1957483 BLAKE2B 5bcf60b5a55882bcb78c7095a9892f6d1e5819fb116e325a8299fb22780ab009f0e1d92d5d8aca5ae0d4acc6d60e620e3357a24e389059f6e75d94f1cbdc1ced SHA512 ab4fccd9a2bfa0c5ad4b56c8e8f8b7ec7a8eca8b6cc6959802acadd1da785e1feb078c6ac621808cd699c82717a9e637dc426d94b70a8db7f2a807059d41cbc2
DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1-r1.ebuild
similarity index 82%
rename from net-libs/grpc/grpc-1.52.1.ebuild
rename to net-libs/grpc/grpc-1.52.1-r1.ebuild
index c36f6dbeb491..780e0ab91b8f 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1-r1.ebuild
@@ -3,13 +3,20 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
+# Check third_party/abseil-cpp's commit for each tag of ${PN}
+# It may correspond to a commit of abseil-cpp - if so, use the tarball for it
+# and not an arbitrary commit.
+ABSEIL_COMMIT="20220623.1"
DESCRIPTION="Modern open source high performance RPC framework"
HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSEIL_COMMIT}.tar.gz -> abseil-cpp-${ABSEIL_COMMIT}.tar.gz
+"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
@@ -19,7 +26,6 @@ IUSE="doc examples test"
# look for submodule versions in third_party dir
RDEPEND="
- =dev-cpp/abseil-cpp-20220623.1*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -72,7 +78,10 @@ src_configure() {
local mycmakeargs=(
-DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_ABSL_PROVIDER=module
+ -DgRPC_INSTALL=OFF
+ -DABSL_ENABLE_INSTALL=OFF
+ -DABSL_ROOT_DIR="${WORKDIR}"/abseil-cpp-${ABSEIL_COMMIT}
-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
-DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-05-26 20:21 Andreas Sturmlechner
0 siblings, 0 replies; 86+ messages in thread
From: Andreas Sturmlechner @ 2023-05-26 20:21 UTC (permalink / raw
To: gentoo-commits
commit: 56c82b5ff87e2e6f921fc37d162b8642533c937d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 08:54:53 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 26 20:21:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c82b5f
net-libs/grpc: drop 1.43.0, 1.43.0-r1, 1.51.1-r1, 1.52.0
Closes: https://bugs.gentoo.org/905350
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-libs/grpc/Manifest | 3 -
net-libs/grpc/grpc-1.43.0-r1.ebuild | 105 -----------------------------------
net-libs/grpc/grpc-1.43.0.ebuild | 101 ----------------------------------
net-libs/grpc/grpc-1.51.1-r1.ebuild | 106 ------------------------------------
net-libs/grpc/grpc-1.52.0.ebuild | 106 ------------------------------------
5 files changed, 421 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 7321af99dcc7..748c6d78954c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1 @@
-DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
-DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 83ba622222e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7 SHA512 1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
-DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028 SHA512 a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7
DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
diff --git a/net-libs/grpc/grpc-1.43.0-r1.ebuild b/net-libs/grpc/grpc-1.43.0-r1.ebuild
deleted file mode 100644
index 2b89ffd2bc51..000000000000
--- a/net-libs/grpc/grpc-1.43.0-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20211102.0*:=
- >=dev-libs/re2-0.2021.11.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.18.1:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- # https://github.com/grpc/grpc/issues/29652
- # issue says 1.46.1 but apparently this is affected too
- filter-lto
-
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
deleted file mode 100644
index 4ec923a7fb2f..000000000000
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/21.143"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20211102.0*:=
- >=dev-libs/re2-0.2021.11.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.18.1:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.51.1-r1.ebuild b/net-libs/grpc/grpc-1.51.1-r1.ebuild
deleted file mode 100644
index ed87698a72be..000000000000
--- a/net-libs/grpc/grpc-1.51.1-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/29.151"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20220623.1*:=
- >=dev-libs/re2-0.2021.11.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.18.1:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- # suppress network access, package builds fine without the submodules
- mkdir "${S}/third_party/opencensus-proto/src" || die
-
- soversion_check
-}
-
-src_configure() {
- # https://github.com/grpc/grpc/issues/29652
- filter-lto
-
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
deleted file mode 100644
index 1bc65a8edf87..000000000000
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20220623.1*:=
- >=dev-libs/re2-0.2021.11.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.18.1:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- # suppress network access, package builds fine without the submodules
- mkdir "${S}/third_party/opencensus-proto/src" || die
-
- soversion_check
-}
-
-src_configure() {
- # https://github.com/grpc/grpc/issues/29652
- filter-lto
-
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-05-14 8:48 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-05-14 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 9c7efdc231957194f053861ebe8e69eb3ba6103b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 08:48:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 14 08:48:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7efdc2
net-libs/grpc: Stabilize 1.52.1 arm64, #905350
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index f1722e1283de..c36f6dbeb491 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-05-14 8:48 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2023-05-14 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 2ddabddb716038b0614026e95783b2e837e8f695
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 08:48:27 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 14 08:48:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddabddb
net-libs/grpc: Stabilize 1.52.1 amd64, #905350
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index 1bc65a8edf87..ab5a05aa3718 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-27 9:10 WANG Xuerui
0 siblings, 0 replies; 86+ messages in thread
From: WANG Xuerui @ 2023-02-27 9:10 UTC (permalink / raw
To: gentoo-commits
commit: 0b1c4e15e900b90f2ee158191243876a31569c15
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 09:06:32 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 09:10:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1c4e15
net-libs/grpc: add 1.52.1
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.52.1.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f812a0c1784b..7321af99dcc7 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 83ba622222e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7 SHA512 1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028 SHA512 a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7
+DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
new file mode 100644
index 000000000000..1bc65a8edf87
--- /dev/null
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/30.152"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20220623.1*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.18.1:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-24 17:11 Arthur Zamarin
0 siblings, 0 replies; 86+ messages in thread
From: Arthur Zamarin @ 2023-02-24 17:11 UTC (permalink / raw
To: gentoo-commits
commit: 460f17816b4bd5cff5596cf13467c3a3dc6b575a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 17:10:46 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 17:10:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460f1781
net-libs/grpc: Keyword 1.52.0 arm, #893926
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 93523a5bfd23..1bc65a8edf87 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-20 21:29 Arthur Zamarin
0 siblings, 0 replies; 86+ messages in thread
From: Arthur Zamarin @ 2023-02-20 21:29 UTC (permalink / raw
To: gentoo-commits
commit: 8fea7d44933bf76e1426295e2b13837b92a9a1b5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 21:29:10 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 21:29:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fea7d44
net-libs/grpc: Keyword 1.52.0 x86, #893926
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 4449a9c03c1a..93523a5bfd23 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-16 5:52 WANG Xuerui
0 siblings, 0 replies; 86+ messages in thread
From: WANG Xuerui @ 2023-02-16 5:52 UTC (permalink / raw
To: gentoo-commits
commit: 56b44122265b2b5b1ba03dc8b35edb014b0471cc
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 08:45:18 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 05:51:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b44122
net-libs/grpc: keyword 1.52.0 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 53d1716e94df..4449a9c03c1a 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-12 18:42 Jakov Smolić
0 siblings, 0 replies; 86+ messages in thread
From: Jakov Smolić @ 2023-02-12 18:42 UTC (permalink / raw
To: gentoo-commits
commit: da66e567bd7397959b286b5c5cdd7cb818b854fe
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 18:42:09 2023 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 18:42:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da66e567
net-libs/grpc: Keyword 1.52.0 ppc64, #893926
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index f9f7765da1ba..53d1716e94df 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-12 18:42 Jakov Smolić
0 siblings, 0 replies; 86+ messages in thread
From: Jakov Smolić @ 2023-02-12 18:42 UTC (permalink / raw
To: gentoo-commits
commit: e716d0786d8ad25cc171aa1ac18747dec7882fd7
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 18:42:08 2023 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 18:42:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e716d078
net-libs/grpc: Keyword 1.52.0 arm64, #893926
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index cfce1f5ddfd4..f9f7765da1ba 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~riscv"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-12 18:36 Jakov Smolić
0 siblings, 0 replies; 86+ messages in thread
From: Jakov Smolić @ 2023-02-12 18:36 UTC (permalink / raw
To: gentoo-commits
commit: 019ea2e7120a5dc2f59489389468b3617285c56c
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 18:36:45 2023 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 18:36:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019ea2e7
net-libs/grpc: Keyword 1.52.0 riscv, #893926
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 7c1681b6c9a7..cfce1f5ddfd4 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/30.152"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-11 7:47 WANG Xuerui
0 siblings, 0 replies; 86+ messages in thread
From: WANG Xuerui @ 2023-02-11 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 876bdcc8e653fa12a34118fde0beb08a3c7f3916
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 7 09:59:29 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 07:47:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876bdcc8
net-libs/grpc: add 1.52.0
Closes: https://github.com/gentoo/gentoo/pull/29456
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.52.0.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 0c26fe648981..f812a0c1784b 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,3 @@
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 83ba622222e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7 SHA512 1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
+DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028 SHA512 a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7
diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
new file mode 100644
index 000000000000..7c1681b6c9a7
--- /dev/null
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/30.152"
+KEYWORDS="~amd64"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20220623.1*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.18.1:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-11 7:47 WANG Xuerui
0 siblings, 0 replies; 86+ messages in thread
From: WANG Xuerui @ 2023-02-11 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 39b0f7a6171777fd1898120dbb7841ea5d001c28
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 7 10:11:03 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 07:47:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b0f7a6
net-libs/grpc: filter-lto
See: https://github.com/grpc/grpc/issues/29652
Closes: https://bugs.gentoo.org/861476
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
.../grpc/{grpc-1.51.1.ebuild => grpc-1.43.0-r1.ebuild} | 16 +++++++++-------
.../grpc/{grpc-1.51.1.ebuild => grpc-1.51.1-r1.ebuild} | 5 ++++-
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/net-libs/grpc/grpc-1.51.1.ebuild b/net-libs/grpc/grpc-1.43.0-r1.ebuild
similarity index 90%
copy from net-libs/grpc/grpc-1.51.1.ebuild
copy to net-libs/grpc/grpc-1.43.0-r1.ebuild
index f3edebd3268c..2b89ffd2bc51 100644
--- a/net-libs/grpc/grpc-1.51.1.ebuild
+++ b/net-libs/grpc/grpc-1.43.0-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
+EAPI=7
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
@@ -13,13 +13,13 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/29.151"
+SLOT="0/21.143"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
RDEPEND="
- =dev-cpp/abseil-cpp-20220623.1*:=
+ =dev-cpp/abseil-cpp-20211102.0*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -58,15 +58,17 @@ src_prepare() {
cmake_src_prepare
# un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
- # suppress network access, package builds fine without the submodules
- mkdir "${S}/third_party/opencensus-proto/src" || die
-
soversion_check
}
src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ # issue says 1.46.1 but apparently this is affected too
+ filter-lto
+
local mycmakeargs=(
-DgRPC_INSTALL=ON
-DgRPC_ABSL_PROVIDER=package
diff --git a/net-libs/grpc/grpc-1.51.1.ebuild b/net-libs/grpc/grpc-1.51.1-r1.ebuild
similarity index 96%
rename from net-libs/grpc/grpc-1.51.1.ebuild
rename to net-libs/grpc/grpc-1.51.1-r1.ebuild
index f3edebd3268c..ed87698a72be 100644
--- a/net-libs/grpc/grpc-1.51.1.ebuild
+++ b/net-libs/grpc/grpc-1.51.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
MY_PV="${PV//_pre/-pre}"
@@ -67,6 +67,9 @@ src_prepare() {
}
src_configure() {
+ # https://github.com/grpc/grpc/issues/29652
+ filter-lto
+
local mycmakeargs=(
-DgRPC_INSTALL=ON
-DgRPC_ABSL_PROVIDER=package
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-11 7:47 WANG Xuerui
0 siblings, 0 replies; 86+ messages in thread
From: WANG Xuerui @ 2023-02-11 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 6f2d7467ef550865bd0c5588ea959bebb6fe47b8
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 07:38:37 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 07:47:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2d7467
net-libs/grpc: add myself as a maintainer
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-libs/grpc/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index 3114df3e23c1..cea352c14527 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -8,6 +8,10 @@
<email>gyakovlev@gentoo.org</email>
<name>Georgy Yakovlev</name>
</maintainer>
+ <maintainer type="person">
+ <email>xen0n@gentoo.org</email>
+ <name>WANG Xuerui</name>
+ </maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:grpc:grpc</remote-id>
<remote-id type="github">grpc/grpc</remote-id>
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2023-02-07 0:35 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2023-02-07 0:35 UTC (permalink / raw
To: gentoo-commits
commit: 3492a67e828d7c5661dd66d48fbb628609f3b966
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 10:59:19 2023 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Feb 7 00:32:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3492a67e
net-libs/grpc: add 1.51.1
- bump to EAPI=8
- bump dev-cpp/abseil-cpp to 0/20220623 subslot, fixing compatibility
with e.g. >=app-office/libreoffice-bin-7.4
- suppress the package's attempt to fetch submodule content
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29242
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.51.1.ebuild | 103 +++++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index b794e03563d0..0c26fe648981 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,2 @@
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
+DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 83ba622222e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7 SHA512 1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
diff --git a/net-libs/grpc/grpc-1.51.1.ebuild b/net-libs/grpc/grpc-1.51.1.ebuild
new file mode 100644
index 000000000000..f3edebd3268c
--- /dev/null
+++ b/net-libs/grpc/grpc-1.51.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/29.151"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20220623.1*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.18.1:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ # suppress network access, package builds fine without the submodules
+ mkdir "${S}/third_party/opencensus-proto/src" || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2022-12-24 14:49 Andreas Sturmlechner
0 siblings, 0 replies; 86+ messages in thread
From: Andreas Sturmlechner @ 2022-12-24 14:49 UTC (permalink / raw
To: gentoo-commits
commit: 2b976a2d601c0484e5af0848e95e63e7b9aa18d7
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 19:26:17 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 14:48:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b976a2d
net-libs/grpc: drop 1.38.1, 1.41.0, 1.41.1
Overshadowed by stable 1.43.0.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-libs/grpc/Manifest | 3 --
net-libs/grpc/grpc-1.38.1.ebuild | 102 ---------------------------------------
net-libs/grpc/grpc-1.41.0.ebuild | 102 ---------------------------------------
net-libs/grpc/grpc-1.41.1.ebuild | 102 ---------------------------------------
4 files changed, 309 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f85ff4f4e4cb..b794e03563d0 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1 @@
-DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
-DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
-DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
deleted file mode 100644
index d8cb707cf8aa..000000000000
--- a/net-libs/grpc/grpc-1.38.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/16.138"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.15.8:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.41.0.ebuild b/net-libs/grpc/grpc-1.41.0.ebuild
deleted file mode 100644
index e9f7052206f3..000000000000
--- a/net-libs/grpc/grpc-1.41.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/19.141"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.17.3:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
deleted file mode 100644
index 94fa8a8a5f63..000000000000
--- a/net-libs/grpc/grpc-1.41.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/19.141"
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.17.3:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2022-12-20 23:57 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2022-12-20 23:57 UTC (permalink / raw
To: gentoo-commits
commit: 7c1cf4e0751298cb4cec91ccd0bf3bbb4b352810
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 23:56:58 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 23:56:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1cf4e0
net-libs/grpc: Stabilize 1.43.0 arm64, #887567
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index a2adc4804b4c..4ec923a7fb2f 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/21.143"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2022-10-27 23:46 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2022-10-27 23:46 UTC (permalink / raw
To: gentoo-commits
commit: 1d6153bc33f5f7ef9807134299f1157fe14480ae
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 23:46:05 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 23:46:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6153bc
net-libs/grpc: Stabilize 1.43.0 x86, #877667
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index 8aa4ce2c1860..a2adc4804b4c 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/21.143"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2022-10-20 10:52 Jakov Smolić
0 siblings, 0 replies; 86+ messages in thread
From: Jakov Smolić @ 2022-10-20 10:52 UTC (permalink / raw
To: gentoo-commits
commit: e22b58054b92b0a88afe30f3809a2766dd2a02e5
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 10:52:08 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 10:52:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22b5805
net-libs/grpc: Stabilize 1.43.0 amd64, #877667
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index b1bb44b0502a..8aa4ce2c1860 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2022-08-17 21:13 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2022-08-17 21:13 UTC (permalink / raw
To: gentoo-commits
commit: 5c63cdde5d28ef06bc1ea42612153c14e452a902
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 21:12:55 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 21:12:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c63cdde
net-libs/grpc: Keyword 1.43.0 arm, #834851
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.43.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index 157b09370a9d..b1bb44b0502a 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 12:09 Agostino Sarubbo
0 siblings, 0 replies; 86+ messages in thread
From: Agostino Sarubbo @ 2021-12-20 12:09 UTC (permalink / raw
To: gentoo-commits
commit: 20eea83996f65a8f2934d1ebac7f93a291dcc41d
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 12:09:48 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 12:09:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20eea839
net-libs/grpc: amd64 stable wrt bug #829430
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/grpc/grpc-1.41.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
index da70344c4bca..94fa8a8a5f63 100644
--- a/net-libs/grpc/grpc-1.41.1.ebuild
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/19.141"
-KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 9:20 Arthur Zamarin
0 siblings, 0 replies; 86+ messages in thread
From: Arthur Zamarin @ 2021-12-20 9:20 UTC (permalink / raw
To: gentoo-commits
commit: d1f6ea60851f49224a654f5f77e880eb3c30711b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 09:20:08 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 09:20:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f6ea60
net-libs/grpc: Stabilize 1.41.1 arm64, #829430
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-libs/grpc/grpc-1.41.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
index e9f7052206f3..da70344c4bca 100644
--- a/net-libs/grpc/grpc-1.41.1.ebuild
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/19.141"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 5:34 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 5:34 UTC (permalink / raw
To: gentoo-commits
commit: 2ba832c26d916d8f06925cd20c655fced0676016
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 05:34:19 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 05:34:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba832c2
net-libs/grpc: drop 1.37.1-r2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 ------------------------------------
2 files changed, 102 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ab64d9d6e9dd..f85ff4f4e4cb 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild b/net-libs/grpc/grpc-1.37.1-r2.ebuild
deleted file mode 100644
index 468f9b7a6ac4..000000000000
--- a/net-libs/grpc/grpc-1.37.1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/15.137"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.15.2:=
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 5:31 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 5:31 UTC (permalink / raw
To: gentoo-commits
commit: 0c209b3e67cee46ffab6f2383e88029d9708301e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 05:30:02 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 05:31:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c209b3e
Revert "net-libs/grpc: drop 1.37.1-r2, 1.38.1, 1.41.0"
apparently tensorflow needs and older ver
This reverts commit 355e33548f7eae4fa8d7c4047254a841e19a2b0e.
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 3 ++
net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 +++++++++++++++++++++++++++++++++++
net-libs/grpc/grpc-1.38.1.ebuild | 102 ++++++++++++++++++++++++++++++++++++
net-libs/grpc/grpc-1.41.0.ebuild | 102 ++++++++++++++++++++++++++++++++++++
4 files changed, 308 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 27a40a3be1f6..ab64d9d6e9dd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,5 @@
+DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
+DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
+DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild b/net-libs/grpc/grpc-1.37.1-r2.ebuild
new file mode 100644
index 000000000000..468f9b7a6ac4
--- /dev/null
+++ b/net-libs/grpc/grpc-1.37.1-r2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/15.137"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.15.2:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
new file mode 100644
index 000000000000..d8cb707cf8aa
--- /dev/null
+++ b/net-libs/grpc/grpc-1.38.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/16.138"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20210324*:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.15.8:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
diff --git a/net-libs/grpc/grpc-1.41.0.ebuild b/net-libs/grpc/grpc-1.41.0.ebuild
new file mode 100644
index 000000000000..e9f7052206f3
--- /dev/null
+++ b/net-libs/grpc/grpc-1.41.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/19.141"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20210324*:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.17.3:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 5:10 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 5:10 UTC (permalink / raw
To: gentoo-commits
commit: 355e33548f7eae4fa8d7c4047254a841e19a2b0e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 05:10:28 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 05:10:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355e3354
net-libs/grpc: drop 1.37.1-r2, 1.38.1, 1.41.0
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 3 --
net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 -----------------------------------
net-libs/grpc/grpc-1.38.1.ebuild | 102 ------------------------------------
net-libs/grpc/grpc-1.41.0.ebuild | 102 ------------------------------------
4 files changed, 308 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ab64d9d6e9dd..27a40a3be1f6 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,5 +1,2 @@
-DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
-DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
-DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild b/net-libs/grpc/grpc-1.37.1-r2.ebuild
deleted file mode 100644
index 468f9b7a6ac4..000000000000
--- a/net-libs/grpc/grpc-1.37.1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/15.137"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.15.2:=
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
deleted file mode 100644
index d8cb707cf8aa..000000000000
--- a/net-libs/grpc/grpc-1.38.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/16.138"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.15.8:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
diff --git a/net-libs/grpc/grpc-1.41.0.ebuild b/net-libs/grpc/grpc-1.41.0.ebuild
deleted file mode 100644
index e9f7052206f3..000000000000
--- a/net-libs/grpc/grpc-1.41.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/19.141"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.17.3:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-12-20 5:04 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 5:04 UTC (permalink / raw
To: gentoo-commits
commit: b162a88e1a331592f098ea48bb244f448fc10edd
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 04:56:18 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 05:04:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b162a88e
net-libs/grpc: add 1.43.0
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.43.0.ebuild | 101 +++++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index d12fa3b25701..ab64d9d6e9dd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b194877
DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
+DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
new file mode 100644
index 000000000000..157b09370a9d
--- /dev/null
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/21.143"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20211102.0*:=
+ >=dev-libs/re2-0.2021.11.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.18.1:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-11-14 1:59 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-11-14 1:59 UTC (permalink / raw
To: gentoo-commits
commit: 2fc39d86bb2b473ac7c5f0e8c1d64604d78186fd
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 01:25:40 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 01:28:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc39d86
net-libs/grpc: add 1.41.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.41.1.ebuild | 102 +++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 9ae56077887..d12fa3b2570 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6 SHA512 bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
+DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1 SHA512 17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
new file mode 100644
index 00000000000..e9f7052206f
--- /dev/null
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/19.141"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20210324*:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.17.3:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-06-21 23:31 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-06-21 23:31 UTC (permalink / raw
To: gentoo-commits
commit: e9de5c6c4b3eb08cca30eb1a544f78f7a65315f6
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 23:00:15 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 23:29:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9de5c6c
net-libs/grpc: add 1.38.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.38.1.ebuild | 102 +++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc349d754d0..35e6c92b300 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8f
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb SHA512 6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5
+DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
new file mode 100644
index 00000000000..6f34a08a498
--- /dev/null
+++ b/net-libs/grpc/grpc-1.38.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/16.138"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20210324*:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+ >=dev-libs/protobuf-3.15.8:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-06-21 23:31 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-06-21 23:31 UTC (permalink / raw
To: gentoo-commits
commit: 0e7c2436bb1192b5665cbbe46a009d17024eb4e1
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 23:29:45 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 23:29:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7c2436
net-libs/grpc: drop 1.38.0-r1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.38.0-r1.ebuild | 102 ------------------------------------
2 files changed, 103 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 35e6c92b300..b436c49344c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,5 +1,4 @@
DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
-DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb SHA512 6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5
DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7 SHA512 1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
diff --git a/net-libs/grpc/grpc-1.38.0-r1.ebuild b/net-libs/grpc/grpc-1.38.0-r1.ebuild
deleted file mode 100644
index 6f34a08a498..00000000000
--- a/net-libs/grpc/grpc-1.38.0-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
-SLOT="0/16.138"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
- =dev-cpp/abseil-cpp-20210324*:=
- >=dev-libs/re2-0.2021.04.01:=
- >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
- >=dev-libs/protobuf-3.15.8:=
- dev-libs/xxhash
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-cpp/benchmark
- dev-cpp/gflags
- )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
- local core_sover cpp_sover
- # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
- core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
- # remove dots, e.g. 1.37 -> 137
- core_sover="${core_sover//./}"
- cpp_sover="${cpp_sover//./}"
- [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
- [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # un-hardcode libdir
- sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
- sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
- soversion_check
-}
-
-src_configure() {
- local mycmakeargs=(
- -DgRPC_INSTALL=ON
- -DgRPC_ABSL_PROVIDER=package
- -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
- -DgRPC_CARES_PROVIDER=package
- -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
- -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
- -DgRPC_PROTOBUF_PROVIDER=package
- -DgRPC_RE2_PROVIDER=package
- -DgRPC_SSL_PROVIDER=package
- -DgRPC_ZLIB_PROVIDER=package
- -DgRPC_BUILD_TESTS=$(usex test)
- -DCMAKE_CXX_STANDARD=17
- $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
- $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-05-30 1:43 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-05-30 1:43 UTC (permalink / raw
To: gentoo-commits
commit: d74b8dfb26829632b392901ee9e2a6ab81fdab79
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 01:33:16 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun May 30 01:33:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74b8dfb
net-libs/grpc: add 1.38.0
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.38.0.ebuild | 102 +++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 553cc687b28..dc349d754d0 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
+DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb SHA512 6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5
diff --git a/net-libs/grpc/grpc-1.38.0.ebuild b/net-libs/grpc/grpc-1.38.0.ebuild
new file mode 100644
index 00000000000..5a30754029f
--- /dev/null
+++ b/net-libs/grpc/grpc-1.38.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/16.138"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20210324*:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist]
+ >=dev-libs/protobuf-3.15.8:=
+ dev-libs/xxhash
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-05-15 2:21 Sam James
0 siblings, 0 replies; 86+ messages in thread
From: Sam James @ 2021-05-15 2:21 UTC (permalink / raw
To: gentoo-commits
commit: ba083d467babe95449f90e35a861162ae03b0742
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 15 02:21:41 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 15 02:21:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba083d46
net-libs/grpc: Keyword 1.37.1-r1 arm64, #766411
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/grpc/grpc-1.37.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.37.1-r1.ebuild b/net-libs/grpc/grpc-1.37.1-r1.ebuild
index 167a3087587..cf129dc2a38 100644
--- a/net-libs/grpc/grpc-1.37.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.37.1-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
SLOT="0/15.137"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="doc examples test"
# look for submodule versions in third_party dir
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-05-02 10:16 Mikle Kolyada
0 siblings, 0 replies; 86+ messages in thread
From: Mikle Kolyada @ 2021-05-02 10:16 UTC (permalink / raw
To: gentoo-commits
commit: 9632de401c72a688f7010abb888818e4fc08bfb9
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun May 2 10:01:55 2021 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun May 2 10:16:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9632de40
net-libs/grpc: remove libressl support
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-libs/grpc/grpc-1.28.1-r1.ebuild | 7 +++----
net-libs/grpc/grpc-1.32.0.ebuild | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/net-libs/grpc/grpc-1.28.1-r1.ebuild b/net-libs/grpc/grpc-1.28.1-r1.ebuild
index 3619635f8bc..f0cc36db8c2 100644
--- a/net-libs/grpc/grpc-1.28.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,15 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl"
+IUSE="doc examples"
DEPEND="
=dev-cpp/abseil-cpp-20200225*:=
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
- !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist] )
- libressl? ( dev-libs/libressl:0= )
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
"
RDEPEND="${DEPEND}"
diff --git a/net-libs/grpc/grpc-1.32.0.ebuild b/net-libs/grpc/grpc-1.32.0.ebuild
index e76d5389780..e4306625c91 100644
--- a/net-libs/grpc/grpc-1.32.0.ebuild
+++ b/net-libs/grpc/grpc-1.32.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl test"
+IUSE="doc examples test"
RDEPEND="
=dev-cpp/abseil-cpp-20200225*:=
@@ -22,8 +22,7 @@ RDEPEND="
>=dev-libs/protobuf-3.13.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
- !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
- libressl? ( dev-libs/libressl:0= )
+ >=dev-libs/openssl-1.1.1:0=[-bindist]
"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-04-30 18:11 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-04-30 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 67bb51f9fbd2de4ab9e68d9fc19cd0afcb9cb549
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 18:08:24 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 18:11:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bb51f9
net-libs/grpc: revbump 1.37.1, add subslot, remove libressl flag
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
.../{grpc-1.37.1.ebuild => grpc-1.37.1-r1.ebuild} | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/net-libs/grpc/grpc-1.37.1.ebuild b/net-libs/grpc/grpc-1.37.1-r1.ebuild
similarity index 70%
rename from net-libs/grpc/grpc-1.37.1.ebuild
rename to net-libs/grpc/grpc-1.37.1-r1.ebuild
index c63c9674025..167a3087587 100644
--- a/net-libs/grpc/grpc-1.37.1.ebuild
+++ b/net-libs/grpc/grpc-1.37.1-r1.ebuild
@@ -12,19 +12,19 @@ HOMEPAGE="https://www.grpc.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
-SLOT="0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt
+SLOT="0/15.137"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl test"
+IUSE="doc examples test"
# look for submodule versions in third_party dir
RDEPEND="
=dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
>=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/openssl-1.1.1:0=[-bindist]
>=dev-libs/protobuf-3.15.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
- !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
- libressl? ( dev-libs/libressl:0= )
"
DEPEND="${RDEPEND}
@@ -41,12 +41,26 @@ RESTRICT="test"
S="${WORKDIR}/${PN}-${MY_PV}"
+soversion_check() {
+ local core_sover cpp_sover
+ # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")'
+ core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')"
+ # remove dots, e.g. 1.37 -> 137
+ core_sover="${core_sover//./}"
+ cpp_sover="${cpp_sover//./}"
+ [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}"
+ [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}"
+}
+
src_prepare() {
cmake_src_prepare
# un-hardcode libdir
sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+ soversion_check
}
src_configure() {
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-04-29 23:35 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-04-29 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 948285b461cd894049294c332e4a9d85bf8b9ee5
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 29 23:26:22 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 23:26:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948285b4
net-libs/grpc: bump to 1.37.1
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 2 +-
net-libs/grpc/{grpc-1.37.0.ebuild => grpc-1.37.1.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 01245a53459..553cc687b28 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,3 @@
DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
-DIST grpc-1.37.0.tar.gz 8201157 BLAKE2B f4703d19fc73ea9941aa6711ffdfb56aa72e079eb238859bb4e9bab503891abb26685de9f9f06aa5355321008db6a325b3bf8b861a3e3c62b1a030ae7dddec6d SHA512 b7c1feda505822f90dec213a53996b5fa8355d519c949cbf8926a667f2203a4c44245744354b4ccbce0566eb9bdbe60e1479c222dff5ed228981367fe1ac6a1a
+DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B c306fbe60f5191fe957efb35c75574e00b1948777795e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85 SHA512 fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.1.ebuild
similarity index 100%
rename from net-libs/grpc/grpc-1.37.0.ebuild
rename to net-libs/grpc/grpc-1.37.1.ebuild
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-04-29 11:46 Michał Górny
0 siblings, 0 replies; 86+ messages in thread
From: Michał Górny @ 2021-04-29 11:46 UTC (permalink / raw
To: gentoo-commits
commit: 77cccd2e73130288d01bfad1acfb28785dc744ef
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu Apr 29 11:23:49 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 11:46:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77cccd2e
net-libs/grpc: Fix InvalidDepend
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/20590
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-libs/grpc/grpc-1.37.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.0.ebuild
index 1752147b556..c63c9674025 100644
--- a/net-libs/grpc/grpc-1.37.0.ebuild
+++ b/net-libs/grpc/grpc-1.37.0.ebuild
@@ -18,7 +18,7 @@ IUSE="doc examples libressl test"
# look for submodule versions in third_party dir
RDEPEND="
- =dev-cpp/abseil-cpp-20200923*[cxx17(+)]:=
+ =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
>=dev-libs/re2-0.2021.04.01:=
>=dev-libs/protobuf-3.15.2:=
>=net-dns/c-ares-1.15.0:=
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2021-04-29 8:29 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2021-04-29 8:29 UTC (permalink / raw
To: gentoo-commits
commit: cd01bb763d156dbe9a4992268ad0d93c78b322bb
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 29 07:49:01 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 08:26:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd01bb76
net-libs/grpc: bump to 1.37.0
Closes: https://bugs.gentoo.org/786654
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.37.0.ebuild | 87 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 486074e6e56..01245a53459 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,3 @@
DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
+DIST grpc-1.37.0.tar.gz 8201157 BLAKE2B f4703d19fc73ea9941aa6711ffdfb56aa72e079eb238859bb4e9bab503891abb26685de9f9f06aa5355321008db6a325b3bf8b861a3e3c62b1a030ae7dddec6d SHA512 b7c1feda505822f90dec213a53996b5fa8355d519c949cbf8926a667f2203a4c44245744354b4ccbce0566eb9bdbe60e1479c222dff5ed228981367fe1ac6a1a
diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.0.ebuild
new file mode 100644
index 00000000000..1752147b556
--- /dev/null
+++ b/net-libs/grpc/grpc-1.37.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc examples libressl test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+ =dev-cpp/abseil-cpp-20200923*[cxx17(+)]:=
+ >=dev-libs/re2-0.2021.04.01:=
+ >=dev-libs/protobuf-3.15.2:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/benchmark
+ dev-cpp/gflags
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_RE2_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ -DgRPC_BUILD_TESTS=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+ $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-04-24 20:02 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2020-04-24 20:02 UTC (permalink / raw
To: gentoo-commits
commit: 5b1f4d49025b8946cd61322cef71b40a19c45998
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 14:53:30 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 20:01:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1f4d49
net-libs/grpc: loosen dep on abseil-cpp
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/{grpc-1.28.1.ebuild => grpc-1.28.1-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1-r1.ebuild
similarity index 97%
rename from net-libs/grpc/grpc-1.28.1.ebuild
rename to net-libs/grpc/grpc-1.28.1-r1.ebuild
index ef8cbdbbb06..3619635f8bc 100644
--- a/net-libs/grpc/grpc-1.28.1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="doc examples libressl"
DEPEND="
- ~dev-cpp/abseil-cpp-20200225.1:=
+ =dev-cpp/abseil-cpp-20200225*:=
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-04-23 16:27 Stefan Strogin
0 siblings, 0 replies; 86+ messages in thread
From: Stefan Strogin @ 2020-04-23 16:27 UTC (permalink / raw
To: gentoo-commits
commit: 3a308b5a0ea3154682dbc1e14f83bdd245ce75fe
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 16:20:48 2020 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 16:26:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a308b5a
net-libs/grpc: add USE=libressl
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
net-libs/grpc/grpc-1.28.1.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1.ebuild
index 18c6fb37e09..ef8cbdbbb06 100644
--- a/net-libs/grpc/grpc-1.28.1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1.ebuild
@@ -14,14 +14,15 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="examples doc"
+IUSE="doc examples libressl"
DEPEND="
~dev-cpp/abseil-cpp-20200225.1:=
- >=dev-libs/openssl-1.0.2:0=[-bindist]
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
+ !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-04-20 7:28 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2020-04-20 7:28 UTC (permalink / raw
To: gentoo-commits
commit: b56b7be1b55fc986eec6add478237ff567c96ce4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 06:48:38 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 07:25:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56b7be1
net-libs/grpc: bump to 1.28.1
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.28.1.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index db9c792391c..daef11ad77e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -3,3 +3,4 @@ DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a
DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715 SHA512 19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256 SHA512 c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d SHA512 4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
+DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1.ebuild
new file mode 100644
index 00000000000..18c6fb37e09
--- /dev/null
+++ b/net-libs/grpc/grpc-1.28.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc"
+
+DEPEND="
+ ~dev-cpp/abseil-cpp-20200225.1:=
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3.11.2:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires git checkouts of google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ cmake_src_prepare
+
+ # un-hardcode libdir
+ sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+ sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DgRPC_INSTALL=ON
+ -DgRPC_ABSL_PROVIDER=package
+ -DgRPC_CARES_PROVIDER=package
+ -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+ -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+ -DgRPC_PROTOBUF_PROVIDER=package
+ -DgRPC_SSL_PROVIDER=package
+ -DgRPC_ZLIB_PROVIDER=package
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-02-22 1:30 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2020-02-22 1:30 UTC (permalink / raw
To: gentoo-commits
commit: 9a63ccc8228b4a6bb8feb77102e059ff7fec2162
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 21:21:46 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 01:29:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a63ccc8
net-libs/grpc: QA: RedundantLongDescription
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/metadata.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index 6267f34d90d..708220c8696 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -8,9 +8,6 @@
<email>gyakovlev@gentoo.org</email>
<name>Georgy Yakovlev</name>
</maintainer>
- <longdescription lang="en">
- A high performance, open-source universal RPC framework
- </longdescription>
<use>
<flag name="perftools">Enable profiling using <pkg>dev-util/google-perftools</pkg></flag>
<flag name="systemtap">Enable SystemTAP/DTrace tracing</flag>
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-01-17 10:22 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2020-01-17 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 259e0aaf3b1456fb350a8aef6555cb9696b08d81
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 10:02:30 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 10:20:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259e0aaf
net-libs/grpc: revbump 1.26.0, fix odr violation
Bug: https://bugs.gentoo.org/705574
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/{grpc-1.26.0.ebuild => grpc-1.26.0-r1.ebuild} | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 1b87058b8c7..520b37eb8e6 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,4 +8,5 @@ DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715 SHA512 19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a SHA512 7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
+DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256 SHA512 c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d SHA512 4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
diff --git a/net-libs/grpc/grpc-1.26.0.ebuild b/net-libs/grpc/grpc-1.26.0-r1.ebuild
similarity index 92%
rename from net-libs/grpc/grpc-1.26.0.ebuild
rename to net-libs/grpc/grpc-1.26.0-r1.ebuild
index 0a1213a0a71..d9352892adf 100644
--- a/net-libs/grpc/grpc-1.26.0.ebuild
+++ b/net-libs/grpc/grpc-1.26.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,8 @@ MY_PV="${PV//_pre/-pre}"
DESCRIPTION="Modern open source high performance RPC framework"
HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~gyakovlev/distfiles/grpc-1.26-fix-odr-violation.patch.bz2"
LICENSE="Apache-2.0"
SLOT="0"
@@ -32,6 +33,7 @@ BDEPEND="virtual/pkgconfig"
RESTRICT="test"
PATCHES=(
+ "${WORKDIR}/grpc-1.26-fix-odr-violation.patch" #705574
"${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
"${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
"${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2020-01-17 10:22 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2020-01-17 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 52050abe050a3164c33b77ed2ed630e58f75133e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 10:06:15 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 10:20:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52050abe
net-libs/grpc: drop 1.25.0
Bug: https://bugs.gentoo.org/705574
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.25.0.ebuild | 112 ---------------------------------------
2 files changed, 113 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 520b37eb8e6..f2e57404f31 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,6 +7,5 @@ DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc6
DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6 SHA512 086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715 SHA512 19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
-DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a SHA512 7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256 SHA512 c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d SHA512 4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
diff --git a/net-libs/grpc/grpc-1.25.0.ebuild b/net-libs/grpc/grpc-1.25.0.ebuild
deleted file mode 100644
index 0a1213a0a71..00000000000
--- a/net-libs/grpc/grpc-1.25.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="examples doc perftools systemtap static-libs"
-
-DEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3.8.0:=
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
- perftools? ( dev-util/google-perftools:= )
- systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-# requires network
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
- "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
- rm -r third_party/cares || die
- sed -i 's:-Werror::g' Makefile || die
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
-
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- local myemakeargs=(
- V=1
- prefix=/usr
- INSTALL_LIBDIR="$(get_libdir)"
- AR="$(tc-getAR)"
- AROPTS="rcs"
- CFLAGS="${CFLAGS}"
- CXXFLAGS="${CXXFLAGS}"
- LD="${CC}"
- LDXX="${CXX}"
- STRIP=/bin/true
- HOST_AR="$(tc-getBUILD_AR)"
- HOST_CC="$(tc-getBUILD_CC)"
- HOST_CXX="$(tc-getBUILD_CXX)"
- HOST_LD="$(tc-getBUILD_CC)"
- HOST_LDXX="$(tc-getBUILD_CXX)"
- HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
- HAS_SYSTEMTAP="$(usex systemtap true false)"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- local myemakeargs=(
- V=1
- prefix="${ED}"/usr
- INSTALL_LIBDIR="$(get_libdir)"
- STRIP=/bin/true
- )
-
- emake "${myemakeargs[@]}" install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt 1.16.0; then
- ewarn "python bindings and tools moved to separate independent packages"
- ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
- fi
- done
-
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-12-22 3:28 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-12-22 3:28 UTC (permalink / raw
To: gentoo-commits
commit: 9d1fd79473939e934a37c9b8989ccf9c576f4b8e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 03:14:28 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 03:14:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1fd794
net-libs/grpc: bump to 1.26.0
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.26.0.ebuild | 112 +++++++++++++++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index c347eb0907d..1b87058b8c7 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,3 +8,4 @@ DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715 SHA512 19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a SHA512 7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
+DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d SHA512 4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
diff --git a/net-libs/grpc/grpc-1.26.0.ebuild b/net-libs/grpc/grpc-1.26.0.ebuild
new file mode 100644
index 00000000000..0a1213a0a71
--- /dev/null
+++ b/net-libs/grpc/grpc-1.26.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3.8.0:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
+ systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ rm -r third_party/cares || die
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ local myemakeargs=(
+ V=1
+ prefix=/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ AR="$(tc-getAR)"
+ AROPTS="rcs"
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ LD="${CC}"
+ LDXX="${CXX}"
+ STRIP=/bin/true
+ HOST_AR="$(tc-getBUILD_AR)"
+ HOST_CC="$(tc-getBUILD_CC)"
+ HOST_CXX="$(tc-getBUILD_CXX)"
+ HOST_LD="$(tc-getBUILD_CC)"
+ HOST_LDXX="$(tc-getBUILD_CXX)"
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_install() {
+ local myemakeargs=(
+ V=1
+ prefix="${ED}"/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ STRIP=/bin/true
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-10-26 0:11 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-10-26 0:11 UTC (permalink / raw
To: gentoo-commits
commit: 5532f2df1fffead332b01c463d03e4cede6fc5a6
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 00:04:17 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 00:11:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5532f2df
net-libs/grpc: bump to 1.24.3
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.24.3.ebuild | 112 +++++++++++++++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc09d8a746a..1254f6798c1 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -6,3 +6,4 @@ DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c
DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5 SHA512 b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6 SHA512 086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
+DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715 SHA512 19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
diff --git a/net-libs/grpc/grpc-1.24.3.ebuild b/net-libs/grpc/grpc-1.24.3.ebuild
new file mode 100644
index 00000000000..ee95dff335a
--- /dev/null
+++ b/net-libs/grpc/grpc-1.24.3.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3.7.0:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
+ systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ rm -r third_party/cares || die
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ local myemakeargs=(
+ V=1
+ prefix=/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ AR="$(tc-getAR)"
+ AROPTS="rcs"
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ LD="${CC}"
+ LDXX="${CXX}"
+ STRIP=/bin/true
+ HOST_AR="$(tc-getBUILD_AR)"
+ HOST_CC="$(tc-getBUILD_CC)"
+ HOST_CXX="$(tc-getBUILD_CXX)"
+ HOST_LD="$(tc-getBUILD_CC)"
+ HOST_LDXX="$(tc-getBUILD_CXX)"
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_install() {
+ local myemakeargs=(
+ V=1
+ prefix="${ED}"/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ STRIP=/bin/true
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-08-17 3:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-08-17 3:00 UTC (permalink / raw
To: gentoo-commits
commit: 29a42e53d53e3f437e04ff319e5c245e890665c9
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 02:57:00 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 03:00:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a42e53
net-libs/grpc: drop 1.22.0
Bug: https://bugs.gentoo.org/692012
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.22.0.ebuild | 112 ---------------------------------------
2 files changed, 113 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8c89bc920fa..dc09d8a746a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -4,6 +4,5 @@ DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a95
DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7 SHA512 6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef SHA512 e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f0cccc1d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5 SHA512 b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
-DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9 SHA512 e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6 SHA512 086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
diff --git a/net-libs/grpc/grpc-1.22.0.ebuild b/net-libs/grpc/grpc-1.22.0.ebuild
deleted file mode 100644
index 4f597ba8357..00000000000
--- a/net-libs/grpc/grpc-1.22.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc perftools systemtap static-libs"
-
-DEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3.7.0:=
- >=net-dns/c-ares-1.15.0:=
- sys-libs/zlib:=
- perftools? ( dev-util/google-perftools:= )
- systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-# requires network
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
- "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
- rm -r third_party/cares || die
- sed -i 's:-Werror::g' Makefile || die
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
-
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- local myemakeargs=(
- V=1
- prefix=/usr
- INSTALL_LIBDIR="$(get_libdir)"
- AR="$(tc-getAR)"
- AROPTS="rcs"
- CFLAGS="${CFLAGS}"
- CXXFLAGS="${CXXFLAGS}"
- LD="${CC}"
- LDXX="${CXX}"
- STRIP=/bin/true
- HOST_AR="$(tc-getBUILD_AR)"
- HOST_CC="$(tc-getBUILD_CC)"
- HOST_CXX="$(tc-getBUILD_CXX)"
- HOST_LD="$(tc-getBUILD_CC)"
- HOST_LDXX="$(tc-getBUILD_CXX)"
- HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
- HAS_SYSTEMTAP="$(usex systemtap true false)"
- )
-
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- local myemakeargs=(
- V=1
- prefix="${ED}"/usr
- INSTALL_LIBDIR="$(get_libdir)"
- STRIP=/bin/true
- )
-
- emake "${myemakeargs[@]}" install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt 1.16.0; then
- ewarn "python bindings and tools moved to separate independent packages"
- ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
- fi
- done
-
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-08-17 3:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-08-17 3:00 UTC (permalink / raw
To: gentoo-commits
commit: 7078f6b6e76e8e7e0f4a42601e845e9c84723b28
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 02:18:02 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 02:59:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7078f6b6
net-libs/grpc: bump to 1.22.1
Bug: https://bugs.gentoo.org/692012
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.22.1.ebuild | 113 +++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e210b147a9e..8c89bc920fa 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,4 +5,5 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f7
DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef SHA512 e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f0cccc1d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5 SHA512 b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9 SHA512 e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
+DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6 SHA512 086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
diff --git a/net-libs/grpc/grpc-1.22.1.ebuild b/net-libs/grpc/grpc-1.22.1.ebuild
new file mode 100644
index 00000000000..74504ed8562
--- /dev/null
+++ b/net-libs/grpc/grpc-1.22.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3.7.0:=
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
+ systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844
+ "${FILESDIR}/grpc-1.22.1-glibc-2.30-compat.patch" # https://github.com/grpc/grpc/pull/18950
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ rm -r third_party/cares || die
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ local myemakeargs=(
+ V=1
+ prefix=/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ AR="$(tc-getAR)"
+ AROPTS="rcs"
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ LD="${CC}"
+ LDXX="${CXX}"
+ STRIP=/bin/true
+ HOST_AR="$(tc-getBUILD_AR)"
+ HOST_CC="$(tc-getBUILD_CC)"
+ HOST_CXX="$(tc-getBUILD_CXX)"
+ HOST_LD="$(tc-getBUILD_CC)"
+ HOST_LDXX="$(tc-getBUILD_CXX)"
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_install() {
+ local myemakeargs=(
+ V=1
+ prefix="${ED}"/usr
+ INSTALL_LIBDIR="$(get_libdir)"
+ STRIP=/bin/true
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-08-17 3:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-08-17 3:00 UTC (permalink / raw
To: gentoo-commits
commit: bbc473cb4ba34003c6b00e8b485ecbfd696b525d
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 02:48:05 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 03:00:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc473cb
net-libs/grpc: keyword 1.22.1 on ~ppc64
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.22.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.22.1.ebuild b/net-libs/grpc/grpc-1.22.1.ebuild
index 74504ed8562..ac5d817126d 100644
--- a/net-libs/grpc/grpc-1.22.1.ebuild
+++ b/net-libs/grpc/grpc-1.22.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="examples doc perftools systemtap static-libs"
DEPEND="
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-08-17 3:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-08-17 3:00 UTC (permalink / raw
To: gentoo-commits
commit: 647898d3507549ea903e59658e0bf6c483932930
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 02:47:20 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 03:00:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647898d3
net-libs/grpc: keyword 1.23.0 on ~ppc64
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.23.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.23.0.ebuild b/net-libs/grpc/grpc-1.23.0.ebuild
index 74504ed8562..ac5d817126d 100644
--- a/net-libs/grpc/grpc-1.23.0.ebuild
+++ b/net-libs/grpc/grpc-1.23.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="examples doc perftools systemtap static-libs"
DEPEND="
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: fe025f55452d30fee04cf4dfb878e42af6976f24
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:49:07 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe025f55
net-libs/grpc: drop 1.13.0-r1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.13.0-r1.ebuild | 173 ------------------------------------
2 files changed, 174 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8a7c199b775..dc9e15b55cc 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403 SHA512 25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild b/net-libs/grpc/grpc-1.13.0-r1.ebuild
deleted file mode 100644
index 45bfa5343f4..00000000000
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should ~depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/coverage[${PYTHON_USEDEP}]
- dev-python/cython[${PYTHON_USEDEP}]
- >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- )
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- python? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- # https://bugs.gentoo.org/661244
- echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md doc/. )
- fi
-
- einstalldocs
-
- use python && distutils-r1_src_install
-
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 27a552221fff73938ad4d4e03459e0f3f938710c
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:49:38 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a55222
net-libs/grpc: drop 1.13.1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.13.1.ebuild | 172 ---------------------------------------
2 files changed, 173 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc9e15b55cc..f30e18f6dcd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
deleted file mode 100644
index 12364479d27..00000000000
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should ~depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- tools? ( >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}] )
- )
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- python? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- # prevent above symlinks creating huge SOURCES.TXT files, bug #661244
- echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md doc/. )
- fi
-
- einstalldocs
-
- use python && distutils-r1_src_install
-
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 183363ba5dd9a49179efac0b8886fa7c3d56b171
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:51:01 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183363ba
net-libs/grpc: drop 1.15.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 2 -
net-libs/grpc/grpc-1.15.0.ebuild | 173 ---------------------------------------
net-libs/grpc/metadata.xml | 1 -
3 files changed, 176 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index fab6aa9ada9..f80ec4ac5af 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120 SHA512 2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
@@ -6,4 +5,3 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f7
DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef SHA512 e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f0cccc1d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5 SHA512 b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9 SHA512 e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
-DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
deleted file mode 100644
index 54b506a2c3a..00000000000
--- a/net-libs/grpc/grpc-1.15.0.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should >=depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.6.1"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- tools? ( >=dev-python/protobuf-python-${PROTOBUF_VERSION}:=[${PYTHON_USEDEP}] )
- )
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- python? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.14.2-gcc8-fixes.patch"
- "${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- # prevent above symlinks creating huge SOURCES.TXT files, bug #661244
- echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- # only define DOCS array if requested, otherwise portage default is fine
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-
- use python && distutils-r1_src_install
-
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index 3a3bfdc3d72..ccbc56aeed7 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -14,7 +14,6 @@
<use>
<flag name="perftools">Enable profiling using <pkg>dev-util/google-perftools</pkg></flag>
<flag name="systemtap">Enable SystemTAP/DTrace tracing</flag>
- <flag name="tools">Install gRPC python tools</flag>
</use>
<upstream>
<remote-id type="github">grpc/grpc</remote-id>
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: d7039e56ff6f549bd1134dd237ad682c93ad11a1
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:50:07 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:51 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7039e56
net-libs/grpc: drop 1.14.2
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 2 -
net-libs/grpc/grpc-1.14.2.ebuild | 173 ---------------------------------------
2 files changed, 175 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f30e18f6dcd..fab6aa9ada9 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
@@ -7,5 +6,4 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f7
DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef SHA512 e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f0cccc1d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5 SHA512 b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9 SHA512 e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
-DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
deleted file mode 100644
index f3f61968210..00000000000
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should >=depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- tools? ( >=dev-python/protobuf-python-${PROTOBUF_VERSION}:=[${PYTHON_USEDEP}] )
- )
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- python? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.14.2-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- # prevent above symlinks creating huge SOURCES.TXT files, bug #661244
- echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- # only define DOCS array if requested, otherwise portage default is fine
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-
- use python && distutils-r1_src_install
-
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: e73e3aca230f341ba27724c474fae3099317b82d
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:48:26 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73e3aca
net-libs/grpc: drop 1.12.1-r1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.12.1-r1.ebuild | 162 ------------------------------------
2 files changed, 163 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e2f1cc58c4e..8a7c199b775 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a SHA512 9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403 SHA512 25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild b/net-libs/grpc/grpc-1.12.1-r1.ebuild
deleted file mode 100644
index 51e73dd8c9c..00000000000
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-DEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3.5:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/coverage[${PYTHON_USEDEP}]
- dev-python/cython[${PYTHON_USEDEP}]
- >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- doc? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
- systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
- "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
- "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
- "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail because out-of-source build
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- # https://bugs.gentoo.org/661244
- echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=true \
- install
-
- if use examples; then
- docinto examples
- dodoc -r examples/.
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- use doc && local DOCS=( AUTHORS README.md doc/. )
- einstalldocs
-
- use python && distutils-r1_src_install
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-07-27 9:07 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-07-27 9:07 UTC (permalink / raw
To: gentoo-commits
commit: f0f686d79cee621464e5a65d5b91393891815b56
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 08:47:49 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 09:01:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f686d7
net-libs/grpc: drop 1.12.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.12.0.ebuild | 66 ----------------------------------------
2 files changed, 67 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 72a57adaabc..e2f1cc58c4e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57 SHA512 68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a SHA512 9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403 SHA512 25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
deleted file mode 100644
index 89cc2c83087..00000000000
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-inherit python-r1 toolchain-funcs multilib flag-o-matic
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3:=
- net-dns/c-ares:=
- sys-libs/zlib:="
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)"
-}
-
-src_install() {
- emake \
- prefix="${ED%/}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=true \
- install
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-05-31 19:26 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-05-31 19:26 UTC (permalink / raw
To: gentoo-commits
commit: 056704d24f97bdc39df889f12347913f775269a0
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri May 31 19:25:47 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri May 31 19:25:47 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056704d2
net-libs/grpc: revbump 1.2x series, bump protobuf dep to >=3.7.0
Closes: https://bugs.gentoo.org/686988
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/{grpc-1.20.1.ebuild => grpc-1.20.1-r1.ebuild} | 2 +-
net-libs/grpc/{grpc-1.21.1.ebuild => grpc-1.21.1-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1-r1.ebuild
similarity index 98%
rename from net-libs/grpc/grpc-1.20.1.ebuild
rename to net-libs/grpc/grpc-1.20.1-r1.ebuild
index bc5eefc6e92..f34a772f778 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
- dev-libs/protobuf:=
+ >=dev-libs/protobuf-3.7.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
perftools? ( dev-util/google-perftools:= )
diff --git a/net-libs/grpc/grpc-1.21.1.ebuild b/net-libs/grpc/grpc-1.21.1-r1.ebuild
similarity index 98%
rename from net-libs/grpc/grpc-1.21.1.ebuild
rename to net-libs/grpc/grpc-1.21.1-r1.ebuild
index 79d4eff6fd6..f90bab18e1c 100644
--- a/net-libs/grpc/grpc-1.21.1.ebuild
+++ b/net-libs/grpc/grpc-1.21.1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="examples doc perftools systemtap static-libs"
DEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
- dev-libs/protobuf:=
+ >=dev-libs/protobuf-3.7.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
perftools? ( dev-util/google-perftools:= )
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-05-28 6:49 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-05-28 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 38f4895df44cc3c414b5765f9f68a49d2b0bbff3
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 06:39:03 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue May 28 06:49:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f4895d
net-libs/grpc: add USE=perftools to most versions
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.16.1.ebuild | 7 ++++---
net-libs/grpc/grpc-1.17.1.ebuild | 7 ++++---
net-libs/grpc/grpc-1.18.0.ebuild | 7 ++++---
net-libs/grpc/grpc-1.19.0.ebuild | 7 ++++---
net-libs/grpc/grpc-1.20.1.ebuild | 7 ++++---
5 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 07af07cc1f5..f04778edda6 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -64,7 +64,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {
diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index bbdf4092a7c..2774a877762 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -68,7 +68,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {
diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index bbdf4092a7c..2774a877762 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -68,7 +68,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {
diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
index dbbfa395438..d944be59c38 100644
--- a/net-libs/grpc/grpc-1.19.0.ebuild
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -66,7 +66,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {
diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
index c17b91e1843..bc5eefc6e92 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -14,14 +14,14 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
- dev-util/google-perftools
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
+ perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
"
@@ -66,7 +66,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
+ HAS_SYSTEMTAP="$(usex systemtap true false)" \
+ HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
}
src_install() {
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-05-07 19:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-05-07 19:00 UTC (permalink / raw
To: gentoo-commits
commit: 73bf1bfd3cba42d58883d6abb9253ba2fb04f328
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue May 7 18:57:43 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue May 7 18:57:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bf1bfd
net-libs/grpc: don't remove trailing slash from ED in EAPI=7 ebuilds
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.16.1.ebuild | 2 +-
net-libs/grpc/grpc-1.17.1.ebuild | 2 +-
net-libs/grpc/grpc-1.18.0.ebuild | 2 +-
net-libs/grpc/grpc-1.19.0.ebuild | 2 +-
net-libs/grpc/grpc-1.20.1.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 90158c5c0d3..07af07cc1f5 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -69,7 +69,7 @@ src_compile() {
src_install() {
emake \
- prefix="${ED%/}"/usr \
+ prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index 7c7b0acf040..bbdf4092a7c 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -73,7 +73,7 @@ src_compile() {
src_install() {
emake \
- prefix="${ED%/}"/usr \
+ prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index 7c7b0acf040..bbdf4092a7c 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -73,7 +73,7 @@ src_compile() {
src_install() {
emake \
- prefix="${ED%/}"/usr \
+ prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
index 39508cff560..dbbfa395438 100644
--- a/net-libs/grpc/grpc-1.19.0.ebuild
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -71,7 +71,7 @@ src_compile() {
src_install() {
emake \
- prefix="${ED%/}"/usr \
+ prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
index f963e1b5c22..c17b91e1843 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -71,7 +71,7 @@ src_compile() {
src_install() {
emake \
- prefix="${ED%/}"/usr \
+ prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-05-07 19:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-05-07 19:00 UTC (permalink / raw
To: gentoo-commits
commit: 3eb55c77b381cbd6a70f262b84f69d000132f4d6
Author: Julius Putra Tanu Setiaji <indocomsoft <AT> gmail <DOT> com>
AuthorDate: Mon May 6 14:18:46 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue May 7 18:54:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb55c77
net-libs/grpc: Fix files installed outside prefix
Signed-off-by: Julius Putra Tanu Setiaji <indocomsoft <AT> gmail.com>
Closes: https://bugs.gentoo.org/685198
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/11916
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.12.0.ebuild | 4 ++--
net-libs/grpc/grpc-1.12.1-r1.ebuild | 2 +-
net-libs/grpc/grpc-1.13.0-r1.ebuild | 2 +-
net-libs/grpc/grpc-1.13.1.ebuild | 2 +-
net-libs/grpc/grpc-1.14.2.ebuild | 2 +-
net-libs/grpc/grpc-1.15.0.ebuild | 2 +-
net-libs/grpc/grpc-1.16.1.ebuild | 4 ++--
net-libs/grpc/grpc-1.17.1.ebuild | 4 ++--
net-libs/grpc/grpc-1.18.0.ebuild | 2 +-
net-libs/grpc/grpc-1.19.0.ebuild | 2 +-
net-libs/grpc/grpc-1.20.1.ebuild | 2 +-
11 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
index ddf193e17a0..89cc2c83087 100644
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ b/net-libs/grpc/grpc-1.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -59,7 +59,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=true \
install
diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild b/net-libs/grpc/grpc-1.12.1-r1.ebuild
index 7f3ee9f18a8..51e73dd8c9c 100644
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -134,7 +134,7 @@ python_compile_all() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=true \
install
diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild b/net-libs/grpc/grpc-1.13.0-r1.ebuild
index 138531249bf..45bfa5343f4 100644
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -138,7 +138,7 @@ python_compile_all() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
index e4d1903e679..12364479d27 100644
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
index b88634bc3de..f3f61968210 100644
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ b/net-libs/grpc/grpc-1.14.2.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
index 9a98d75031c..54b506a2c3a 100644
--- a/net-libs/grpc/grpc-1.15.0.ebuild
+++ b/net-libs/grpc/grpc-1.15.0.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 4cfb0e21799..90158c5c0d3 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -69,7 +69,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index 30606061790..7c7b0acf040 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -73,7 +73,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index 9334110878b..7c7b0acf040 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -73,7 +73,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
index 980578d57ee..39508cff560 100644
--- a/net-libs/grpc/grpc-1.19.0.ebuild
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -71,7 +71,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
index 34179c7a860..f963e1b5c22 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -71,7 +71,7 @@ src_compile() {
src_install() {
emake \
- prefix="${D}"/usr \
+ prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-04-30 4:42 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-04-30 4:42 UTC (permalink / raw
To: gentoo-commits
commit: a002978d8d661a3579f34587d338bd6853da3cdc
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 04:06:05 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Apr 30 04:40:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a002978d
net-libs/grpc: bump to 1.20.1
Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.20.1.ebuild | 104 +++++++++++++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8d190b01356..76c1f14d565 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,5 +8,6 @@ DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a295
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120 SHA512 2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7 SHA512 6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
+DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef SHA512 e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f0cccc1d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
new file mode 100644
index 00000000000..34179c7a860
--- /dev/null
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ >=net-dns/c-ares-1.15.0:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-02-27 4:20 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-02-27 4:20 UTC (permalink / raw
To: gentoo-commits
commit: adbb17307bbc88175c5566c6eb5c4171d83a4027
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 27 03:50:04 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Feb 27 04:19:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbb1730
net-libs/grpc: bump to 1.19.0
skip gcc8 patch, builds fine with 8.3.0
added CONCEPTS.md to docs
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.19.0.ebuild | 104 +++++++++++++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 576141d92e2..8d190b01356 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,5 +7,6 @@ DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120 SHA512 2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
+DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7 SHA512 6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
new file mode 100644
index 00000000000..980578d57ee
--- /dev/null
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-01-16 0:52 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-01-16 0:52 UTC (permalink / raw
To: gentoo-commits
commit: 525fdbc8c703713bdf7193cd5fe51a5316eba07c
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 00:51:25 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 00:52:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525fdbc8
net-libs/grpc: drop old
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 2 -
net-libs/grpc/grpc-1.16.0.ebuild | 102 -------------------------------------
net-libs/grpc/grpc-1.17.0.ebuild | 106 ---------------------------------------
3 files changed, 210 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ad32c39f6ee..576141d92e2 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -4,9 +4,7 @@ DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 533f0a7d4eb606b8a55f12aade503285dbff2cf
DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
-DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800 SHA512 af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
-DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0 SHA512 c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120 SHA512 2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
diff --git a/net-libs/grpc/grpc-1.16.0.ebuild b/net-libs/grpc/grpc-1.16.0.ebuild
deleted file mode 100644
index 4cfb0e21799..00000000000
--- a/net-libs/grpc/grpc-1.16.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- dev-libs/protobuf:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
- "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
- "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-}
-
-src_install() {
- emake \
- prefix="${D}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt 1.16.0; then
- ewarn "python bindings and tools moved to separate independent packages"
- ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
- fi
- done
-
-}
diff --git a/net-libs/grpc/grpc-1.17.0.ebuild b/net-libs/grpc/grpc-1.17.0.ebuild
deleted file mode 100644
index 30606061790..00000000000
--- a/net-libs/grpc/grpc-1.17.0.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- dev-libs/protobuf:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-# requires network
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
- "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
- sed -i 's:-Werror::g' Makefile || die
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
-
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-}
-
-src_install() {
- emake \
- prefix="${D}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt 1.16.0; then
- ewarn "python bindings and tools moved to separate independent packages"
- ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
- fi
- done
-
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2019-01-16 0:52 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2019-01-16 0:52 UTC (permalink / raw
To: gentoo-commits
commit: b7eb661920cf357567cbd0b989400da8fd104e41
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 00:35:38 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 00:52:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7eb6619
net-libs/grpc: bump to 1.18.0
Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.18.0.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index b132b7b2982..ad32c39f6ee 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,5 +8,6 @@ DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B bceddb5cc9b3439523523f16e0a34b45ddcd1b4
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0 SHA512 c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
+DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120 SHA512 2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
new file mode 100644
index 00000000000..9334110878b
--- /dev/null
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-12-15 6:00 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-12-15 6:00 UTC (permalink / raw
To: gentoo-commits
commit: 9c7194c373f046aa225e80b6b43da2e9083fa2c7
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 15 05:48:02 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Dec 15 05:48:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7194c3
net-libs/grpc: bump to 1.17.1
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.17.1.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 081b74e5928..b132b7b2982 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,5 +7,6 @@ DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4
DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800 SHA512 af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0 SHA512 c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
+DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece SHA512 45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
new file mode 100644
index 00000000000..30606061790
--- /dev/null
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-12-10 4:50 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-12-10 4:50 UTC (permalink / raw
To: gentoo-commits
commit: 69125a4b1fb367335f57c84c33a51ec0cdd31c98
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 04:30:54 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 04:30:54 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69125a4b
net-libs/grpc: bump to 1.17.0
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.17.0.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 7305495516d..081b74e5928 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -6,5 +6,6 @@ DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800 SHA512 af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
+DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0 SHA512 c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.17.0.ebuild b/net-libs/grpc/grpc-1.17.0.ebuild
new file mode 100644
index 00000000000..30606061790
--- /dev/null
+++ b/net-libs/grpc/grpc-1.17.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's:-Werror::g' Makefile || die
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-11-15 3:21 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-11-15 3:21 UTC (permalink / raw
To: gentoo-commits
commit: 45a6c02b40096a08998aa78418bfc51fc23929fe
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 15 03:00:14 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 15 03:21:03 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a6c02b
net-libs/grpc: version bump to 1.16.1
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.16.1.ebuild | 102 +++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 6e6e8dc9326..7305495516d 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,5 +5,6 @@ DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb798280942
DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1 SHA512 1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f SHA512 2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800 SHA512 af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
+DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f SHA512 2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
new file mode 100644
index 00000000000..b3fac81f326
--- /dev/null
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ dev-libs/protobuf:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
+ "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+ "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md TROUBLESHOOTING.md doc/. )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt 1.16.0; then
+ ewarn "python bindings and tools moved to separate independent packages"
+ ewarn "check dev-python/grpcio and dev-python/grpcio-tools"
+ fi
+ done
+
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-11-15 3:21 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-11-15 3:21 UTC (permalink / raw
To: gentoo-commits
commit: 5c978cb42f659db4b2b44200a7803692053efbd7
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 15 03:15:46 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 15 03:21:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c978cb4
net-libs/grpc: http -> https HOMEPAGE
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-libs/grpc/grpc-1.12.0.ebuild | 4 ++--
net-libs/grpc/grpc-1.12.1-r1.ebuild | 4 ++--
net-libs/grpc/grpc-1.13.0-r1.ebuild | 4 ++--
net-libs/grpc/grpc-1.13.1.ebuild | 4 ++--
net-libs/grpc/grpc-1.14.2.ebuild | 4 ++--
net-libs/grpc/grpc-1.15.0.ebuild | 4 ++--
net-libs/grpc/grpc-1.16.0.ebuild | 2 +-
net-libs/grpc/grpc-1.16.1.ebuild | 2 +-
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
index a232297d5cf..ddf193e17a0 100644
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ b/net-libs/grpc/grpc-1.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit python-r1 toolchain-funcs multilib flag-o-matic
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild b/net-libs/grpc/grpc-1.12.1-r1.ebuild
index 6c9403c7626..e5ea7b0998a 100644
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
PROTOBUF_VERSION="3.5.2"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild b/net-libs/grpc/grpc-1.13.0-r1.ebuild
index b3f51b4ee14..d04a6152ea2 100644
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
PROTOBUF_VERSION="3.5.2"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
index 620789c5cc9..c754e09e6eb 100644
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
PROTOBUF_VERSION="3.5.2"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
index f7ac68eea64..8c453555b08 100644
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ b/net-libs/grpc/grpc-1.14.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
PROTOBUF_VERSION="3.5.2"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
index 7c59fdc3076..9aa1447c2c7 100644
--- a/net-libs/grpc/grpc-1.15.0.ebuild
+++ b/net-libs/grpc/grpc-1.15.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
PROTOBUF_VERSION="3.6.1"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
diff --git a/net-libs/grpc/grpc-1.16.0.ebuild b/net-libs/grpc/grpc-1.16.0.ebuild
index b3fac81f326..4cfb0e21799 100644
--- a/net-libs/grpc/grpc-1.16.0.ebuild
+++ b/net-libs/grpc/grpc-1.16.0.ebuild
@@ -8,7 +8,7 @@ inherit flag-o-matic toolchain-funcs
MY_PV="${PV//_pre/-pre}"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index b3fac81f326..4cfb0e21799 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -8,7 +8,7 @@ inherit flag-o-matic toolchain-funcs
MY_PV="${PV//_pre/-pre}"
DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
+HOMEPAGE="https://www.grpc.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-07-16 19:32 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-07-16 19:32 UTC (permalink / raw
To: gentoo-commits
commit: c60c136a1bbe24d31ee50cfb2c87f7ef57f8e25d
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 19:31:05 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 19:31:54 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60c136a
net-libs/grpc: version bump to 1.13.1
Clarified python dependencies.
Package-Manager: Portage-2.3.43, Repoman-2.3.10
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.13.1.ebuild | 172 +++++++++++++++++++++++++++++++++++++++
2 files changed, 173 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 93ed53e4b94..c694829ef8a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,5 @@
DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57 SHA512 68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a SHA512 9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403 SHA512 25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
+DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272 SHA512 f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
new file mode 100644
index 00000000000..620789c5cc9
--- /dev/null
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+# also should ~depend on same version of dev-libs/protobuf below
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap static-libs tools"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tools? ( python )
+"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ python? ( ${PYTHON_DEPS}
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
+ virtual/python-futures[${PYTHON_USEDEP}]
+ tools? ( >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}] )
+ )
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ python? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+ default
+ use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+ if use tools; then
+ rm -r third_party/protobuf || die "removing empty protobuf dir failed"
+ ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ # absolute symlinks will fail
+ # ./src -> ${S}/src
+ ln -s ../../../../src ./ || die
+ # ./third_party -> ${S}/third_party
+ ln -s ../../../../third_party ./ || die
+ # ./grpc_root -> ${S}
+ ln -s ../../../../ ./grpc_root || die
+ # prevent above symlinks creating huge SOURCES.TXT files, bug #661244
+ echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+
+ use python && distutils-r1_src_compile
+}
+
+python_compile() {
+ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
+ export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+ distutils-r1_python_compile
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_compile
+ popd >/dev/null || die
+ fi
+}
+
+python_compile_all() {
+ if use doc; then
+ esetup.py doc
+ mv doc/build doc/html || die
+ fi
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md doc/. )
+ fi
+
+ einstalldocs
+
+ use python && distutils-r1_src_install
+
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_install
+ popd >/dev/null || die
+ fi
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-07-15 22:20 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-07-15 22:20 UTC (permalink / raw
To: gentoo-commits
commit: 5d7099dca23483891bc22124c0dda25dcf7706b6
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 22:07:37 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 22:13:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7099dc
net-libs/grpc: drop old
Closes: https://bugs.gentoo.org/661244
Package-Manager: Portage-2.3.42, Repoman-2.3.9
net-libs/grpc/grpc-1.12.1.ebuild | 160 ------------------------------------
net-libs/grpc/grpc-1.13.0.ebuild | 171 ---------------------------------------
2 files changed, 331 deletions(-)
diff --git a/net-libs/grpc/grpc-1.12.1.ebuild b/net-libs/grpc/grpc-1.12.1.ebuild
deleted file mode 100644
index e57c672f483..00000000000
--- a/net-libs/grpc/grpc-1.12.1.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-DEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3.5:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/coverage[${PYTHON_USEDEP}]
- dev-python/cython[${PYTHON_USEDEP}]
- >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- doc? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
- systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
- "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
- "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
- "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail because out-of-source build
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${D}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=true \
- install
-
- if use examples; then
- docinto examples
- dodoc -r examples/.
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- use doc && local DOCS=( AUTHORS README.md doc/. )
- einstalldocs
-
- use python && distutils-r1_src_install
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
diff --git a/net-libs/grpc/grpc-1.13.0.ebuild b/net-libs/grpc/grpc-1.13.0.ebuild
deleted file mode 100644
index 824ec4b1aa0..00000000000
--- a/net-libs/grpc/grpc-1.13.0.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should ~depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
-SRC_URI="
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- tools? ( python )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
- dev-util/google-perftools
- net-dns/c-ares:=
- sys-libs/zlib:=
- python? ( ${PYTHON_DEPS}
- dev-python/coverage[${PYTHON_USEDEP}]
- dev-python/cython[${PYTHON_USEDEP}]
- >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
- )
- systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- python? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
- "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
- use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
- if use tools; then
- rm -r third_party/protobuf || die "removing empty protobuf dir failed"
- ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- # absolute symlinks will fail
- # ./src -> ${S}/src
- ln -s ../../../../src ./ || die
- # ./third_party -> ${S}/third_party
- ln -s ../../../../third_party ./ || die
- # ./grpc_root -> ${S}
- ln -s ../../../../ ./grpc_root || die
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
-
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=/bin/true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)" \
- HAS_SYSTEMTAP="$(usex systemtap true false)"
-
- use python && distutils-r1_src_compile
-}
-
-python_compile() {
- export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
- export GRPC_PYTHON_BUILD_WITH_CYTHON=1
- distutils-r1_python_compile
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_compile
- popd >/dev/null || die
- fi
-}
-
-python_compile_all() {
- if use doc; then
- esetup.py doc
- mv doc/build doc/html || die
- fi
-}
-
-src_install() {
- emake \
- prefix="${D}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=/bin/true \
- install
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use examples; then
- find examples -name '.gitignore' -delete || die
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- if use doc; then
- find doc -name '.gitignore' -delete || die
- local DOCS=( AUTHORS README.md doc/. )
- fi
-
- einstalldocs
-
- use python && distutils-r1_src_install
-
-}
-
-python_install() {
- distutils-r1_python_install
-
- if use tools; then
- pushd tools/distrib/python/grpcio_tools >/dev/null || die
- distutils-r1_python_install
- popd >/dev/null || die
- fi
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-07-15 22:20 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-07-15 22:20 UTC (permalink / raw
To: gentoo-commits
commit: c3028549bd420c751fed6e530e9f740445a9f7ba
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 22:03:36 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 22:11:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3028549
net-libs/grpc: revbmp 1.13.0, fix huge SOURCES.txt
Bug: https://bugs.gentoo.org/661244
Reported-by: Remy Blank <remy <AT> c-space.org>
Package-Manager: Portage-2.3.42, Repoman-2.3.9
net-libs/grpc/grpc-1.13.0-r1.ebuild | 173 ++++++++++++++++++++++++++++++++++++
1 file changed, 173 insertions(+)
diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild b/net-libs/grpc/grpc-1.13.0-r1.ebuild
new file mode 100644
index 00000000000..b3f51b4ee14
--- /dev/null
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+# also should ~depend on same version of dev-libs/protobuf below
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap static-libs tools"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tools? ( python )
+"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ python? ( ${PYTHON_DEPS}
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/cython[${PYTHON_USEDEP}]
+ >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
+ virtual/python-futures[${PYTHON_USEDEP}]
+ )
+ systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ python? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+ "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+ default
+ use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+ if use tools; then
+ rm -r third_party/protobuf || die "removing empty protobuf dir failed"
+ ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ # absolute symlinks will fail
+ # ./src -> ${S}/src
+ ln -s ../../../../src ./ || die
+ # ./third_party -> ${S}/third_party
+ ln -s ../../../../third_party ./ || die
+ # ./grpc_root -> ${S}
+ ln -s ../../../../ ./grpc_root || die
+ # https://bugs.gentoo.org/661244
+ echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=/bin/true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+
+ use python && distutils-r1_src_compile
+}
+
+python_compile() {
+ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
+ export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+ distutils-r1_python_compile
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_compile
+ popd >/dev/null || die
+ fi
+}
+
+python_compile_all() {
+ if use doc; then
+ esetup.py doc
+ mv doc/build doc/html || die
+ fi
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=/bin/true \
+ install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+
+ if use examples; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ local DOCS=( AUTHORS README.md doc/. )
+ fi
+
+ einstalldocs
+
+ use python && distutils-r1_src_install
+
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_install
+ popd >/dev/null || die
+ fi
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-07-15 22:20 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-07-15 22:20 UTC (permalink / raw
To: gentoo-commits
commit: 614b5aaad4f6d6c22ed92b1f99dc83d012f103ae
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 22:06:22 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 22:13:24 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614b5aaa
net-libs/grpc: revbmp 1.12.1, fix huge SOURCES.txt
Bug: https://bugs.gentoo.org/661244
Reported-by: Remy Blank <remy <AT> c-space.org>
Package-Manager: Portage-2.3.42, Repoman-2.3.9
net-libs/grpc/grpc-1.12.1-r1.ebuild | 162 ++++++++++++++++++++++++++++++++++++
1 file changed, 162 insertions(+)
diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild b/net-libs/grpc/grpc-1.12.1-r1.ebuild
new file mode 100644
index 00000000000..6c9403c7626
--- /dev/null
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ tools? ( https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap tools"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tools? ( python )
+"
+
+DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3.5:=
+ dev-util/google-perftools
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+ python? ( ${PYTHON_DEPS}
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/cython[${PYTHON_USEDEP}]
+ >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
+ virtual/python-futures[${PYTHON_USEDEP}]
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ )
+ systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
+ "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+ "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
+ "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
+ "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
+ "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+ default
+ use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+ if use tools; then
+ rm -r third_party/protobuf || die "removing empty protobuf dir failed"
+ ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" third_party/protobuf || die
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ # absolute symlinks will fail because out-of-source build
+ # ./src -> ${S}/src
+ ln -s ../../../../src ./ || die
+ # ./third_party -> ${S}/third_party
+ ln -s ../../../../third_party ./ || die
+ # ./grpc_root -> ${S}
+ ln -s ../../../../ ./grpc_root || die
+ # https://bugs.gentoo.org/661244
+ echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> MANIFEST.in
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)" \
+ HAS_SYSTEMTAP="$(usex systemtap true false)"
+
+ use python && distutils-r1_src_compile
+}
+
+python_compile() {
+ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
+ export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+ distutils-r1_python_compile
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_compile
+ popd >/dev/null || die
+ fi
+}
+
+python_compile_all() {
+ if use doc; then
+ esetup.py doc
+ mv doc/build doc/html || die
+ fi
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=true \
+ install
+
+ if use examples; then
+ docinto examples
+ dodoc -r examples/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ use doc && local DOCS=( AUTHORS README.md doc/. )
+ einstalldocs
+
+ use python && distutils-r1_src_install
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if use tools; then
+ pushd tools/distrib/python/grpcio_tools >/dev/null || die
+ distutils-r1_python_install
+ popd >/dev/null || die
+ fi
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-07-08 15:29 Jason Zaman
0 siblings, 0 replies; 86+ messages in thread
From: Jason Zaman @ 2018-07-08 15:29 UTC (permalink / raw
To: gentoo-commits
commit: e8e16ad7ca552fb86db37839d8408e46022b429f
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 8 09:30:41 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jul 8 15:26:05 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e16ad7
net-libs/grpc: Allow >=protobuf dep
Tensorflow uses 3.6.0 protobuf with grpc-1.13.0 so they should work
together.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/grpc/grpc-1.13.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/grpc-1.13.0.ebuild b/net-libs/grpc/grpc-1.13.0.ebuild
index ff81aa55ff0..824ec4b1aa0 100644
--- a/net-libs/grpc/grpc-1.13.0.ebuild
+++ b/net-libs/grpc/grpc-1.13.0.ebuild
@@ -32,7 +32,7 @@ REQUIRED_USE="
RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
- ~dev-libs/protobuf-${PROTOBUF_VERSION}:=
+ >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-06-17 1:18 Georgy Yakovlev
0 siblings, 0 replies; 86+ messages in thread
From: Georgy Yakovlev @ 2018-06-17 1:18 UTC (permalink / raw
To: gentoo-commits
commit: 8ac2ee85c1a719de0901b66c288ffc849c1100d3
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 17 01:11:05 2018 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 01:18:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac2ee85
net-libs/grpc: update metadata.xml
Bug: https://bugs.gentoo.org/643644
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/grpc/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index ccdf17cc01e..5a11d0f4a2d 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -5,7 +5,7 @@
<email>perfinion@gentoo.org</email>
</maintainer>
<maintainer type="person">
- <email>ya@sysdump.net</email>
+ <email>gyakovlev@gentoo.org</email>
<name>Georgy Yakovlev</name>
</maintainer>
<longdescription lang="en">
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-05-30 13:24 Jason Zaman
0 siblings, 0 replies; 86+ messages in thread
From: Jason Zaman @ 2018-05-30 13:24 UTC (permalink / raw
To: gentoo-commits
commit: 0b87c264a7014b4c027094cb685089e8f38cbe37
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed May 30 13:22:52 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed May 30 13:23:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b87c264
net-libs/grpc: drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/grpc/Manifest | 1 -
net-libs/grpc/grpc-1.11.0-r1.ebuild | 66 -------------------------------------
2 files changed, 67 deletions(-)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 0ca4bc38aba..99b7d82abd1 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1 @@
-DIST grpc-1.11.0.tar.gz 13431990 BLAKE2B d7aabd86fdaba8f8fc6fa17b411b496bbd51ef0a759d4bd77c0391e472c88f4252270ceddc19fb59a2b725d612236e1aef959f4b313551cb38204c51d1ca216b SHA512 3127cf0e66cd0712d905e6008adf6f80d787ad97eae2fba38fa3f4d343849a3dc3ca8f2ccbc82020e812fdb272e9577584c298a5b623fbdcac40c1efd7877855
DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57 SHA512 68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
diff --git a/net-libs/grpc/grpc-1.11.0-r1.ebuild b/net-libs/grpc/grpc-1.11.0-r1.ebuild
deleted file mode 100644
index a232297d5cf..00000000000
--- a/net-libs/grpc/grpc-1.11.0-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-inherit python-r1 toolchain-funcs multilib flag-o-matic
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- >=dev-libs/openssl-1.0.2:0=[-bindist]
- >=dev-libs/protobuf-3:=
- net-dns/c-ares:=
- sys-libs/zlib:="
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
- "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
- "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
- "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
- "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-)
-
-src_prepare() {
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
- default
-}
-
-src_compile() {
- tc-export CC CXX PKG_CONFIG
- emake \
- V=1 \
- prefix=/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- AR="$(tc-getAR)" \
- AROPTS="rcs" \
- CFLAGS="${CFLAGS}" \
- LD="${CC}" \
- LDXX="${CXX}" \
- STRIP=true \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_CXX="$(tc-getBUILD_CXX)" \
- HOST_LD="$(tc-getBUILD_CC)" \
- HOST_LDXX="$(tc-getBUILD_CXX)" \
- HOST_AR="$(tc-getBUILD_AR)"
-}
-
-src_install() {
- emake \
- prefix="${D}"/usr \
- INSTALL_LIBDIR="$(get_libdir)" \
- STRIP=true \
- install
-}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-05-30 13:24 Jason Zaman
0 siblings, 0 replies; 86+ messages in thread
From: Jason Zaman @ 2018-05-30 13:24 UTC (permalink / raw
To: gentoo-commits
commit: db5628f73e5070d4fc70123e26d4a9631ccc1567
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed May 30 12:45:43 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed May 30 13:23:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5628f7
net-libs/grpc: bump to 1.12.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/grpc/Manifest | 1 +
net-libs/grpc/grpc-1.12.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 4979a85eff1..0ca4bc38aba 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,2 @@
DIST grpc-1.11.0.tar.gz 13431990 BLAKE2B d7aabd86fdaba8f8fc6fa17b411b496bbd51ef0a759d4bd77c0391e472c88f4252270ceddc19fb59a2b725d612236e1aef959f4b313551cb38204c51d1ca216b SHA512 3127cf0e66cd0712d905e6008adf6f80d787ad97eae2fba38fa3f4d343849a3dc3ca8f2ccbc82020e812fdb272e9577584c298a5b623fbdcac40c1efd7877855
+DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57 SHA512 68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
new file mode 100644
index 00000000000..a232297d5cf
--- /dev/null
+++ b/net-libs/grpc/grpc-1.12.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+inherit python-r1 toolchain-funcs multilib flag-o-matic
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-libs/protobuf-3:=
+ net-dns/c-ares:=
+ sys-libs/zlib:="
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
+ "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+ "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+ "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+ "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+)
+
+src_prepare() {
+ sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir"
+ default
+}
+
+src_compile() {
+ tc-export CC CXX PKG_CONFIG
+ emake \
+ V=1 \
+ prefix=/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ AR="$(tc-getAR)" \
+ AROPTS="rcs" \
+ CFLAGS="${CFLAGS}" \
+ LD="${CC}" \
+ LDXX="${CXX}" \
+ STRIP=true \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ HOST_CXX="$(tc-getBUILD_CXX)" \
+ HOST_LD="$(tc-getBUILD_CC)" \
+ HOST_LDXX="$(tc-getBUILD_CXX)" \
+ HOST_AR="$(tc-getBUILD_AR)"
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ INSTALL_LIBDIR="$(get_libdir)" \
+ STRIP=true \
+ install
+}
^ permalink raw reply related [flat|nested] 86+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/
@ 2018-05-03 8:59 Jason Zaman
0 siblings, 0 replies; 86+ messages in thread
From: Jason Zaman @ 2018-05-03 8:59 UTC (permalink / raw
To: gentoo-commits
commit: 0f8103b8e3fc342c92cff118be827d261b19bccc
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Thu May 3 08:42:37 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Thu May 3 08:59:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8103b8
net-libs/grpc: openssl dep needs -bindist
Also add subslot deps
Closes: https://bugs.gentoo.org/654646
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-libs/grpc/grpc-1.11.0.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-libs/grpc/grpc-1.11.0.ebuild b/net-libs/grpc/grpc-1.11.0.ebuild
index f5f64eea4e7..1a6156e4625 100644
--- a/net-libs/grpc/grpc-1.11.0.ebuild
+++ b/net-libs/grpc/grpc-1.11.0.ebuild
@@ -18,10 +18,10 @@ IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
- >=dev-libs/openssl-1.0.2
+ >=dev-libs/openssl-1.0.2:0=[-bindist]
>=dev-libs/protobuf-3:=
- net-dns/c-ares
- sys-libs/zlib"
+ net-dns/c-ares:=
+ sys-libs/zlib:="
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 86+ messages in thread
end of thread, other threads:[~2024-09-17 16:00 UTC | newest]
Thread overview: 86+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-14 8:48 [gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-09-17 16:00 Sam James
2024-09-12 21:59 Sam James
2024-09-04 9:32 Sam James
2024-07-09 12:52 Sam James
2023-12-25 19:22 Conrad Kostecki
2023-08-21 18:22 Sam James
2023-08-21 17:31 Sam James
2023-08-21 17:31 Sam James
2023-08-21 17:31 Sam James
2023-08-21 16:35 Sam James
2023-08-21 15:23 Sam James
2023-05-26 20:21 Andreas Sturmlechner
2023-05-14 8:48 Sam James
2023-05-14 8:48 Sam James
2023-02-27 9:10 WANG Xuerui
2023-02-24 17:11 Arthur Zamarin
2023-02-20 21:29 Arthur Zamarin
2023-02-16 5:52 WANG Xuerui
2023-02-12 18:42 Jakov Smolić
2023-02-12 18:42 Jakov Smolić
2023-02-12 18:36 Jakov Smolić
2023-02-11 7:47 WANG Xuerui
2023-02-11 7:47 WANG Xuerui
2023-02-11 7:47 WANG Xuerui
2023-02-07 0:35 Georgy Yakovlev
2022-12-24 14:49 Andreas Sturmlechner
2022-12-20 23:57 Sam James
2022-10-27 23:46 Sam James
2022-10-20 10:52 Jakov Smolić
2022-08-17 21:13 Sam James
2021-12-20 12:09 Agostino Sarubbo
2021-12-20 9:20 Arthur Zamarin
2021-12-20 5:34 Georgy Yakovlev
2021-12-20 5:31 Georgy Yakovlev
2021-12-20 5:10 Georgy Yakovlev
2021-12-20 5:04 Georgy Yakovlev
2021-11-14 1:59 Georgy Yakovlev
2021-06-21 23:31 Georgy Yakovlev
2021-06-21 23:31 Georgy Yakovlev
2021-05-30 1:43 Georgy Yakovlev
2021-05-15 2:21 Sam James
2021-05-02 10:16 Mikle Kolyada
2021-04-30 18:11 Georgy Yakovlev
2021-04-29 23:35 Georgy Yakovlev
2021-04-29 11:46 Michał Górny
2021-04-29 8:29 Georgy Yakovlev
2020-04-24 20:02 Georgy Yakovlev
2020-04-23 16:27 Stefan Strogin
2020-04-20 7:28 Georgy Yakovlev
2020-02-22 1:30 Georgy Yakovlev
2020-01-17 10:22 Georgy Yakovlev
2020-01-17 10:22 Georgy Yakovlev
2019-12-22 3:28 Georgy Yakovlev
2019-10-26 0:11 Georgy Yakovlev
2019-08-17 3:00 Georgy Yakovlev
2019-08-17 3:00 Georgy Yakovlev
2019-08-17 3:00 Georgy Yakovlev
2019-08-17 3:00 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-07-27 9:07 Georgy Yakovlev
2019-05-31 19:26 Georgy Yakovlev
2019-05-28 6:49 Georgy Yakovlev
2019-05-07 19:00 Georgy Yakovlev
2019-05-07 19:00 Georgy Yakovlev
2019-04-30 4:42 Georgy Yakovlev
2019-02-27 4:20 Georgy Yakovlev
2019-01-16 0:52 Georgy Yakovlev
2019-01-16 0:52 Georgy Yakovlev
2018-12-15 6:00 Georgy Yakovlev
2018-12-10 4:50 Georgy Yakovlev
2018-11-15 3:21 Georgy Yakovlev
2018-11-15 3:21 Georgy Yakovlev
2018-07-16 19:32 Georgy Yakovlev
2018-07-15 22:20 Georgy Yakovlev
2018-07-15 22:20 Georgy Yakovlev
2018-07-15 22:20 Georgy Yakovlev
2018-07-08 15:29 Jason Zaman
2018-06-17 1:18 Georgy Yakovlev
2018-05-30 13:24 Jason Zaman
2018-05-30 13:24 Jason Zaman
2018-05-03 8:59 Jason Zaman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox