diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-01-17 13:41:04 -0600 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-01-17 13:43:02 -0600 |
| commit | 5bf1a9a40747ea2cf2939f50c2ab13e89e8a21d2 (patch) | |
| tree | 1e978c6c145446b2cc0fabb00a42f8e95fc55817 /databases/py-mysql-connector-python | |
| parent | c67bef93fed608f8fa3a6772e7331faf24feaf4e (diff) | |
databases/py-mysql-connector-python: Runtime fix
PR: 269014
Reported by: dvl
MFH: 2023Q1
Diffstat (limited to 'databases/py-mysql-connector-python')
| -rw-r--r-- | databases/py-mysql-connector-python/Makefile | 3 | ||||
| -rw-r--r-- | databases/py-mysql-connector-python/files/patch-setup.py | 11 |
2 files changed, 13 insertions, 1 deletions
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"], |
