mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 11:36:40 -04:00
What's Changed: 2.2.2: Support MySQL 8.3: conn.kill() and conn.shutdown() are deprecated. use ruff for formatter doc: add link to README 2.2.3: fix Connection.kill() broken since 2.2.2 2.2.4: Support ssl=True
30 lines
744 B
Makefile
30 lines
744 B
Makefile
PORTNAME= mysqlclient
|
|
DISTVERSION= 2.2.4
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= MySQL database connector for Python
|
|
WWW= https://pypi.org/project/mysqlclient
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0.37:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= compiler:c11 dos2unix iconv mysql pkgconfig python ssl
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
PORTDOCS= *
|
|
|
|
CONFLICTS= py*-MySQLdb py*-MySQLdb5[0-9] py*-MySQLdb
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|