git: 5bf1a9a40747 - main - databases/py-mysql-connector-python: Runtime fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Jan 2023 19:43:22 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5bf1a9a40747ea2cf2939f50c2ab13e89e8a21d2 commit 5bf1a9a40747ea2cf2939f50c2ab13e89e8a21d2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-01-17 19:41:04 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-01-17 19:43:02 +0000 databases/py-mysql-connector-python: Runtime fix PR: 269014 Reported by: dvl MFH: 2023Q1 --- databases/py-mysql-connector-python/Makefile | 3 ++- databases/py-mysql-connector-python/files/patch-setup.py | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile index 14b560f3fceb..425bc92cda68 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.0.31 +PORTREVISION= 1 CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,7 +10,7 @@ WWW= https://dev.mysql.com/doc/connector-python/en LICENSE= GPLv2 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0.0:devel/py-protobuf@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.11.0:devel/py-protobuf@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes diff --git a/databases/py-mysql-connector-python/files/patch-setup.py b/databases/py-mysql-connector-python/files/patch-setup.py new file mode 100644 index 000000000000..eed82ebcacff --- /dev/null +++ b/databases/py-mysql-connector-python/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-01-17 19:32:28 UTC ++++ setup.py +@@ -139,7 +139,7 @@ setup( + ], + ext_modules=EXTENSIONS, + cmdclass=COMMAND_CLASSES, +- install_requires=["protobuf>=3.11.0,<=3.20.1"], ++ install_requires=["protobuf>=3.11.0"], + extras_require={ + "dns-srv": ["dnspython>=1.16.0,<=2.1.0"], + "compression": ["lz4>=2.1.6,<=3.1.3", "zstandard>=0.12.0,<=0.15.2"],