diff options
Diffstat (limited to 'databases/py-mysql-connector-python/Makefile')
-rw-r--r-- | databases/py-mysql-connector-python/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile index 1fbc84c1a376..d94a249cf2c2 100644 --- a/databases/py-mysql-connector-python/Makefile +++ b/databases/py-mysql-connector-python/Makefile @@ -1,5 +1,5 @@ PORTNAME= mysql-connector-python -PORTVERSION= 8.2.0 +DISTVERSION= 9.4.0 CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,6 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.1:devel/py-protobuf@${PY_FLAVOR} USES= python USE_GITHUB= yes @@ -22,6 +21,8 @@ NO_ARCH= yes PORTSCOUT= skipv:init +WRKSRC_SUBDIR= ${PORTNAME} + OPTIONS_DEFINE= COMPRESSION DNS GSSAPI COMPRESSION_DESC= Compression Support @@ -36,8 +37,6 @@ 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) |