1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Update to 2.7.1

- Adjust minimal versions of dependencies
- Enable Babel support also for Python 3

Build logs:	https://redports.org/buildarchive/20130828163200-64794/
PR:	ports/181219
Submitted by:	olivierd
This commit is contained in:
Nicola Vitale 2013-08-28 22:38:37 +00:00
parent 782112bcaa
commit 9c5549b5b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325557
3 changed files with 10 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Jinja2
PORTVERSION= 2.7
PORTVERSION= 2.7.1
PORTREVISION= 0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
@ -14,7 +14,7 @@ COMMENT?= Fast and easy to use stand-alone template engine
LICENSE= BSD
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.11:${PORTSDIR}/textproc/py-MarkupSafe
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
USE_PYTHON= yes
.if empty(PKGNAMESUFFIX)
@ -42,13 +42,12 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORT_OPTIONS:= ${PORT_OPTIONS:NEXAMPLES}
.endif
.if ${PORT_OPTIONS:MBABEL} && ${PYTHON_REL} < 300
# Actually >= 0.9.8, devel/py-babel doesn't yet build with Py3k
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel
.if ${PORT_OPTIONS:MBABEL}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:${PORTSDIR}/devel/py-babel
.endif
.if ${PORT_OPTIONS:MSPEEDUPS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.11:${PORTSDIR}/textproc/py-MarkupSafe
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
.endif
# no problem with Python > 3.2

View File

@ -1,2 +1,2 @@
SHA256 (Jinja2-2.7.tar.gz) = 474f1518d189ae7e318b139fecc1d30b943f124448cfa0f09582ca23e069fa4d
SIZE (Jinja2-2.7.tar.gz) = 377603
SHA256 (Jinja2-2.7.1.tar.gz) = 5cc0a087a81dca1c08368482fb7a92fe2bdd8cfbb22bc0fccfe6c85affb04c8b
SIZE (Jinja2-2.7.1.tar.gz) = 377813

View File

@ -75,6 +75,9 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/api.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/api.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/api.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/bytecode_cache.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/bytecode_cache.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/bytecode_cache.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/core_tags.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/core_tags.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/core_tags.pyo