ports/www/py-html5rdf/Makefile
Po-Chuan Hsieh f76a2c95f2
www/py-html5rdf: Add py-html5rdf 1.2
html5rdf is a pure-python library for parsing HTML to DOMFragment objects for
the use in RDFLib. html5rdf is a fork of html5lib-modern.

It is designed to conform to the WHATWG HTML specification, as is implemented by
all major web browsers.

htm5lib-modern is designed as a drop-in replacement for html5lib that exposes a
new html5lib module without Python 2 support and without the legacy dependencies
on six, and webencodings.
2024-10-30 20:10:46 +08:00

23 lines
540 B
Makefile

PORTNAME= html5rdf
PORTVERSION= 1.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= HTML parser based on the WHATWG HTML specification
WWW= https://github.com/RDFLib/html5rdf
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>