Bug 181219 - [UPDATE] devel/py-Jinja2 to 2.7.1
[UPDATE] devel/py-Jinja2 to 2.7.1
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Nicola Vitale
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-10 18:50 UTC by Olivier Duchateau
Modified: 2013-08-28 23:45 UTC (History)
0 users

See Also:


Attachments
file.diff (2.41 KB, patch)
2013-08-10 18:50 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau freebsd_committer 2013-08-10 18:50:01 UTC
- Update to 2.7.1
- Adjust versions of textproc/py-MarkupSafe and devel/py-babel

It's full compatible with Python 3 (it needs PR181218 [1] update devel/py-babel).

Note: Documentation has been tested with textproc/py-sphinx 1.2 beta1 (not presents in ports tree).

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=181218

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2013-08-10 18:50:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nivit

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-08-28 23:38:45 UTC
Author: nivit
Date: Wed Aug 28 22:38:37 2013
New Revision: 325557
URL: http://svnweb.freebsd.org/changeset/ports/325557

Log:
  - 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

Modified:
  head/devel/py-Jinja2/Makefile
  head/devel/py-Jinja2/distinfo
  head/devel/py-Jinja2/pkg-plist

Modified: head/devel/py-Jinja2/Makefile
==============================================================================
--- head/devel/py-Jinja2/Makefile	Wed Aug 28 21:28:50 2013	(r325556)
+++ head/devel/py-Jinja2/Makefile	Wed Aug 28 22:38:37 2013	(r325557)
@@ -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-alo
 
 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/${PKGNAMEPR
 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

Modified: head/devel/py-Jinja2/distinfo
==============================================================================
--- head/devel/py-Jinja2/distinfo	Wed Aug 28 21:28:50 2013	(r325556)
+++ head/devel/py-Jinja2/distinfo	Wed Aug 28 22:38:37 2013	(r325557)
@@ -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

Modified: head/devel/py-Jinja2/pkg-plist
==============================================================================
--- head/devel/py-Jinja2/pkg-plist	Wed Aug 28 21:28:50 2013	(r325556)
+++ head/devel/py-Jinja2/pkg-plist	Wed Aug 28 22:38:37 2013	(r325557)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Nicola Vitale freebsd_committer 2013-08-28 23:45:47 UTC
State Changed
From-To: open->closed

Committed, thanks!