From nobody Fri Sep 8 14:56:16 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RhzhJ2ZM4z4sFyx; Fri, 8 Sep 2023 14:56:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RhzhJ23jhz3SH3; Fri, 8 Sep 2023 14:56:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694184976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4E94f3Us47Ju0iQe9Z9QVvsTV3CQGGMNf5NcbZGvqPs=; b=emACyIupLIVO17EwWxVWKhjmqYXlLwxEfxyyFf4+yy0LntEippPUNjCVZn29MyqHMbWDgG RV79RWaPxLuo0fZHaHSv+f9v7vAKGuoTsZLTWp+4fOfQFM0+I8zFP6fmR0hlwMAa7740Vk gQ+QEgoPSmHvM2x83eF0hcV6pYbH0ExqlvIyp2Y7xJNlm/gwqVFU8CJLTtPeVK60ZUqprz MFiUMBtzb9XsVyRSvr7mDyo1LZx00rOhez7qYT57r4mw2TziSLk7x0n1PKLKJyt6SSgLk+ kSlnOQC2NqsIDMQ6j3/D5K01WSBQ1YIqQRGwdnmaElxPD2nmrM8BHVYu7V3Z7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694184976; a=rsa-sha256; cv=none; b=MrMaHjFyUXrWS1GM5BnIAU1DlJqB3Q9wTgiHCYS4OX+TjLE4nLR3HFGfXC0YdRaPopwZML urFsXH1JjGTGmSeNyz3ERjNpGltb23zXCBoC/yZnwZFPBMsrnvIfnVHaOpVHV3VUVp3Wob 6cyBp8sWpVsfIt0Nc34axqMOC8R8HoQnqrh19dgB1ISXM/fTuZBZcJ15ooA2xwwq2X3SDG HGpRGeR4ixZ0bG3iFTq8VYCddHr/6S1poJIMdGPmzaGT5TWaP3L3so+Nd7Msy80KrUmhGw DrBHdSAUwndo4xC+VaZXwtiVdThHzDNm8NDKUEQNyCVHrexLHw7kqXMv/p2zvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694184976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4E94f3Us47Ju0iQe9Z9QVvsTV3CQGGMNf5NcbZGvqPs=; b=EX4u+rWWb9TvU8LTnl266LwIRxuFFr9eYN6BNVSvW35Qq2WTb2rZwN5mpx4elgQHQMj2ef d5CQg4VuCHfjPrj+nqOx10WZ21GhorVYoPuc+0yu+qQCXK6+6tb7zYWw8dDiaNPJjfdLsE 1sTS/DXv1//E55cb13K9njllZHXrPTuSsd1DApvI7KS4d8r70uoQ28yfCAVSJmDaSU2qkv HYXAxptxyHJD58k33bwcwlhtDQ91m+OENYlWu4/Kaa8GufG34Jn9oLbd6yuAW83MZ384lT vIUQw7UxUspFjLGhN4fpVagpocOgstPeZ+8+tCu5bZscAnOnstxqr3pFt5bNqQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RhzhJ0wzSzmh9; Fri, 8 Sep 2023 14:56:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 388EuGlu009671; Fri, 8 Sep 2023 14:56:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 388EuGbU009668; Fri, 8 Sep 2023 14:56:16 GMT (envelope-from git) Date: Fri, 8 Sep 2023 14:56:16 GMT Message-Id: <202309081456.388EuGbU009668@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: 44d2eabe98eb - main - devel/py-grpcio: update to 1.58.0. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44d2eabe98eb49443293633da4dd5e514082eb01 Auto-Submitted: auto-generated The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=44d2eabe98eb49443293633da4dd5e514082eb01 commit 44d2eabe98eb49443293633da4dd5e514082eb01 Author: Vanilla I. Shu AuthorDate: 2023-09-08 14:55:23 +0000 Commit: Vanilla I. Shu CommitDate: 2023-09-08 14:56:07 +0000 devel/py-grpcio: update to 1.58.0. --- devel/py-grpcio/Makefile | 2 +- devel/py-grpcio/distinfo | 6 ++-- ..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 33 ++++++++++++++++++++++ ...sl_time_internal_cctz_src_time__zone__format.cc | 11 ++++++++ ...boringssl-with-bazel_src_include_openssl_base.h | 4 +-- 5 files changed, 50 insertions(+), 6 deletions(-) diff --git a/devel/py-grpcio/Makefile b/devel/py-grpcio/Makefile index 15a6fb43573c..b3917063242b 100644 --- a/devel/py-grpcio/Makefile +++ b/devel/py-grpcio/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpcio -PORTVERSION= 1.57.0 +PORTVERSION= 1.58.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-grpcio/distinfo b/devel/py-grpcio/distinfo index bc0509ce86f1..5cc057cd744b 100644 --- a/devel/py-grpcio/distinfo +++ b/devel/py-grpcio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1691904681 -SHA256 (grpcio-1.57.0.tar.gz) = 4b089f7ad1eb00a104078bab8015b0ed0ebcb3b589e527ab009c53893fd4e613 -SIZE (grpcio-1.57.0.tar.gz) = 24737546 +TIMESTAMP = 1694182572 +SHA256 (grpcio-1.58.0.tar.gz) = 532410c51ccd851b706d1fbc00a87be0f5312bd6f8e5dbf89d4e99c7f79d7499 +SIZE (grpcio-1.58.0.tar.gz) = 24784339 diff --git a/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc b/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc new file mode 100644 index 000000000000..1eb995321143 --- /dev/null +++ b/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc @@ -0,0 +1,33 @@ +--- third_party/abseil-cpp/absl/base/internal/sysinfo.cc.orig 2023-09-08 14:23:50 UTC ++++ third_party/abseil-cpp/absl/base/internal/sysinfo.cc +@@ -34,6 +34,10 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #if defined(__myriad2__) + #include + #endif +@@ -421,14 +425,18 @@ pid_t GetTID() { + return tid; + } + +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__FreeBSD__) + + pid_t GetTID() { + uint64_t tid; + // `nullptr` here implies this thread. This only fails if the specified + // thread is invalid or the pointer-to-tid is null, so we needn't worry about + // it. ++#if __FreeBSD__ ++ tid = pthread_getthreadid_np(); ++#else + pthread_threadid_np(nullptr, &tid); ++#endif + return static_cast(tid); + } + diff --git a/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc b/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc new file mode 100644 index 000000000000..e104a9b365cd --- /dev/null +++ b/devel/py-grpcio/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc @@ -0,0 +1,11 @@ +--- third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc.orig 2023-09-08 14:26:05 UTC ++++ third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +@@ -19,7 +19,7 @@ + #endif + + #if defined(HAS_STRPTIME) && HAS_STRPTIME +-#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) ++#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) && !defined(__FreeBSD__) + #define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98). + #endif + #endif diff --git a/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h b/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h index c500bed72df1..94e724e94c7e 100644 --- a/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h +++ b/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h @@ -1,6 +1,6 @@ ---- third_party/boringssl-with-bazel/src/include/openssl/base.h.orig 2022-05-03 21:27:37 UTC +--- third_party/boringssl-with-bazel/src/include/openssl/base.h.orig 2023-09-06 01:32:08 UTC +++ third_party/boringssl-with-bazel/src/include/openssl/base.h -@@ -483,9 +483,6 @@ typedef void *OPENSSL_BLOCK; +@@ -413,9 +413,6 @@ typedef void *OPENSSL_BLOCK; // MSVC doesn't set __cplusplus to 201103 to indicate C++11 support (see // https://connect.microsoft.com/VisualStudio/feedback/details/763051/a-value-of-predefined-macro-cplusplus-is-still-199711l) // so MSVC is just assumed to support C++11.