Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 12:25:36 GMT
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b4cc3fcee71c - main - devel/py-Jinja2: update to 3.0.1, clean up py27 leftovers
Message-ID:  <202109141225.18ECPapm077219@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nivit:

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

commit b4cc3fcee71cd026d71a7263d604673c1173f843
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2021-09-14 12:19:28 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2021-09-14 12:25:04 +0000

    devel/py-Jinja2: update to 3.0.1, clean up py27 leftovers
    
    Changes: https://jinja.palletsprojects.com/en/3.0.x/changes/#version-3-0-1
    
    PR:             258441
    Reported by:    kbowling
---
 devel/py-Jinja2/Makefile | 14 ++++----------
 devel/py-Jinja2/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109141225.18ECPapm077219>