aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2021-09-14 12:19:28 +0000
committerNicola Vitale <nivit@FreeBSD.org>2021-09-14 12:25:04 +0000
commitb4cc3fcee71cd026d71a7263d604673c1173f843 (patch)
treec6fa38e4147b362fa282381980a88d8183fb3d2d
parent49f1bd2704001d455240b3057b438abcffacc6aa (diff)
downloadports-b4cc3fcee71cd026d71a7263d604673c1173f843.tar.gz
ports-b4cc3fcee71cd026d71a7263d604673c1173f843.zip
devel/py-Jinja2: update to 3.0.1, clean up py27 leftovers
-rw-r--r--devel/py-Jinja2/Makefile14
-rw-r--r--devel/py-Jinja2/distinfo6
2 files changed, 7 insertions, 13 deletions
diff --git a/devel/py-Jinja2/Makefile b/devel/py-Jinja2/Makefile
index 3c53a8587ddb..1bd1473bf058 100644
--- a/devel/py-Jinja2/Makefile
+++ b/devel/py-Jinja2/Makefile
@@ -1,7 +1,7 @@
# Created by: Nicola Vitale <nivit@FreeBSD.org>
PORTNAME= Jinja2
-PORTVERSION= 3.0.0
+PORTVERSION= 3.0.1
PORTREVISION= 0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
@@ -14,8 +14,8 @@ COMMENT?= Fast and easy to use stand-alone template engine
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=0.23:textproc/py-markupsafe@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=0.23:textproc/py-markupsafe@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0.0:textproc/py-markupsafe@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0.0:textproc/py-markupsafe@${PY_FLAVOR}
NO_ARCH= yes
.if empty(PKGNAMESUFFIX)
@@ -33,10 +33,7 @@ OPTIONS_DEFINE?= BABEL EXAMPLES
OPTIONS_DEFAULT?= BABEL
BABEL_DESC= Enable Babel extension
-BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR}
-
-PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER}
-PY2TO3_ARGS= --fix=all --no-diffs --nobackups --verbose --write
+BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.7:devel/py-babel@${PY_FLAVOR}
.include <bsd.port.pre.mk>
@@ -62,9 +59,6 @@ do-install:
.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES= *
post-build:
-. if ${PYTHON_REL} >= 30000
- ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples
-. endif
${PYTHON_CMD} -m compileall ${WRKSRC}/examples ; \
${PYTHON_CMD} -O -m compileall ${WRKSRC}/examples
diff --git a/devel/py-Jinja2/distinfo b/devel/py-Jinja2/distinfo
index f8648dad362f..3de696a0054a 100644
--- a/devel/py-Jinja2/distinfo
+++ b/devel/py-Jinja2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621077653
-SHA256 (Jinja2-3.0.0.tar.gz) = ea8d7dd814ce9df6de6a761ec7f1cac98afe305b8cdc4aaae4e114b8d8ce24c5
-SIZE (Jinja2-3.0.0.tar.gz) = 267417
+TIMESTAMP = 1631621875
+SHA256 (Jinja2-3.0.1.tar.gz) = 703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4
+SIZE (Jinja2-3.0.1.tar.gz) = 267938