git: 01145d62113e - main - www/py-html5lib-modern: Add py-html5lib-modern 1.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Oct 2024 19:06:15 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=01145d62113ecb1f569465d49de8eeb1e30d62f0
commit 01145d62113ecb1f569465d49de8eeb1e30d62f0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 18:59:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 18:59:39 +0000
www/py-html5lib-modern: Add py-html5lib-modern 1.2
html5lib is a pure-python library for parsing HTML. It is designed to conform to
the WHATWG HTML specification, as is implemented by all major web browsers.
---
www/Makefile | 1 +
www/py-html5lib-modern/Makefile | 23 +++++++++++++++++++++++
www/py-html5lib-modern/distinfo | 3 +++
www/py-html5lib-modern/pkg-descr | 2 ++
4 files changed, 29 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index cebb864501f5..d6ac12ffc4aa 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1727,6 +1727,7 @@
SUBDIR += py-html3
SUBDIR += py-html5-parser
SUBDIR += py-html5lib
+ SUBDIR += py-html5lib-modern
SUBDIR += py-htmldate
SUBDIR += py-httmock
SUBDIR += py-http-parser
diff --git a/www/py-html5lib-modern/Makefile b/www/py-html5lib-modern/Makefile
new file mode 100644
index 000000000000..c53fc47756d3
--- /dev/null
+++ b/www/py-html5lib-modern/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= html5lib-modern
+PORTVERSION= 1.2
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= html5lib_modern-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= HTML parser based on the WHATWG HTML specification
+WWW= https://github.com/html5lib/html5lib-python
+
+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>
diff --git a/www/py-html5lib-modern/distinfo b/www/py-html5lib-modern/distinfo
new file mode 100644
index 000000000000..d77010f5c0a2
--- /dev/null
+++ b/www/py-html5lib-modern/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728922868
+SHA256 (html5lib_modern-1.2.tar.gz) = 1fadbfc27ea955431270e4e79a4a4c290ba11c3a3098a95cc22dc73e312a1768
+SIZE (html5lib_modern-1.2.tar.gz) = 275189
diff --git a/www/py-html5lib-modern/pkg-descr b/www/py-html5lib-modern/pkg-descr
new file mode 100644
index 000000000000..5a1276cb9a91
--- /dev/null
+++ b/www/py-html5lib-modern/pkg-descr
@@ -0,0 +1,2 @@
+html5lib is a pure-python library for parsing HTML. It is designed to conform to
+the WHATWG HTML specification, as is implemented by all major web browsers.