8a9cb53cf6
They now have a tool dependency on py-setuptools instead of a DEPENDS
23 lines
669 B
Makefile
23 lines
669 B
Makefile
# $NetBSD: Makefile,v 1.8 2022/01/04 20:52:43 wiz Exp $
|
|
|
|
DISTNAME= mysqlclient-1.4.6
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/}
|
|
|
|
MAINTAINER= wiedi@frubar.net
|
|
HOMEPAGE= https://github.com/PyMySQL/mysqlclient-python
|
|
COMMENT= MySQL database connector for Python
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
# testing requires a running MySQL server
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|