aboutsummaryrefslogtreecommitdiff
path: root/devel/py-Jinja2
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 01:35:26 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 01:35:26 +0000
commit4cee9ce454604c6dbc1825c96f22ba3e4065027c (patch)
tree5e227fefe5627d791fc1fb66699cd22dc9580dfa /devel/py-Jinja2
parent79ea8b901b4a0d3ba5a63fa9e33c664ea5fc8002 (diff)
downloadports-4cee9ce454604c6dbc1825c96f22ba3e4065027c.tar.gz
ports-4cee9ce454604c6dbc1825c96f22ba3e4065027c.zip
- Enable speedups
PR: ports/146507 Submitted by: Oleg Pudeyev <oleg@bsdpower.com> Approved by: maintainer timeout (nivit ; 120 days)
Notes
Notes: svn path=/head/; revision=260796
Diffstat (limited to 'devel/py-Jinja2')
-rw-r--r--devel/py-Jinja2/Makefile2
-rw-r--r--devel/py-Jinja2/files/patch-manifest.in-speedups9
-rw-r--r--devel/py-Jinja2/files/patch-setup.py-speedups11
-rw-r--r--devel/py-Jinja2/pkg-plist6
4 files changed, 27 insertions, 1 deletions
diff --git a/devel/py-Jinja2/Makefile b/devel/py-Jinja2/Makefile
index e42b20d74373..2726de1a6d0b 100644
--- a/devel/py-Jinja2/Makefile
+++ b/devel/py-Jinja2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Jinja2
PORTVERSION= 2.4.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -17,6 +18,7 @@ COMMENT= A fast, and easy to use stand-alone template engine
USE_PYTHON= 2.4+
USE_PYDISTUTILS= easy_install
+PYEASYINSTALL_ARCHDEP= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
diff --git a/devel/py-Jinja2/files/patch-manifest.in-speedups b/devel/py-Jinja2/files/patch-manifest.in-speedups
new file mode 100644
index 000000000000..76c10f2dd2ef
--- /dev/null
+++ b/devel/py-Jinja2/files/patch-manifest.in-speedups
@@ -0,0 +1,9 @@
+--- MANIFEST.in.dist 2010-02-19 07:31:56.000000000 -0500
++++ MANIFEST.in 2010-04-06 23:28:31.000000000 -0400
+@@ -1,4 +1,5 @@
+-include MANIFEST.in Makefile CHANGES LICENSE AUTHORS jinja2/_speedups.c
++include MANIFEST.in Makefile CHANGES LICENSE AUTHORS
++exclude jinja2/_speedups.c
+ recursive-include docs *
+ recursive-include custom_fixers *
+ recursive-include ext *
diff --git a/devel/py-Jinja2/files/patch-setup.py-speedups b/devel/py-Jinja2/files/patch-setup.py-speedups
new file mode 100644
index 000000000000..9fdde8f3103d
--- /dev/null
+++ b/devel/py-Jinja2/files/patch-setup.py-speedups
@@ -0,0 +1,11 @@
+--- setup.py.orig 2010-05-10 20:18:44.000000000 -0400
++++ setup.py 2010-05-10 20:19:39.000000000 -0400
+@@ -80,7 +80,7 @@
+ packages=['jinja2', 'jinja2.testsuite', 'jinja2.testsuite.res'],
+ features={
+ 'speedups': Feature("optional C speed-enhancements",
+- standard=False,
++ standard=True,
+ ext_modules=[
+ Extension('jinja2._speedups', ['jinja2/_speedups.c'])
+ ]
diff --git a/devel/py-Jinja2/pkg-plist b/devel/py-Jinja2/pkg-plist
index 9ed70b1f7f9e..3915152fa920 100644
--- a/devel/py-Jinja2/pkg-plist
+++ b/devel/py-Jinja2/pkg-plist
@@ -3,13 +3,17 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_speedups.c
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_speedups.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_speedups.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_speedups.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_speedups.so
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_stringdefs.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_stringdefs.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/_stringdefs.pyo