git: 4e5f8176b3ed - main - textproc/py-untangle: Update to 1.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 31 Oct 2026 23:21:02 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e5f8176b3ed2a244df54666f38a862e27e522d8

commit 4e5f8176b3ed2a244df54666f38a862e27e522d8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-10-31 23:14:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-10-31 23:14:43 +0000

    textproc/py-untangle: Update to 1.3.0
    
    Changes:        https://github.com/stchris/untangle/releases
---
 textproc/py-untangle/Makefile                   | 13 +++++--------
 textproc/py-untangle/distinfo                   |  6 +++---
 textproc/py-untangle/files/patch-pyproject.toml | 10 ++++++++++
 3 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/textproc/py-untangle/Makefile b/textproc/py-untangle/Makefile
index 79ec20bcf1f2..e211c89173b8 100644
--- a/textproc/py-untangle/Makefile
+++ b/textproc/py-untangle/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	untangle
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.3.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,16 +9,14 @@ COMMENT=	Convert XML to Python objects
 WWW=		https://github.com/stchris/untangle
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8.0:devel/py-defusedxml@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.12:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.7.1_99:devel/py-defusedxml@${PY_FLAVOR}
 
-USES=		python shebangfix
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
+MAKE_ENV=	SOURCE_DATE_EPOCH=315532800 # 1980-01-01 00:00:00 UTC
 NO_ARCH=	yes
 
-SHEBANG_FILES=	untangle.py
-
 .include <bsd.port.mk>
diff --git a/textproc/py-untangle/distinfo b/textproc/py-untangle/distinfo
index f016024af5a9..40501a65fb33 100644
--- a/textproc/py-untangle/distinfo
+++ b/textproc/py-untangle/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660576696
-SHA256 (untangle-1.2.1.tar.gz) = ae76522472722b31b303d5100c3c6f8b7dd4952b7b6c9d31e6d7b4a56f1a6d30
-SIZE (untangle-1.2.1.tar.gz) = 4809
+TIMESTAMP = 1791047204
+SHA256 (untangle-1.3.0.tar.gz) = 2a0add33ecd61faf155ace1fcdb6fd9ed74f42ec976942b221f6c7f6c0a47bef
+SIZE (untangle-1.3.0.tar.gz) = 3567
diff --git a/textproc/py-untangle/files/patch-pyproject.toml b/textproc/py-untangle/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c89d5c1fdea3
--- /dev/null
+++ b/textproc/py-untangle/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -18,5 +18,5 @@ dev = [
+ ]
+ 
+ [build-system]
+-requires = ["uv_build>=0.12.17,<0.13.0"]
+-build-backend = "uv_build"
++requires = ["flit-core >= 3.12"]
++build-backend = "flit_core.buildapi"