Currently a no-op, but in the future outputs the correct setuptools port depending on whether USES_PYTHON=distutils is specified. With hat: python PR: 270510, 270358
26 lines
639 B
Makefile
26 lines
639 B
Makefile
PORTNAME= asyncmy
|
|
PORTVERSION= 0.2.8
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Fast asyncio MySQL driver
|
|
WWW= https://github.com/long2ice/asyncmy
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} \
|
|
${PY_SETUPTOOLS}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent cython pep517
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/build.py ${WRKSRC}/build_cython.py
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|