summaryrefslogtreecommitdiff
path: root/dev-python/grpcio
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/grpcio
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/grpcio')
-rw-r--r--dev-python/grpcio/Manifest2
-rw-r--r--dev-python/grpcio/files/grpc-1.26-fix-odr-violation.patch421
-rw-r--r--dev-python/grpcio/files/setup.py-respect-cc.patch33
-rw-r--r--dev-python/grpcio/grpcio-1.26.0-r1.ebuild38
-rw-r--r--dev-python/grpcio/grpcio-1.28.1.ebuild37
-rw-r--r--dev-python/grpcio/metadata.xml13
6 files changed, 544 insertions, 0 deletions
diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest
new file mode 100644
index 000000000000..c79340241f2e
--- /dev/null
+++ b/dev-python/grpcio/Manifest
@@ -0,0 +1,2 @@
+DIST grpcio-1.26.0.tar.gz 15406206 BLAKE2B 4a9031e1d9e9285d1c1ee90396ae339a47715fa2c279f5bce517e3ea02bdc755e3044e3e402f73b3d797a6b1415f58396097a55ba16200c7f9d4569b0b159fe3 SHA512 df3b6787449c202f3e70640907c76231dbbeb6b411167300ba8a53c17f7d45ffa513a81046a4a66a368f2c17c2d57a48a07cb236f44a005e4073bd5d8aa3865c
+DIST grpcio-1.28.1.tar.gz 19511346 BLAKE2B 01ebdeddcba5efbb67880693ede04ccd828771fe73def24a91d882c28f5cf6f14215daca212df1d8bb9372f385aff1e31418870437c87343f218e7b78a06b04c SHA512 12feaee3816a5e7b20b648a144d37f7e550a057112f5460bc4ec016885461951148cd4d2900fbfc905f76059ef29ae4c4d1d5a3216e5e3a2d17048c8b45f394f
diff --git a/dev-python/grpcio/files/grpc-1.26-fix-odr-violation.patch b/dev-python/grpcio/files/grpc-1.26-fix-odr-violation.patch
new file mode 100644
index 000000000000..695ec4efe165
--- /dev/null
+++ b/dev-python/grpcio/files/grpc-1.26-fix-odr-violation.patch
@@ -0,0 +1,421 @@
+From 72351f63fd650cc7acfcd2d0307e8e8e8f777283 Mon Sep 17 00:00:00 2001
+From: Esun Kim <veblush@google.com>
+Date: Tue, 14 Jan 2020 16:35:23 -0800
+Subject: [PATCH] Remove grpc sources from grpc++
+
+diff --git a/Makefile b/Makefile
+index f8bd36f62f6..b25c748d3a9 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5695,205 +5695,7 @@ LIBGRPC++_SRC = \
+ src/cpp/util/status.cc \
+ src/cpp/util/string_ref.cc \
+ src/cpp/util/time_cc.cc \
+- src/core/ext/filters/client_channel/backend_metric.cc \
+- src/core/ext/filters/client_channel/backup_poller.cc \
+- src/core/ext/filters/client_channel/channel_connectivity.cc \
+- src/core/ext/filters/client_channel/client_channel.cc \
+- src/core/ext/filters/client_channel/client_channel_channelz.cc \
+- src/core/ext/filters/client_channel/client_channel_factory.cc \
+- src/core/ext/filters/client_channel/client_channel_plugin.cc \
+- src/core/ext/filters/client_channel/global_subchannel_pool.cc \
+- src/core/ext/filters/client_channel/health/health_check_client.cc \
+- src/core/ext/filters/client_channel/http_connect_handshaker.cc \
+- src/core/ext/filters/client_channel/http_proxy.cc \
+- src/core/ext/filters/client_channel/lb_policy.cc \
+- src/core/ext/filters/client_channel/lb_policy_registry.cc \
+- src/core/ext/filters/client_channel/local_subchannel_pool.cc \
+- src/core/ext/filters/client_channel/parse_address.cc \
+- src/core/ext/filters/client_channel/proxy_mapper_registry.cc \
+- src/core/ext/filters/client_channel/resolver.cc \
+- src/core/ext/filters/client_channel/resolver_registry.cc \
+- src/core/ext/filters/client_channel/resolver_result_parsing.cc \
+- src/core/ext/filters/client_channel/resolving_lb_policy.cc \
+- src/core/ext/filters/client_channel/retry_throttle.cc \
+- src/core/ext/filters/client_channel/server_address.cc \
+- src/core/ext/filters/client_channel/service_config.cc \
+- src/core/ext/filters/client_channel/subchannel.cc \
+- src/core/ext/filters/client_channel/subchannel_pool_interface.cc \
+- src/core/lib/avl/avl.cc \
+- src/core/lib/backoff/backoff.cc \
+- src/core/lib/channel/channel_args.cc \
+- src/core/lib/channel/channel_stack.cc \
+- src/core/lib/channel/channel_stack_builder.cc \
+- src/core/lib/channel/channel_trace.cc \
+- src/core/lib/channel/channelz.cc \
+- src/core/lib/channel/channelz_registry.cc \
+- src/core/lib/channel/connected_channel.cc \
+- src/core/lib/channel/handshaker.cc \
+- src/core/lib/channel/handshaker_registry.cc \
+- src/core/lib/channel/status_util.cc \
+- src/core/lib/compression/compression.cc \
+- src/core/lib/compression/compression_args.cc \
+- src/core/lib/compression/compression_internal.cc \
+- src/core/lib/compression/message_compress.cc \
+- src/core/lib/compression/stream_compression.cc \
+- src/core/lib/compression/stream_compression_gzip.cc \
+- src/core/lib/compression/stream_compression_identity.cc \
+- src/core/lib/debug/stats.cc \
+- src/core/lib/debug/stats_data.cc \
+- src/core/lib/http/format_request.cc \
+- src/core/lib/http/httpcli.cc \
+- src/core/lib/http/parser.cc \
+- src/core/lib/iomgr/buffer_list.cc \
+- src/core/lib/iomgr/call_combiner.cc \
+- src/core/lib/iomgr/cfstream_handle.cc \
+- src/core/lib/iomgr/combiner.cc \
+- src/core/lib/iomgr/endpoint.cc \
+- src/core/lib/iomgr/endpoint_cfstream.cc \
+- src/core/lib/iomgr/endpoint_pair_posix.cc \
+- src/core/lib/iomgr/endpoint_pair_uv.cc \
+- src/core/lib/iomgr/endpoint_pair_windows.cc \
+- src/core/lib/iomgr/error.cc \
+- src/core/lib/iomgr/error_cfstream.cc \
+- src/core/lib/iomgr/ev_epoll1_linux.cc \
+- src/core/lib/iomgr/ev_epollex_linux.cc \
+- src/core/lib/iomgr/ev_poll_posix.cc \
+- src/core/lib/iomgr/ev_posix.cc \
+- src/core/lib/iomgr/ev_windows.cc \
+- src/core/lib/iomgr/exec_ctx.cc \
+- src/core/lib/iomgr/executor.cc \
+- src/core/lib/iomgr/executor/mpmcqueue.cc \
+- src/core/lib/iomgr/executor/threadpool.cc \
+- src/core/lib/iomgr/fork_posix.cc \
+- src/core/lib/iomgr/fork_windows.cc \
+- src/core/lib/iomgr/gethostname_fallback.cc \
+- src/core/lib/iomgr/gethostname_host_name_max.cc \
+- src/core/lib/iomgr/gethostname_sysconf.cc \
+- src/core/lib/iomgr/grpc_if_nametoindex_posix.cc \
+- src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc \
+- src/core/lib/iomgr/internal_errqueue.cc \
+- src/core/lib/iomgr/iocp_windows.cc \
+- src/core/lib/iomgr/iomgr.cc \
+- src/core/lib/iomgr/iomgr_custom.cc \
+- src/core/lib/iomgr/iomgr_internal.cc \
+- src/core/lib/iomgr/iomgr_posix.cc \
+- src/core/lib/iomgr/iomgr_posix_cfstream.cc \
+- src/core/lib/iomgr/iomgr_uv.cc \
+- src/core/lib/iomgr/iomgr_windows.cc \
+- src/core/lib/iomgr/is_epollexclusive_available.cc \
+- src/core/lib/iomgr/load_file.cc \
+- src/core/lib/iomgr/lockfree_event.cc \
+- src/core/lib/iomgr/logical_thread.cc \
+- src/core/lib/iomgr/polling_entity.cc \
+- src/core/lib/iomgr/pollset.cc \
+- src/core/lib/iomgr/pollset_custom.cc \
+- src/core/lib/iomgr/pollset_set.cc \
+- src/core/lib/iomgr/pollset_set_custom.cc \
+- src/core/lib/iomgr/pollset_set_windows.cc \
+- src/core/lib/iomgr/pollset_uv.cc \
+- src/core/lib/iomgr/pollset_windows.cc \
+- src/core/lib/iomgr/resolve_address.cc \
+- src/core/lib/iomgr/resolve_address_custom.cc \
+- src/core/lib/iomgr/resolve_address_posix.cc \
+- src/core/lib/iomgr/resolve_address_windows.cc \
+- src/core/lib/iomgr/resource_quota.cc \
+- src/core/lib/iomgr/sockaddr_utils.cc \
+- src/core/lib/iomgr/socket_factory_posix.cc \
+- src/core/lib/iomgr/socket_mutator.cc \
+- src/core/lib/iomgr/socket_utils_common_posix.cc \
+- src/core/lib/iomgr/socket_utils_linux.cc \
+- src/core/lib/iomgr/socket_utils_posix.cc \
+- src/core/lib/iomgr/socket_utils_uv.cc \
+- src/core/lib/iomgr/socket_utils_windows.cc \
+- src/core/lib/iomgr/socket_windows.cc \
+- src/core/lib/iomgr/tcp_client.cc \
+- src/core/lib/iomgr/tcp_client_cfstream.cc \
+- src/core/lib/iomgr/tcp_client_custom.cc \
+- src/core/lib/iomgr/tcp_client_posix.cc \
+- src/core/lib/iomgr/tcp_client_windows.cc \
+- src/core/lib/iomgr/tcp_custom.cc \
+- src/core/lib/iomgr/tcp_posix.cc \
+- src/core/lib/iomgr/tcp_server.cc \
+- src/core/lib/iomgr/tcp_server_custom.cc \
+- src/core/lib/iomgr/tcp_server_posix.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_common.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc \
+- src/core/lib/iomgr/tcp_server_windows.cc \
+- src/core/lib/iomgr/tcp_uv.cc \
+- src/core/lib/iomgr/tcp_windows.cc \
+- src/core/lib/iomgr/time_averaged_stats.cc \
+- src/core/lib/iomgr/timer.cc \
+- src/core/lib/iomgr/timer_custom.cc \
+- src/core/lib/iomgr/timer_generic.cc \
+- src/core/lib/iomgr/timer_heap.cc \
+- src/core/lib/iomgr/timer_manager.cc \
+- src/core/lib/iomgr/timer_uv.cc \
+- src/core/lib/iomgr/udp_server.cc \
+- src/core/lib/iomgr/unix_sockets_posix.cc \
+- src/core/lib/iomgr/unix_sockets_posix_noop.cc \
+- src/core/lib/iomgr/wakeup_fd_eventfd.cc \
+- src/core/lib/iomgr/wakeup_fd_nospecial.cc \
+- src/core/lib/iomgr/wakeup_fd_pipe.cc \
+- src/core/lib/iomgr/wakeup_fd_posix.cc \
+- src/core/lib/json/json.cc \
+- src/core/lib/json/json_reader.cc \
+- src/core/lib/json/json_string.cc \
+- src/core/lib/json/json_writer.cc \
+- src/core/lib/slice/b64.cc \
+- src/core/lib/slice/percent_encoding.cc \
+- src/core/lib/slice/slice.cc \
+- src/core/lib/slice/slice_buffer.cc \
+- src/core/lib/slice/slice_intern.cc \
+- src/core/lib/slice/slice_string_helpers.cc \
+- src/core/lib/surface/api_trace.cc \
+- src/core/lib/surface/byte_buffer.cc \
+- src/core/lib/surface/byte_buffer_reader.cc \
+- src/core/lib/surface/call.cc \
+- src/core/lib/surface/call_details.cc \
+- src/core/lib/surface/call_log_batch.cc \
+- src/core/lib/surface/channel.cc \
+- src/core/lib/surface/channel_init.cc \
+- src/core/lib/surface/channel_ping.cc \
+- src/core/lib/surface/channel_stack_type.cc \
+- src/core/lib/surface/completion_queue.cc \
+- src/core/lib/surface/completion_queue_factory.cc \
+- src/core/lib/surface/event_string.cc \
+- src/core/lib/surface/lame_client.cc \
+- src/core/lib/surface/metadata_array.cc \
+- src/core/lib/surface/server.cc \
+- src/core/lib/surface/validate_metadata.cc \
+- src/core/lib/surface/version.cc \
+- src/core/lib/transport/bdp_estimator.cc \
+- src/core/lib/transport/byte_stream.cc \
+- src/core/lib/transport/connectivity_state.cc \
+- src/core/lib/transport/error_utils.cc \
+- src/core/lib/transport/metadata.cc \
+- src/core/lib/transport/metadata_batch.cc \
+- src/core/lib/transport/pid_controller.cc \
+- src/core/lib/transport/static_metadata.cc \
+- src/core/lib/transport/status_conversion.cc \
+- src/core/lib/transport/status_metadata.cc \
+- src/core/lib/transport/timeout_encoding.cc \
+- src/core/lib/transport/transport.cc \
+- src/core/lib/transport/transport_op_string.cc \
+- src/core/lib/uri/uri_parser.cc \
+- src/core/lib/debug/trace.cc \
+- src/core/ext/filters/deadline/deadline_filter.cc \
+ src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c \
+- src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c \
+- src/core/ext/upb-generated/gogoproto/gogo.upb.c \
+- src/core/ext/upb-generated/validate/validate.upb.c \
+- src/core/ext/upb-generated/google/api/annotations.upb.c \
+- src/core/ext/upb-generated/google/api/http.upb.c \
+- src/core/ext/upb-generated/google/protobuf/any.upb.c \
+- src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \
+- src/core/ext/upb-generated/google/protobuf/duration.upb.c \
+- src/core/ext/upb-generated/google/protobuf/empty.upb.c \
+- src/core/ext/upb-generated/google/protobuf/struct.upb.c \
+- src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \
+- src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \
+- src/core/ext/upb-generated/google/rpc/status.upb.c \
+ src/cpp/codegen/codegen_init.cc \
+
+ PUBLIC_HEADERS_CXX += \
+@@ -6926,205 +6728,7 @@ LIBGRPC++_UNSECURE_SRC = \
+ src/cpp/util/status.cc \
+ src/cpp/util/string_ref.cc \
+ src/cpp/util/time_cc.cc \
+- src/core/ext/filters/client_channel/backend_metric.cc \
+- src/core/ext/filters/client_channel/backup_poller.cc \
+- src/core/ext/filters/client_channel/channel_connectivity.cc \
+- src/core/ext/filters/client_channel/client_channel.cc \
+- src/core/ext/filters/client_channel/client_channel_channelz.cc \
+- src/core/ext/filters/client_channel/client_channel_factory.cc \
+- src/core/ext/filters/client_channel/client_channel_plugin.cc \
+- src/core/ext/filters/client_channel/global_subchannel_pool.cc \
+- src/core/ext/filters/client_channel/health/health_check_client.cc \
+- src/core/ext/filters/client_channel/http_connect_handshaker.cc \
+- src/core/ext/filters/client_channel/http_proxy.cc \
+- src/core/ext/filters/client_channel/lb_policy.cc \
+- src/core/ext/filters/client_channel/lb_policy_registry.cc \
+- src/core/ext/filters/client_channel/local_subchannel_pool.cc \
+- src/core/ext/filters/client_channel/parse_address.cc \
+- src/core/ext/filters/client_channel/proxy_mapper_registry.cc \
+- src/core/ext/filters/client_channel/resolver.cc \
+- src/core/ext/filters/client_channel/resolver_registry.cc \
+- src/core/ext/filters/client_channel/resolver_result_parsing.cc \
+- src/core/ext/filters/client_channel/resolving_lb_policy.cc \
+- src/core/ext/filters/client_channel/retry_throttle.cc \
+- src/core/ext/filters/client_channel/server_address.cc \
+- src/core/ext/filters/client_channel/service_config.cc \
+- src/core/ext/filters/client_channel/subchannel.cc \
+- src/core/ext/filters/client_channel/subchannel_pool_interface.cc \
+- src/core/lib/avl/avl.cc \
+- src/core/lib/backoff/backoff.cc \
+- src/core/lib/channel/channel_args.cc \
+- src/core/lib/channel/channel_stack.cc \
+- src/core/lib/channel/channel_stack_builder.cc \
+- src/core/lib/channel/channel_trace.cc \
+- src/core/lib/channel/channelz.cc \
+- src/core/lib/channel/channelz_registry.cc \
+- src/core/lib/channel/connected_channel.cc \
+- src/core/lib/channel/handshaker.cc \
+- src/core/lib/channel/handshaker_registry.cc \
+- src/core/lib/channel/status_util.cc \
+- src/core/lib/compression/compression.cc \
+- src/core/lib/compression/compression_args.cc \
+- src/core/lib/compression/compression_internal.cc \
+- src/core/lib/compression/message_compress.cc \
+- src/core/lib/compression/stream_compression.cc \
+- src/core/lib/compression/stream_compression_gzip.cc \
+- src/core/lib/compression/stream_compression_identity.cc \
+- src/core/lib/debug/stats.cc \
+- src/core/lib/debug/stats_data.cc \
+- src/core/lib/http/format_request.cc \
+- src/core/lib/http/httpcli.cc \
+- src/core/lib/http/parser.cc \
+- src/core/lib/iomgr/buffer_list.cc \
+- src/core/lib/iomgr/call_combiner.cc \
+- src/core/lib/iomgr/cfstream_handle.cc \
+- src/core/lib/iomgr/combiner.cc \
+- src/core/lib/iomgr/endpoint.cc \
+- src/core/lib/iomgr/endpoint_cfstream.cc \
+- src/core/lib/iomgr/endpoint_pair_posix.cc \
+- src/core/lib/iomgr/endpoint_pair_uv.cc \
+- src/core/lib/iomgr/endpoint_pair_windows.cc \
+- src/core/lib/iomgr/error.cc \
+- src/core/lib/iomgr/error_cfstream.cc \
+- src/core/lib/iomgr/ev_epoll1_linux.cc \
+- src/core/lib/iomgr/ev_epollex_linux.cc \
+- src/core/lib/iomgr/ev_poll_posix.cc \
+- src/core/lib/iomgr/ev_posix.cc \
+- src/core/lib/iomgr/ev_windows.cc \
+- src/core/lib/iomgr/exec_ctx.cc \
+- src/core/lib/iomgr/executor.cc \
+- src/core/lib/iomgr/executor/mpmcqueue.cc \
+- src/core/lib/iomgr/executor/threadpool.cc \
+- src/core/lib/iomgr/fork_posix.cc \
+- src/core/lib/iomgr/fork_windows.cc \
+- src/core/lib/iomgr/gethostname_fallback.cc \
+- src/core/lib/iomgr/gethostname_host_name_max.cc \
+- src/core/lib/iomgr/gethostname_sysconf.cc \
+- src/core/lib/iomgr/grpc_if_nametoindex_posix.cc \
+- src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc \
+- src/core/lib/iomgr/internal_errqueue.cc \
+- src/core/lib/iomgr/iocp_windows.cc \
+- src/core/lib/iomgr/iomgr.cc \
+- src/core/lib/iomgr/iomgr_custom.cc \
+- src/core/lib/iomgr/iomgr_internal.cc \
+- src/core/lib/iomgr/iomgr_posix.cc \
+- src/core/lib/iomgr/iomgr_posix_cfstream.cc \
+- src/core/lib/iomgr/iomgr_uv.cc \
+- src/core/lib/iomgr/iomgr_windows.cc \
+- src/core/lib/iomgr/is_epollexclusive_available.cc \
+- src/core/lib/iomgr/load_file.cc \
+- src/core/lib/iomgr/lockfree_event.cc \
+- src/core/lib/iomgr/logical_thread.cc \
+- src/core/lib/iomgr/polling_entity.cc \
+- src/core/lib/iomgr/pollset.cc \
+- src/core/lib/iomgr/pollset_custom.cc \
+- src/core/lib/iomgr/pollset_set.cc \
+- src/core/lib/iomgr/pollset_set_custom.cc \
+- src/core/lib/iomgr/pollset_set_windows.cc \
+- src/core/lib/iomgr/pollset_uv.cc \
+- src/core/lib/iomgr/pollset_windows.cc \
+- src/core/lib/iomgr/resolve_address.cc \
+- src/core/lib/iomgr/resolve_address_custom.cc \
+- src/core/lib/iomgr/resolve_address_posix.cc \
+- src/core/lib/iomgr/resolve_address_windows.cc \
+- src/core/lib/iomgr/resource_quota.cc \
+- src/core/lib/iomgr/sockaddr_utils.cc \
+- src/core/lib/iomgr/socket_factory_posix.cc \
+- src/core/lib/iomgr/socket_mutator.cc \
+- src/core/lib/iomgr/socket_utils_common_posix.cc \
+- src/core/lib/iomgr/socket_utils_linux.cc \
+- src/core/lib/iomgr/socket_utils_posix.cc \
+- src/core/lib/iomgr/socket_utils_uv.cc \
+- src/core/lib/iomgr/socket_utils_windows.cc \
+- src/core/lib/iomgr/socket_windows.cc \
+- src/core/lib/iomgr/tcp_client.cc \
+- src/core/lib/iomgr/tcp_client_cfstream.cc \
+- src/core/lib/iomgr/tcp_client_custom.cc \
+- src/core/lib/iomgr/tcp_client_posix.cc \
+- src/core/lib/iomgr/tcp_client_windows.cc \
+- src/core/lib/iomgr/tcp_custom.cc \
+- src/core/lib/iomgr/tcp_posix.cc \
+- src/core/lib/iomgr/tcp_server.cc \
+- src/core/lib/iomgr/tcp_server_custom.cc \
+- src/core/lib/iomgr/tcp_server_posix.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_common.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc \
+- src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc \
+- src/core/lib/iomgr/tcp_server_windows.cc \
+- src/core/lib/iomgr/tcp_uv.cc \
+- src/core/lib/iomgr/tcp_windows.cc \
+- src/core/lib/iomgr/time_averaged_stats.cc \
+- src/core/lib/iomgr/timer.cc \
+- src/core/lib/iomgr/timer_custom.cc \
+- src/core/lib/iomgr/timer_generic.cc \
+- src/core/lib/iomgr/timer_heap.cc \
+- src/core/lib/iomgr/timer_manager.cc \
+- src/core/lib/iomgr/timer_uv.cc \
+- src/core/lib/iomgr/udp_server.cc \
+- src/core/lib/iomgr/unix_sockets_posix.cc \
+- src/core/lib/iomgr/unix_sockets_posix_noop.cc \
+- src/core/lib/iomgr/wakeup_fd_eventfd.cc \
+- src/core/lib/iomgr/wakeup_fd_nospecial.cc \
+- src/core/lib/iomgr/wakeup_fd_pipe.cc \
+- src/core/lib/iomgr/wakeup_fd_posix.cc \
+- src/core/lib/json/json.cc \
+- src/core/lib/json/json_reader.cc \
+- src/core/lib/json/json_string.cc \
+- src/core/lib/json/json_writer.cc \
+- src/core/lib/slice/b64.cc \
+- src/core/lib/slice/percent_encoding.cc \
+- src/core/lib/slice/slice.cc \
+- src/core/lib/slice/slice_buffer.cc \
+- src/core/lib/slice/slice_intern.cc \
+- src/core/lib/slice/slice_string_helpers.cc \
+- src/core/lib/surface/api_trace.cc \
+- src/core/lib/surface/byte_buffer.cc \
+- src/core/lib/surface/byte_buffer_reader.cc \
+- src/core/lib/surface/call.cc \
+- src/core/lib/surface/call_details.cc \
+- src/core/lib/surface/call_log_batch.cc \
+- src/core/lib/surface/channel.cc \
+- src/core/lib/surface/channel_init.cc \
+- src/core/lib/surface/channel_ping.cc \
+- src/core/lib/surface/channel_stack_type.cc \
+- src/core/lib/surface/completion_queue.cc \
+- src/core/lib/surface/completion_queue_factory.cc \
+- src/core/lib/surface/event_string.cc \
+- src/core/lib/surface/lame_client.cc \
+- src/core/lib/surface/metadata_array.cc \
+- src/core/lib/surface/server.cc \
+- src/core/lib/surface/validate_metadata.cc \
+- src/core/lib/surface/version.cc \
+- src/core/lib/transport/bdp_estimator.cc \
+- src/core/lib/transport/byte_stream.cc \
+- src/core/lib/transport/connectivity_state.cc \
+- src/core/lib/transport/error_utils.cc \
+- src/core/lib/transport/metadata.cc \
+- src/core/lib/transport/metadata_batch.cc \
+- src/core/lib/transport/pid_controller.cc \
+- src/core/lib/transport/static_metadata.cc \
+- src/core/lib/transport/status_conversion.cc \
+- src/core/lib/transport/status_metadata.cc \
+- src/core/lib/transport/timeout_encoding.cc \
+- src/core/lib/transport/transport.cc \
+- src/core/lib/transport/transport_op_string.cc \
+- src/core/lib/uri/uri_parser.cc \
+- src/core/lib/debug/trace.cc \
+- src/core/ext/filters/deadline/deadline_filter.cc \
+ src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c \
+- src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c \
+- src/core/ext/upb-generated/gogoproto/gogo.upb.c \
+- src/core/ext/upb-generated/validate/validate.upb.c \
+- src/core/ext/upb-generated/google/api/annotations.upb.c \
+- src/core/ext/upb-generated/google/api/http.upb.c \
+- src/core/ext/upb-generated/google/protobuf/any.upb.c \
+- src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \
+- src/core/ext/upb-generated/google/protobuf/duration.upb.c \
+- src/core/ext/upb-generated/google/protobuf/empty.upb.c \
+- src/core/ext/upb-generated/google/protobuf/struct.upb.c \
+- src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \
+- src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \
+- src/core/ext/upb-generated/google/rpc/status.upb.c \
+ src/cpp/codegen/codegen_init.cc \
+
+ PUBLIC_HEADERS_CXX += \
diff --git a/dev-python/grpcio/files/setup.py-respect-cc.patch b/dev-python/grpcio/files/setup.py-respect-cc.patch
new file mode 100644
index 000000000000..545346e8152e
--- /dev/null
+++ b/dev-python/grpcio/files/setup.py-respect-cc.patch
@@ -0,0 +1,33 @@
+From 0a6c58fc0161e697bbf64b4f3d4ef14b03ac186b Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev <gyakovlev@gentoo.org>
+Date: Sun, 7 Jun 2020 23:35:31 -0700
+Subject: [PATCH] setup.py: respect CC variable in latomic test
+
+some configurations do not provide generic cc binary.
+while rest of the build calls CHOST prefixed binaries,
+this check fails. fix it.
+
+Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
+---
+ setup.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 2379703eb7..0f92270607 100644
+--- a/setup.py
++++ b/setup.py
+@@ -144,9 +144,10 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.get(
+
+ def check_linker_need_libatomic():
+ """Test if linker on system needs libatomic."""
++ cc = os.environ.get('CC', 'cc')
+ code_test = (b'#include <atomic>\n' +
+ b'int main() { return std::atomic<int64_t>{}; }')
+- cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
++ cc_test = subprocess.Popen([cc, '-x', 'c++', '-std=c++11', '-'],
+ stdin=PIPE,
+ stdout=PIPE,
+ stderr=PIPE)
+--
+2.27.0
+
diff --git a/dev-python/grpcio/grpcio-1.26.0-r1.ebuild b/dev-python/grpcio/grpcio-1.26.0-r1.ebuild
new file mode 100644
index 000000000000..268c02d3437e
--- /dev/null
+++ b/dev-python/grpcio/grpcio-1.26.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="High-performance RPC framework (python libraries)"
+HOMEPAGE="https://grpc.io"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-python/cython-0.28.3[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ net-dns/c-ares:=
+ !<net-libs/grpc-1.16.0[python]
+ sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/grpc-1.26-fix-odr-violation.patch" )
+
+python_configure_all() {
+ export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1
+ 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
+ export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
+}
diff --git a/dev-python/grpcio/grpcio-1.28.1.ebuild b/dev-python/grpcio/grpcio-1.28.1.ebuild
new file mode 100644
index 000000000000..52d65ba9345c
--- /dev/null
+++ b/dev-python/grpcio/grpcio-1.28.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="High-performance RPC framework (python libraries)"
+HOMEPAGE="https://grpc.io"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=dev-libs/openssl-1.0.2:0=[-bindist]
+ >=dev-python/cython-0.28.3[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ net-dns/c-ares:=
+ sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/setup.py-respect-cc.patch" )
+
+python_configure_all() {
+ export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1
+ 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
+ export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
+}
diff --git a/dev-python/grpcio/metadata.xml b/dev-python/grpcio/metadata.xml
new file mode 100644
index 000000000000..30f172f0e50d
--- /dev/null
+++ b/dev-python/grpcio/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">grpc/grpc</remote-id>
+ <remote-id type="pypi">grpcio</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>