From nobody Sun Dec 12 06:55:37 2021 X-Original-To: dev-commits-ports-all@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 82CFE18E2764; Sun, 12 Dec 2021 06:55:38 +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 4JBb4p1mWXz3Db7; Sun, 12 Dec 2021 06:55:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 196E51CC72; Sun, 12 Dec 2021 06:55:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BC6tbCo058912; Sun, 12 Dec 2021 06:55:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BC6tbpw058911; Sun, 12 Dec 2021 06:55:37 GMT (envelope-from git) Date: Sun, 12 Dec 2021 06:55:37 GMT Message-Id: <202112120655.1BC6tbpw058911@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: 066bf46c62fc - main - devel/py-grpcio: fix build with newer python. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 066bf46c62fce1e04b09d38e309423775538e212 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639292138; 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=G/bKYg2vehzlKUXQwYseul+aHWoXiCE0CqGSoMtDyiE=; b=yFFJli1Z3p3fw8OCE/2KIz2ulOyp5D7D+FnNWh688vDuGHlOu70Rwu5jqUuCkFD2IqU+nF sDhZHXO9zSW5oVDXcoYi8wcU3qX054Cvv3ZC8YFIdv2lhg72YqhzCv0n6tEEsYlFR3WW8/ Xyj2qpoblOpAgE0ZA78ietkxb0eUyQ+DRw69fILz+Kfacin9ICJUdewgyXkrdu7sY3cWeg c7YpC4GpS7rT+okFIdzShl9xo+QULjvQRqDVPAnDChJvFC5/6t8Jl/dp4atzpYGngw+b1L GnFDdIshqDe+A4QLCpg94LFJLypzgNt5YfZZ+lDWoNbyYMAWk4ysaU89zKvHFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639292138; a=rsa-sha256; cv=none; b=Sr9v4uDQC6ze+Bcw3g2j3IdWEebtXMUyrr6o9gjyxp5ij/QNV7I0qelt5vOhiumRI0F1ll /B0DbrssqszkQvxUH8TKPYbNlKi+6HtO689RyMBXWU9amb0y9y9YE5HWa048SsKfznV544 aM5mWSubBaAh/pTcJxlGL9M3pjArq9adLgiOG8eUI4CT4dTZg6Z4tsS57B4mBIC0ukWEOy WU1lHJnMKQtebV36jpLEpDi5KU+WFSVshasnZB60Myh+Xf4cWZhrI3dDYKXOqmlN8R5DRC r9lqMQ0YhtFl30UC0LWVltV0c9H4dAWFPN0z2xLVtS+R0LTlMv8UeD7MHvdAQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=066bf46c62fce1e04b09d38e309423775538e212 commit 066bf46c62fce1e04b09d38e309423775538e212 Author: Vanilla I. Shu AuthorDate: 2021-12-12 06:53:38 +0000 Commit: Vanilla I. Shu CommitDate: 2021-12-12 06:53:38 +0000 devel/py-grpcio: fix build with newer python. PR: 260316 Reported by: amdmi3@ --- devel/py-grpcio/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devel/py-grpcio/Makefile b/devel/py-grpcio/Makefile index d520cc2faba8..09ef72b7124b 100644 --- a/devel/py-grpcio/Makefile +++ b/devel/py-grpcio/Makefile @@ -16,12 +16,15 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf@${PY_FLAVOR} \ LIB_DEPENDS= libcares.so:dns/c-ares USES= compiler:c++11-lib localbase:ldflags python:3.6+ ssl -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist cython distutils MAKE_ENV+= GRPC_PYTHON_BUILD_SYSTEM_CARES=true \ GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true \ GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true LDFLAGS+= -lcares +post-patch: + @${RM} ${WRKSRC}/src/python/grpcio/grpc/_cython/cygrpc.cpp + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc*.so ${REINPLACE_CMD} -e 's|${PYTHONPREFIX_SITELIBDIR}/\(.*\)/grpcio/grpc/_cython/cygrpc${PYTHON_EXT_SUFFIX}.so|${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc${PYTHON_EXT_SUFFIX}.so|g' ${_PYTHONPKGLIST}