[49973] trunk/dports/python/py26-jinja2/Portfile

jmr at macports.org jmr at macports.org
Tue Apr 21 10:39:47 PDT 2009


Revision: 49973
          http://trac.macports.org/changeset/49973
Author:   jmr at macports.org
Date:     2009-04-21 10:39:47 -0700 (Tue, 21 Apr 2009)
Log Message:
-----------
py26-jinja2: install docs into a unique subdir (#18910), add livecheck

Modified Paths:
--------------
    trunk/dports/python/py26-jinja2/Portfile

Modified: trunk/dports/python/py26-jinja2/Portfile
===================================================================
--- trunk/dports/python/py26-jinja2/Portfile	2009-04-21 15:53:01 UTC (rev 49972)
+++ trunk/dports/python/py26-jinja2/Portfile	2009-04-21 17:39:47 UTC (rev 49973)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -5,6 +6,7 @@
 
 name                py26-jinja2
 version             2.1.1
+revision            1
 categories-append   devel
 maintainers         jmr openmaintainer
 description         Python based sandboxed template engine
@@ -25,3 +27,12 @@
                     rmd160 4a24259599484b823af42d476fbf004b2de7f7ca
 
 depends_lib-append  port:py26-setuptools
+
+post-patch {
+   reinplace "s|data_files.append(('docs',|data_files.append(('docs/${name}',|g" \
+        ${worksrcpath}/setup.py
+}
+
+livecheck.check regex
+livecheck.url   http://pypi.python.org/pypi/Jinja2/
+livecheck.regex {Jinja2 ([0-9\.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090421/d0b4927c/attachment-0001.html>


More information about the macports-changes mailing list