freebsd-ports/www/py-httptools/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

26 lines
602 B
Makefile

PORTNAME= httptools
PORTVERSION= 0.5.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Collection of framework independent HTTP protocol utils
WWW= https://github.com/MagicStack/httptools
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libhttp_parser.so:www/http-parser
USES= localbase python:3.5+
USE_PYTHON= autoplist concurrent distutils
post-patch:
@${RM} -r ${WRKSRC}/vendor/http-parser/
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>