From nobody Fri Sep 8 14:56:17 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 4RhzhK3LwDz4sFpg; Fri, 8 Sep 2023 14:56:17 +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 4RhzhK2tfdz3SXc; Fri, 8 Sep 2023 14:56:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694184977; 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=2TqjaN7AzlH1ydorvTUBa+P5VGZb8j3tIVS6BEtj8I8=; b=iuvTgedV7dU7i7ohL/rdoUu3sdK65xa3h5l2yNGkiMjcUluFlnwcSzQdpd25hsGlT/fvRj /WDObPqEIfnE8XdS5gifp43I5B163bX58rgfNtkbR3HbxT5Q0iE2aIBdln14NMFDDm1EcD gFDpWjUwTG7fkFUNTYEmmLXz/kV7aHZBuKLfufqs9Mgct0nlN7cGuGrxWhJkarLm/vQVEZ xyqrLXcC5hWx46gk/H1AkYZp+0IrtXcQJwaEDmcpA9SSwM4qQvu3bXgZSRJEJ/rK8BzEPB ZQrWTlPsk6HC5Jby4kYKuPYeMGME1s+OUFUKcXLjWq/J5ljWCJ16SGIcNMjSow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694184977; a=rsa-sha256; cv=none; b=V0M5axiBnk1sKfsz0RKOainht/CGKp+1ydtmJ80zf7kJjVBm2mpmnIxCfMPglhYauguSUM 5cNg5iZCBMul+leLxEDNrRTy24TR6abSJbyGjzXpmHYoaNl0HMdQJgoSRFaKnYw1gZcpdF YCgMcESS6i10vYwEpGxvk4yb4QgQhN5/quriIHXmYq9sGGfWs97WeMNhJQzBP0+fvAUQS6 Bj9b1zcXdhLmjmwDYo82np93b5zNJFEkv/+OqIE+LJi1Jz5Sj4TTKBaD/G5tzZbSDjDwMu LxV8Cwa538HCBLEzuuliuFAd5oC7tzzHW6YvqgasT1a7qzi7IMYaYrNV1n7gKA== 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=1694184977; 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=2TqjaN7AzlH1ydorvTUBa+P5VGZb8j3tIVS6BEtj8I8=; b=TmVL9m+wVkXGJmVYiHzL88xm+j2CCK1pFdvKpUTIc1M9iseQ3uLqms7OtscYaZjsyQfP5K c0bAt+W7X3Q6ZSRuQmPyxc1SgJ/G/cVZ2AuezI3eb03yP4N8uQWfF68X0iC21w1yz/cKqw wEZThqAp3v6CJo+sXZfQI1SBXFTD4HztndFoTznLokZgAi8YNMbEdimZVdtWGrdCX2712A PTnckQOoSevPlvN7eUK8rGRyaGJXilvPeiJB8rnI2U+/wmCabLfBXCQ2W+9yRICR4J+Yni ClLZCzbwYG5JPowrFwiSJFFGd/gyd0z6FECy6eIkjlSDKmU2CpJBLFX6u7CJrw== 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 4RhzhK1v6XzmNV; Fri, 8 Sep 2023 14:56:17 +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 388EuHKj009720; Fri, 8 Sep 2023 14:56:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 388EuHUP009717; Fri, 8 Sep 2023 14:56:17 GMT (envelope-from git) Date: Fri, 8 Sep 2023 14:56:17 GMT Message-Id: <202309081456.388EuHUP009717@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: d3ad36d1d185 - main - devel/py-grpcio-tools: 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: d3ad36d1d18566184fc1830f506d821da83e739d Auto-Submitted: auto-generated The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=d3ad36d1d18566184fc1830f506d821da83e739d commit d3ad36d1d18566184fc1830f506d821da83e739d Author: Vanilla I. Shu AuthorDate: 2023-09-08 14:55:49 +0000 Commit: Vanilla I. Shu CommitDate: 2023-09-08 14:56:08 +0000 devel/py-grpcio-tools: update to 1.58.0. --- devel/py-grpcio-tools/Makefile | 2 +- devel/py-grpcio-tools/distinfo | 6 ++-- ..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 33 ++++++++++++++++++++++ ...sl_time_internal_cctz_src_time__zone__format.cc | 11 ++++++++ 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile index a3dea494dd9e..167294c7a3cf 100644 --- a/devel/py-grpcio-tools/Makefile +++ b/devel/py-grpcio-tools/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpcio-tools -PORTVERSION= 1.57.0 +PORTVERSION= 1.58.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-grpcio-tools/distinfo b/devel/py-grpcio-tools/distinfo index 5528daa91d35..b0b135442294 100644 --- a/devel/py-grpcio-tools/distinfo +++ b/devel/py-grpcio-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1691904958 -SHA256 (grpcio-tools-1.57.0.tar.gz) = 2f16130d869ce27ecd623194547b649dd657333ec7e8644cc571c645781a9b85 -SIZE (grpcio-tools-1.57.0.tar.gz) = 4488020 +TIMESTAMP = 1694183393 +SHA256 (grpcio-tools-1.58.0.tar.gz) = 6f4d80ceb591e31ca4dceec747dbe56132e1392a0a9bb1c8fe001d1b5cac898a +SIZE (grpcio-tools-1.58.0.tar.gz) = 4525422 diff --git a/devel/py-grpcio-tools/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc b/devel/py-grpcio-tools/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc new file mode 100644 index 000000000000..1eb995321143 --- /dev/null +++ b/devel/py-grpcio-tools/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-tools/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc b/devel/py-grpcio-tools/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-tools/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