diff options
| -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"], |
