diff options
Diffstat (limited to 'databases/py-mysql-connector-python')
-rw-r--r-- | databases/py-mysql-connector-python/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile index e43ca96ce265..78994f8eeff5 100644 --- a/databases/py-mysql-connector-python/Makefile +++ b/databases/py-mysql-connector-python/Makefile @@ -2,7 +2,7 @@ PORTNAME= mysql-connector-python PORTVERSION= 8.0.19 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases python MASTER_SITES= MYSQL/Connector-Python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +12,8 @@ COMMENT= MySQL driver written in Python LICENSE= GPLv2 -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.1:devel/py-protobuf@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils @@ -23,4 +23,8 @@ NO_ARCH= yes PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed} +post-patch: + ${REINPLACE_CMD} -e 's|protobuf==|protobuf>=|; s|dnspython==|dnspython>=|' \ + ${WRKSRC}/setupinfo.py + .include <bsd.port.post.mk> |