git: c030a8f418ab - main - textproc/py-chameleon: Update to 4.5.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:37:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c030a8f418ab3a70778c04c155515315f2eddef4
commit c030a8f418ab3a70778c04c155515315f2eddef4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 15:01:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:11:11 +0000
textproc/py-chameleon: Update to 4.5.2
- Convert to USE_PYTHON=pep517
Changes: https://github.com/malthe/chameleon/releases
---
textproc/py-chameleon/Makefile | 13 ++++++-------
textproc/py-chameleon/distinfo | 6 +++---
textproc/py-chameleon/files/patch-setup.py | 11 +++++++++++
3 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/textproc/py-chameleon/Makefile b/textproc/py-chameleon/Makefile
index 899c7a2d889e..11d5e19b2d6e 100644
--- a/textproc/py-chameleon/Makefile
+++ b/textproc/py-chameleon/Makefile
@@ -1,5 +1,5 @@
PORTNAME= chameleon
-PORTVERSION= 4.4.0
+PORTVERSION= 4.5.2
CATEGORIES= textproc www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,17 +13,16 @@ WWW= https://chameleon.readthedocs.io/en/latest/ \
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python
-USE_PYTHON= autoplist concurrent distutils
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python:3.9+
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 30900
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
-.endif
-
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
diff --git a/textproc/py-chameleon/distinfo b/textproc/py-chameleon/distinfo
index 8411fca64651..29bf0cdb82b0 100644
--- a/textproc/py-chameleon/distinfo
+++ b/textproc/py-chameleon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702543818
-SHA256 (Chameleon-4.4.0.tar.gz) = 6456bd24989ad98fd1a1169282b9c0e1fc822a70af4214a257d0081fa65b82db
-SIZE (Chameleon-4.4.0.tar.gz) = 179583
+TIMESTAMP = 1708450742
+SHA256 (Chameleon-4.5.2.tar.gz) = 8fc0e5ae67c68a589c0ab3fe230d473950204e36e926ffeecf878c4717382616
+SIZE (Chameleon-4.5.2.tar.gz) = 178964
diff --git a/textproc/py-chameleon/files/patch-setup.py b/textproc/py-chameleon/files/patch-setup.py
new file mode 100644
index 000000000000..98f3447344d5
--- /dev/null
+++ b/textproc/py-chameleon/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2024-01-29 20:56:19 UTC
++++ setup.py
+@@ -38,7 +38,7 @@ setup(
+
+
+ setup(
+- name="Chameleon",
++ name="chameleon",
+ version=__version__,
+ description="Fast HTML/XML Template Compiler.",
+ long_description="\n\n".join((README, CHANGES)),