summaryrefslogtreecommitdiff
path: root/databases/py-mysql-connector-python
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-01-20 04:40:46 -0600
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-01-20 04:42:32 -0600
commitd9d7b63f6d6d9a1c3d75512180b640cca4e5daae (patch)
tree770de042d4f293e6c663a4653d829674d30c191c /databases/py-mysql-connector-python
parentemulators/yuzu: update package description (diff)
databases/py-mysql-connector-python: Update version 8.0.27=>8.0.28
- Add OPTIONS:DNS COMPRESSION GSSAPI Relnotes: https://github.com/mysql/mysql-connector-python/releases/tag/8.0.28
Diffstat (limited to 'databases/py-mysql-connector-python')
-rw-r--r--databases/py-mysql-connector-python/Makefile21
-rw-r--r--databases/py-mysql-connector-python/distinfo6
2 files changed, 19 insertions, 8 deletions
diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile
index 46a241418b79..ac65a0b845e6 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.0.27
+PORTVERSION= 8.0.28
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -8,16 +8,27 @@ COMMENT= MySQL driver written in Python
LICENSE= GPLv2
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.1:devel/py-protobuf@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0.0:devel/py-protobuf@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes
-USE_PYTHON= autoplist distutils
-
GH_ACCOUNT= mysql
+USE_PYTHON= autoplist distutils
NO_ARCH= yes
+
+PORTSCOUT= skipv:init
+
+OPTIONS_DEFINE= COMPRESSION DNS GSSAPI
+
+COMPRESSION_DESC= Compression Support
+DNS_DESC= DNS Support
+
+COMPRESSION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lz4>2.1.6:archivers/py-lz4@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zstandard>0.12.0:archivers/py-zstandard@${PY_FLAVOR}
+DNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython2>=1.16.0:dns/py-dnspython2@${PY_FLAVOR}
+GSSAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>1.6.14:security/py-gssapi@${PY_FLAVOR}
+
.include <bsd.port.pre.mk>
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
diff --git a/databases/py-mysql-connector-python/distinfo b/databases/py-mysql-connector-python/distinfo
index bda0976bdaf8..8a7fa98a7aef 100644
--- a/databases/py-mysql-connector-python/distinfo
+++ b/databases/py-mysql-connector-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635536295
-SHA256 (mysql-mysql-connector-python-8.0.27_GH0.tar.gz) = 4779bc931751148ebe1b734291f8c25ba4ebc63e79ac4eeb8a07351a91f8e438
-SIZE (mysql-mysql-connector-python-8.0.27_GH0.tar.gz) = 15202354
+TIMESTAMP = 1642674443
+SHA256 (mysql-mysql-connector-python-8.0.28_GH0.tar.gz) = 07875a40e218b435d775bc2278b7076bf750f7e986a710363f4d24163e037d86
+SIZE (mysql-mysql-connector-python-8.0.28_GH0.tar.gz) = 15209508