devel/py-Jinja2: Update 3.0.1 -> 3.1.2; Fix test target

PR:		260440 264990
Approved by:	nivit@ (maintainer's timoeut on 260440; 10.5 months)
Submitted by:	brd@, p5B2EA84B3@t-online.de
This commit is contained in:
Yuri Victorovich 2022-11-08 07:03:00 -08:00
parent 039d8f7d8d
commit 23cc438591
2 changed files with 8 additions and 9 deletions

View file

@ -1,14 +1,13 @@
PORTNAME= Jinja2
PORTVERSION= 3.0.1
PORTREVISION= 0
DISTVERSION= 3.1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX?=
MAINTAINER= nivit@FreeBSD.org
COMMENT?= Fast and easy to use stand-alone template engine
WWW?= http://jinja.pocoo.org/
COMMENT= Fast and easy to use stand-alone template engine
WWW= http://jinja.pocoo.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
@ -19,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0.0:textproc/py-markupsafe@${
NO_ARCH= yes
.if empty(PKGNAMESUFFIX)
USES= cpe python
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist distutils pytest # 23 tests fail, see https://github.com/pallets/jinja/issues/1757
CPE_VENDOR= pocoo
.endif
@ -68,7 +67,7 @@ post-install:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
check regression-test test: build
check regression-test: build
.if empty(PKGNAMESUFFIX)
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.else

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1631621875
SHA256 (Jinja2-3.0.1.tar.gz) = 703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4
SIZE (Jinja2-3.0.1.tar.gz) = 267938
TIMESTAMP = 1661770400
SHA256 (Jinja2-3.1.2.tar.gz) = 31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
SIZE (Jinja2-3.1.2.tar.gz) = 268239