aboutsummaryrefslogtreecommitdiff
path: root/databases/py-mysql-connector-python
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-mysql-connector-python')
-rw-r--r--databases/py-mysql-connector-python/Makefile7
-rw-r--r--databases/py-mysql-connector-python/distinfo6
2 files changed, 6 insertions, 7 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)
diff --git a/databases/py-mysql-connector-python/distinfo b/databases/py-mysql-connector-python/distinfo
index 9e14729b57a9..b89b6d0a4360 100644
--- a/databases/py-mysql-connector-python/distinfo
+++ b/databases/py-mysql-connector-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698407657
-SHA256 (mysql-mysql-connector-python-8.2.0_GH0.tar.gz) = 29a7cb0b24a4f5ccda597c211254db8377493e95e36ca4ee05b15dba6e9c6e78
-SIZE (mysql-mysql-connector-python-8.2.0_GH0.tar.gz) = 15137061
+TIMESTAMP = 1759311129
+SHA256 (mysql-mysql-connector-python-9.4.0_GH0.tar.gz) = 2e56eb87b5c10d79ac34d1e8a0b9b09f9a8feb25af71cdbb0406814decc2d3af
+SIZE (mysql-mysql-connector-python-9.4.0_GH0.tar.gz) = 15966524