Skip to content

Commit

Permalink
textproc/py-chameleon: Update to 4.5.2
Browse files Browse the repository at this point in the history
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/malthe/chameleon/releases
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 281ef36 commit c030a8f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
13 changes: 6 additions & 7 deletions 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}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
11 changes: 11 additions & 0 deletions 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)),

0 comments on commit c030a8f

Please sign in to comment.