freebsd-ports/www/py-html5-parser/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

23 lines
542 B
Makefile

# $FreeBSD$
PORTNAME= html5-parser
PORTVERSION= 0.4.9
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Fast implementation of the HTML 5 parsing spec for Python
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.8.0:devel/py-lxml@${PY_FLAVOR}
USES= gnome pkgconfig python:3.6+
USE_PYTHON= autoplist distutils
USE_GNOME= libxml2
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/html5_parser/html_parser*.so
.include <bsd.port.mk>