git: 25fd2438e249 - main - www/py-html5-parser: Update to 0.5.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Mon, 09 Nov 2026 20:27:52 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25fd2438e249b8b149921dce95ea96d42473b478

commit 25fd2438e249b8b149921dce95ea96d42473b478
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2026-11-09 20:27:14 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2026-11-09 20:27:14 +0000

    www/py-html5-parser: Update to 0.5.0
---
 www/py-html5-parser/Makefile                   |  4 ++--
 www/py-html5-parser/distinfo                   |  6 +++---
 www/py-html5-parser/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/www/py-html5-parser/Makefile b/www/py-html5-parser/Makefile
index b669d5ab23fc..b91d5c75b81c 100644
--- a/www/py-html5-parser/Makefile
+++ b/www/py-html5-parser/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	html5-parser
-PORTVERSION=	0.4.12
-PORTREVISION=	4
+PORTVERSION=	0.5.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSIONFULL}
 
 MAINTAINER=	madpilot@FreeBSD.org
 COMMENT=	Fast implementation of the HTML 5 parsing spec for Python
diff --git a/www/py-html5-parser/distinfo b/www/py-html5-parser/distinfo
index ac4ac3f2eb24..94de573f8cf5 100644
--- a/www/py-html5-parser/distinfo
+++ b/www/py-html5-parser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700496447
-SHA256 (html5-parser-0.4.12.tar.gz) = 3d7f89841aa48b976311f43863178c34c141abcf1dd45b67a7339e61cffe5306
-SIZE (html5-parser-0.4.12.tar.gz) = 270861
+TIMESTAMP = 1794162081
+SHA256 (html5_parser-0.5.0.tar.gz) = 8b32ed047a99c855c8a3c57d19df1fe8384dc16fc847b42847cbe202fd91cfde
+SIZE (html5_parser-0.5.0.tar.gz) = 275010
diff --git a/www/py-html5-parser/files/patch-pyproject.toml b/www/py-html5-parser/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2b44f27572c3
--- /dev/null
+++ b/www/py-html5-parser/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2026-09-20 04:52:14 UTC
++++ pyproject.toml
+@@ -9,7 +9,7 @@ description = "Fast C based HTML 5 parsing for python"
+     {name = "Kovid Goyal", email = "redacted@acme.com"},
+ ]
+ description = "Fast C based HTML 5 parsing for python"
+-license = "Apache-2.0"
++license = {text = "Apache-2.0"}
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Intended Audience :: Developers",