cf118ccf87
Reported by: lwhsu
26 lines
696 B
Makefile
26 lines
696 B
Makefile
PORTNAME= mysql-connector-python
|
|
PORTVERSION= 8.0.23
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= MYSQL/Connector-Python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
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}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./unittests.py)
|
|
|
|
.include <bsd.port.post.mk>
|