mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 11:36:40 -04:00
22 lines
562 B
Makefile
22 lines
562 B
Makefile
PORTNAME= html5-parser
|
|
PORTVERSION= 0.4.12
|
|
CATEGORIES= www python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Fast implementation of the HTML 5 parsing spec for Python
|
|
WWW= https://html5-parser.readthedocs.io/
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.9.2:devel/py-lxml@${PY_FLAVOR}
|
|
|
|
USES= gnome pkgconfig python
|
|
USE_PYTHON= autoplist distutils
|
|
USE_GNOME= libxml2
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/html5_parser/html_parser*.so
|
|
|
|
.include <bsd.port.mk>
|