Date: Wed, 18 Mar 2020 18:58:59 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528663 - head/databases/py-mysql-connector-python Message-ID: <202003181858.02IIwx7m033709@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Wed Mar 18 18:58:59 2020 New Revision: 528663 URL: https://svnweb.freebsd.org/changeset/ports/528663 Log: databases/py-mysql-connector-python: Fix runtime dependency Reported by: koobs Approved by: ports-secteam (blanket: missing dependencies, run time bugfix) MFH: 2020Q1 Modified: head/databases/py-mysql-connector-python/Makefile Modified: head/databases/py-mysql-connector-python/Makefile ============================================================================== --- head/databases/py-mysql-connector-python/Makefile Wed Mar 18 18:54:45 2020 (r528662) +++ head/databases/py-mysql-connector-python/Makefile Wed Mar 18 18:58:59 2020 (r528663) @@ -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 @@ -22,5 +22,9 @@ NO_ARCH= yes .include <bsd.port.pre.mk> 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003181858.02IIwx7m033709>