[48648] trunk/dports/python

snc at macports.org snc at macports.org
Thu Mar 26 12:58:18 PDT 2009


Revision: 48648
          http://trac.macports.org/changeset/48648
Author:   snc at macports.org
Date:     2009-03-26 12:58:18 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
created py-jinja2, ticket #17433

Added Paths:
-----------
    trunk/dports/python/py-jinja2/
    trunk/dports/python/py-jinja2/Portfile
    trunk/dports/python/py-jinja2/files/
    trunk/dports/python/py-jinja2/files/patch-setup.py.diff

Added: trunk/dports/python/py-jinja2/Portfile
===================================================================
--- trunk/dports/python/py-jinja2/Portfile	                        (rev 0)
+++ trunk/dports/python/py-jinja2/Portfile	2009-03-26 19:58:18 UTC (rev 48648)
@@ -0,0 +1,35 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python24 1.0
+
+name                py-jinja2
+version             2.1.1
+categories-append   devel
+maintainers         arthurkoziel.com:arthur openmaintainer
+description         A small but fast and easy to use stand-alone template\
+                    engine written in pure python.
+long_description    Jinja2 is a template engine written in pure Python. It\
+                    provides a Django inspired non-XML syntax but supports\
+                    inline expressions and an optional sandboxed environment.
+
+platforms           darwin
+
+homepage            http://jinja.pocoo.org/2/
+master_sites        http://pypi.python.org/packages/source/J/Jinja2/
+distname            Jinja2-${version}
+
+checksums           md5 b37fc262e4f613eec57c3defe6aea97c \
+                    sha1 7776001de0269df324bd80ffeecd6e6c19382e8e \
+                    rmd160 4a24259599484b823af42d476fbf004b2de7f7ca
+
+depends_lib-append  port:py-setuptools
+
+patchfiles          patch-setup.py.diff
+post-patch {
+   reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/setup.py
+}
+
+livecheck.check     regex
+livecheck.url       http://pypi.python.org/pypi/Jinja2/
+livecheck.regex     Jinja2 (2\.\[0-9\]+\.\[0-9\]+)


Property changes on: trunk/dports/python/py-jinja2/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py-jinja2/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-jinja2/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-jinja2/files/patch-setup.py.diff	2009-03-26 19:58:18 UTC (rev 48648)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2008-12-25 10:39:57.000000000 -0700
++++ setup.py	2009-02-09 20:51:24.000000000 -0700
+@@ -61,7 +61,7 @@
+             fn = os.path.join(documentation_path, fn)
+             if os.path.isfile(fn):
+                 documentation_files.append(fn)
+-    data_files.append(('docs', documentation_files))
++    data_files.append(('share/doc/@@NAME@@', documentation_files))
+ 
+ 
+ def get_terminal_width():
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/1f16ef23/attachment.html>


More information about the macports-changes mailing list