[59107] trunk/dports/python

blb at macports.org blb at macports.org
Fri Oct 9 15:02:26 PDT 2009


Revision: 59107
          http://trac.macports.org/changeset/59107
Author:   blb at macports.org
Date:     2009-10-09 15:02:25 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
New port - python/py26-pytidylib, Python wrapper for tidylib

Added Paths:
-----------
    trunk/dports/python/py26-pytidylib/
    trunk/dports/python/py26-pytidylib/Portfile

Added: trunk/dports/python/py26-pytidylib/Portfile
===================================================================
--- trunk/dports/python/py26-pytidylib/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-pytidylib/Portfile	2009-10-09 22:02:25 UTC (rev 59107)
@@ -0,0 +1,38 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+name                py26-pytidylib
+version             0.1.2
+categories-append   textproc www
+maintainers         blb openmaintainer
+description         Python wrapper for tidylib
+long_description \
+   A new Python wrapper for tidylib, which allows you to convert slightly \
+   invalid HTML/XHTML markup into valid markup. E.g. this Python tidy \
+   library will correct unescaped ampersands, some unclosed tags, missing \
+   elements, missing attributes, etc. Tidylib is highly configurable. It can \
+   output HTML or XHTML, and perform other functions such as converting \
+   named entities to numeric entities (named entities work only along with \
+   an HTML or XHTML doctype, numeric entities work in generic XML data).
+
+platforms           darwin
+
+homepage            http://countergram.com/open-source/pytidylib/
+master_sites        sourceforge:pytidylib
+distname            pytidylib-${version}
+
+checksums           md5     7578a439b4f15f8223c37b13b11a7d07 \
+                    sha1    e8ec6e0b90a644db3547af4909dcef663899e484 \
+                    rmd160  9bb829d0f73d97641bccbcf5bc7c7d2c77495aea
+
+depends_lib-append  port:tidy
+
+post-destroot {
+   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 644 -W ${worksrcpath} LICENSE README \
+      ${destroot}${prefix}/share/doc/${name}
+   eval file copy [glob ${worksrcpath}/docs/*] \
+      ${destroot}${prefix}/share/doc/${name}
+}
+


Property changes on: trunk/dports/python/py26-pytidylib/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/cde05502/attachment.html>


More information about the macports-changes mailing list