[54092] trunk/dports/python/py25-jinja
ryandesign at macports.org
ryandesign at macports.org
Mon Jul 20 13:55:00 PDT 2009
Revision: 54092
http://trac.macports.org/changeset/54092
Author: ryandesign at macports.org
Date: 2009-07-20 13:54:59 -0700 (Mon, 20 Jul 2009)
Log Message:
-----------
py25-jinja: fix mtree violation by documentation; see #16498
Modified Paths:
--------------
trunk/dports/python/py25-jinja/Portfile
Added Paths:
-----------
trunk/dports/python/py25-jinja/files/
trunk/dports/python/py25-jinja/files/patch-setup.py.diff
Modified: trunk/dports/python/py25-jinja/Portfile
===================================================================
--- trunk/dports/python/py25-jinja/Portfile 2009-07-20 20:53:29 UTC (rev 54091)
+++ trunk/dports/python/py25-jinja/Portfile 2009-07-20 20:54:59 UTC (rev 54092)
@@ -5,6 +5,7 @@
name py25-jinja
version 1.2
+revision 1
categories-append devel
maintainers rickvanderzwet.nl:info
description Python based sandboxed template engine
@@ -24,4 +25,9 @@
sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \
rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a
+patchfiles patch-setup.py.diff
+post-patch {
+ reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/setup.py
+}
+
depends_lib-append port:py25-setuptools
Added: trunk/dports/python/py25-jinja/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py25-jinja/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py25-jinja/files/patch-setup.py.diff 2009-07-20 20:54:59 UTC (rev 54092)
@@ -0,0 +1,13 @@
+--- setup.py.orig 2009-07-11 19:34:42.000000000 +0200
++++ setup.py 2009-07-11 19:34:56.000000000 +0200
+@@ -79,8 +79,8 @@
+ keywords=['python.templating.engines'],
+ packages=['jinja', 'jinja.translators'],
+ data_files=[
+- ('docs/html', list(list_files('docs/html'))),
+- ('docs/txt', list(list_files('docs/src')))
++ ('share/doc/@@NAME@@/html', list(list_files('docs/html'))),
++ ('share/doc/@@NAME@@/txt', list(list_files('docs/src')))
+ ],
+ entry_points='''
+ [python.templating.engines]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090720/bae5c680/attachment.html>
More information about the macports-changes
mailing list