git: 2e6d82e14968 - main - devel/py-cheetah3: Update to 3.4.0.post5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 19:59:10 UTC
The branch main has been updated by michaelo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2e6d82e1496847bd48c2622450a9a8e110d2d946
commit 2e6d82e1496847bd48c2622450a9a8e110d2d946
Author: Matthew Wener <matthew@wener.org>
AuthorDate: 2025-08-11 02:01:58 +0000
Commit: Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-02-09 19:58:43 +0000
devel/py-cheetah3: Update to 3.4.0.post5
PR: 288781
Approved by: FreeBSD@ShaneWare.Biz (maintainer)
MFH: 2026Q1
---
devel/py-cheetah3/Makefile | 17 ++++++++++++-----
devel/py-cheetah3/distinfo | 6 +++---
devel/py-cheetah3/files/patch-SetupConfig.py | 11 +++++++++++
devel/py-cheetah3/files/patch-tox.ini | 11 -----------
4 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/devel/py-cheetah3/Makefile b/devel/py-cheetah3/Makefile
index 4a97af66e8fd..20b501a6a85b 100644
--- a/devel/py-cheetah3/Makefile
+++ b/devel/py-cheetah3/Makefile
@@ -1,11 +1,8 @@
PORTNAME= cheetah
-DISTVERSION= 3.2.6
-PORTREVISION= 2
+DISTVERSION= 3.4.0.post5
CATEGORIES= devel textproc www python
-MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 3
-DISTNAME= Cheetah3-${DISTVERSION}
MAINTAINER= FreeBSD@ShaneWare.Biz
COMMENT= HTML template engine for Python
@@ -14,12 +11,22 @@ WWW= https://cheetahtemplate.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:textproc/py-markdown@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+
+USE_GITHUB= yes
+GH_ACCOUNT= CheetahTemplate3
+GH_PROJECT= cheetah3
+USE_PYTHON= autoplist concurrent pep517 pytest
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Cheetah/*.so
+do-test:
+ @cd ${WRKSRC}/Cheetah/Tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} Test.py
+
.include <bsd.port.mk>
diff --git a/devel/py-cheetah3/distinfo b/devel/py-cheetah3/distinfo
index dadfbced9725..aee716e8c3b0 100644
--- a/devel/py-cheetah3/distinfo
+++ b/devel/py-cheetah3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608484272
-SHA256 (Cheetah3-3.2.6.tar.gz) = f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b
-SIZE (Cheetah3-3.2.6.tar.gz) = 295564
+TIMESTAMP = 1770666247
+SHA256 (CheetahTemplate3-cheetah3-3.4.0.post5_GH0.tar.gz) = 63822ef6bfe5644c169bfc7ff225252f0769c86b6957a4aa2f08493a8173929b
+SIZE (CheetahTemplate3-cheetah3-3.4.0.post5_GH0.tar.gz) = 317272
diff --git a/devel/py-cheetah3/files/patch-SetupConfig.py b/devel/py-cheetah3/files/patch-SetupConfig.py
new file mode 100644
index 000000000000..ef53599f7df3
--- /dev/null
+++ b/devel/py-cheetah3/files/patch-SetupConfig.py
@@ -0,0 +1,11 @@
+--- SetupConfig.py.orig 2024-12-02 12:53:43 UTC
++++ SetupConfig.py
+@@ -10,7 +10,7 @@ from Cheetah.compat import PY2
+ # Cheetah3 has already been taken at PyPI,
+ # CheetahTemplate3 seems to be too long.
+ # CT3 is just right!
+-name = 'ct3'
++name = 'cheetah'
+ description = "Cheetah is a template engine and code generation tool"
+ license = "MIT"
+ author = "Tavis Rudd"
diff --git a/devel/py-cheetah3/files/patch-tox.ini b/devel/py-cheetah3/files/patch-tox.ini
deleted file mode 100644
index 7efc83d99655..000000000000
--- a/devel/py-cheetah3/files/patch-tox.ini
+++ /dev/null
@@ -1,11 +0,0 @@
---- tox.ini.orig 2021-04-22 10:44:05 UTC
-+++ tox.ini
-@@ -21,7 +21,7 @@ commands =
- {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
- deps =
- setuptools < 44
-- Markdown >= 2.0.1, < 3.2
-+ Markdown >= 2.0.1
- pygments
- passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
- setenv =