1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/www/py-http-parser/Makefile
Ruslan Makhmatkhanov 3d175496a1 www/py-http-parser: fix build
cython dependency not available at post-patch stage. Use post-configure instead
2024-06-07 13:46:14 +03:00

24 lines
529 B
Makefile

PORTNAME= http-parser
DISTVERSION= 0.9.0
CATEGORIES= www
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= HTTP request/response parser for python in C
WWW= https://github.com/benoitc/http-parser/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist cython distutils
post-configure:
cython-${PYTHON_VER} ${WRKSRC}/http_parser/parser.pyx
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so
.include <bsd.port.mk>