Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

24 lines
578 B
Makefile

PORTNAME= html5-parser
PORTVERSION= 0.4.12
PORTREVISION= 1
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>