From nobody Tue Sep 05 04:56:31 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 4RftWh0xRfz4sBsW; Tue, 5 Sep 2023 04:56:32 +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 4RftWh0W3Gz3BpH; Tue, 5 Sep 2023 04:56:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693889792; 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=qRy80k8Fs3wGx7iZoCLAvOcJl5FB/6TCVFy6FNb55hc=; b=G+F+10BRHERKt8HZwklKARSShoePUFK30Oi+hA5A+KH3C9pd6jIwsU7iHfKTRg1iDCJWmr 63ZS0IU3+GJBI3f0nj1lLPCSyI+sXTB5aZZ2QSVUkA5B4O1Hd02xOarNptoEpSZ37mfTvm T2DpTmdp+in2MU5ONZN1h/RWAlhnvSAPp6bvmzI51xznEz349CMR+CebCaU2edODJNcIY0 il/oNiyRMvcFeEPCDWvdMtoI5/Ph9BbJVnZyCU1819B6XjVq/xNxr0oV+ET+Mb3MxYzcEO YQ4sIzboVfPflM6mbOxlD7nVT2JM1w7ZL/wyTqgJpS77cYsndGvMglgpMrRRKA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693889792; a=rsa-sha256; cv=none; b=B+8KhEEBId1AoSrirZeXMrp4dpn8sFDy86nOAc4tw2tMevWrtTOiE9My8Nl21rhSXrIGCQ aljPbmKSiba2xJRBWAU2P8iThvtzwwC0iQsrT+YIA53US3aj2q9IGvXksBgq/MIjsUdyDM i7EoG3XK4fqDOEs4zFrWibpY1PkqWI+xBUyTKxrOveKU0HuDhfhO+mZwdvtLC0wx9dqB+6 HPFifxQaFc7SPiIBol7dt3FGZE1TyoDNbzIGtBlhsDrnME5Ba4f0WNYCof+SX1XHIpiFqB lnWGBc1LBqSRRay7w5oM2iCvuUJCoua3oBnATKa+1kkeYvjSaDvalnh61dyTnw== 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=1693889792; 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=qRy80k8Fs3wGx7iZoCLAvOcJl5FB/6TCVFy6FNb55hc=; b=CkqvesGRZ+Z0BTWozdK1e+tw7XdY38pSVqL5lyX5Vcc+spbVxMe3CTHkvN2Lktpr/7E2Rc PNwkLSEfpSBey+Kt59ri8u/5HnFzPwwmkNRJ8eR1gEcX6+IRsgoFdH5OavI+5SIKpLmNb5 03OjmhaV/BQHMULJQNhXcwcuRsF7ggFb5CE4lYhfqNq8GqcO/EW8higiVNK/PU4O1467Ob dzO63c9VChxOYSVP2WbAdE2c39SvUVpxDewzEjkj+DWmtc6x0UlYfSBHMKN3/E0HF/niZ+ tHd5JdhLkqSl0xMApQLEaeM7JD87st+Z14VDCdq9G1DW4ncgZ/Pq1bX11cLbMg== 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 4RftWg6RnBz4wr; Tue, 5 Sep 2023 04:56:31 +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 3854uVvZ032617; Tue, 5 Sep 2023 04:56:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3854uVrN032614; Tue, 5 Sep 2023 04:56:31 GMT (envelope-from git) Date: Tue, 5 Sep 2023 04:56:31 GMT Message-Id: <202309050456.3854uVrN032614@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 39ca6f0f2af0 - main - databases/py-mysql-connector-python: Runtime fix with newer protobuf 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39ca6f0f2af097b21300f4f20c35a80f9716035a Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=39ca6f0f2af097b21300f4f20c35a80f9716035a commit 39ca6f0f2af097b21300f4f20c35a80f9716035a Author: Muhammad Moinur Rahman AuthorDate: 2023-09-05 04:55:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-09-05 04:56:13 +0000 databases/py-mysql-connector-python: Runtime fix with newer protobuf PR: 273309 Reported by: dvl --- databases/py-mysql-connector-python/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile index 9972791452ca..832730f53c7c 100644 --- a/databases/py-mysql-connector-python/Makefile +++ b/databases/py-mysql-connector-python/Makefile @@ -1,5 +1,6 @@ PORTNAME= mysql-connector-python PORTVERSION= 8.1.0 +PORTREVISION= 1 CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +12,7 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.11.0:devel/py-protobuf@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.1:devel/py-protobuf@${PY_FLAVOR} USES= python USE_GITHUB= yes @@ -36,6 +37,8 @@ post-patch: @${REINPLACE_CMD} -e 's|"gcc"|"${CC}"|g ; \ s|"g++"|"${CXX}"|g' \ ${WRKSRC}/cpydist/__init__.py + @${REINPLACE_CMD} -e 's|protobuf>=4.21.1,<=4.21.12|protobuf>=4.21.1|g' \ + ${WRKSRC}/setup.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./unittests.py)