git: 6e3a3b109c36 - main - textproc/py-mako: Update to 1.3.12

From: Wen Heping <wen_at_FreeBSD.org>
Date: Fri, 03 Jul 2026 13:28:18 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e3a3b109c3666a466c3ac2f0e036f9adaacaf90

commit 6e3a3b109c3666a466c3ac2f0e036f9adaacaf90
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-07-03 13:25:43 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2026-07-03 13:27:47 +0000

    textproc/py-mako: Update to 1.3.12
    
    PR:             296343
    Reported by:    agh@riseup.net
---
 textproc/py-mako/Makefile              | 16 ++++++----------
 textproc/py-mako/distinfo              |  6 +++---
 textproc/py-mako/files/patch-setup.cfg |  9 +++++++++
 3 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/textproc/py-mako/Makefile b/textproc/py-mako/Makefile
index 142ac47e5bbb..0a12aee01947 100644
--- a/textproc/py-mako/Makefile
+++ b/textproc/py-mako/Makefile
@@ -1,26 +1,22 @@
 PORTNAME=	mako
-PORTVERSION=	1.3.5
-PORTREVISION=	1
+DISTVERSION=	1.3.12
 CATEGORIES=	textproc www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	Mako-${PORTVERSION}
 
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Super-fast templating language in Python
 WWW=		https://www.makotemplates.org/
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beaker>=1.1:www/py-beaker@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}markupsafe>=0.9.2:textproc/py-markupsafe@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beaker>=1.1:www/py-beaker@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}markupsafe>=0.9.2:textproc/py-markupsafe@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markupsafe>=0.9.2:textproc/py-markupsafe@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-mako/distinfo b/textproc/py-mako/distinfo
index 774771ebb1ab..3c5a8a0fac4c 100644
--- a/textproc/py-mako/distinfo
+++ b/textproc/py-mako/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715904634
-SHA256 (Mako-1.3.5.tar.gz) = 48dbc20568c1d276a2698b36d968fa76161bf127194907ea6fc594fa81f943bc
-SIZE (Mako-1.3.5.tar.gz) = 392738
+TIMESTAMP = 1782686410
+SHA256 (mako-1.3.12.tar.gz) = 9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a
+SIZE (mako-1.3.12.tar.gz) = 400219
diff --git a/textproc/py-mako/files/patch-setup.cfg b/textproc/py-mako/files/patch-setup.cfg
new file mode 100644
index 000000000000..9d6fbebfa49b
--- /dev/null
+++ b/textproc/py-mako/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2026-07-03 13:16:33 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = Mako
++name = mako
+ version = attr: mako.__version__
+ description = A super-fast templating language that borrows the best ideas from the existing templating languages.
+ long_description = file: README.rst