git: 348ce5eab7d9 - main - devel/py-ttkbootstrap: Update to 1.20.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Wed, 14 Jan 2026 13:16:18 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=348ce5eab7d95ab5eb79379001062f4f487d14be

commit 348ce5eab7d95ab5eb79379001062f4f487d14be
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-01-14 13:13:57 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-01-14 13:15:55 +0000

    devel/py-ttkbootstrap: Update to 1.20.0
    
    - Fix pyproject.toml (via a post-patch target), because the build
      framework does not recognise its new format.
      (see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files )
    
    ChangeLog:      https://github.com/israel-dryer/ttkbootstrap/releases/tag/v1.20.0
    Reported by:    portscout!
---
 devel/py-ttkbootstrap/Makefile | 9 +++++++--
 devel/py-ttkbootstrap/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/py-ttkbootstrap/Makefile b/devel/py-ttkbootstrap/Makefile
index f004a0bc501a..65f6d95bb602 100644
--- a/devel/py-ttkbootstrap/Makefile
+++ b/devel/py-ttkbootstrap/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ttkbootstrap
-DISTVERSION=	1.14.2
-PORTREVISION=	1
+DISTVERSION=	1.20.0
+PORTREVISION=	0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,4 +21,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -E \
+		-e 's/^(license = )("[^"]+")/\1{ text = \2 }/1' \
+		${WRKSRC}/pyproject.toml
+
 .include <bsd.port.mk>
diff --git a/devel/py-ttkbootstrap/distinfo b/devel/py-ttkbootstrap/distinfo
index 4e08a1155d8c..30596409b748 100644
--- a/devel/py-ttkbootstrap/distinfo
+++ b/devel/py-ttkbootstrap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754206174
-SHA256 (ttkbootstrap-1.14.2.tar.gz) = aae7885211bdeb134c8af07b0c67c89a50d7997b116199068271ed99b55bc530
-SIZE (ttkbootstrap-1.14.2.tar.gz) = 144296
+TIMESTAMP = 1768395708
+SHA256 (ttkbootstrap-1.20.0.tar.gz) = 465b64656c919ab4fd501e773795f0c6b57507ea05e97c0fda5665df070e66a5
+SIZE (ttkbootstrap-1.20.0.tar.gz) = 175170