diff options
Diffstat (limited to 'databases/py-mysql-connector-python')
| -rw-r--r-- | databases/py-mysql-connector-python/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
