[64151] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Feb 23 13:16:03 PST 2010


Revision: 64151
          http://trac.macports.org/changeset/64151
Author:   singingwolfboy at macports.org
Date:     2010-02-23 13:16:02 -0800 (Tue, 23 Feb 2010)
Log Message:
-----------
Added port for pytesseract

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

Added: trunk/dports/python/py26-tesser/Portfile
===================================================================
--- trunk/dports/python/py26-tesser/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-tesser/Portfile	2010-02-23 21:16:02 UTC (rev 64151)
@@ -0,0 +1,38 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                py26-tesser
+version             0.0.1
+platforms           darwin
+maintainers         singingwolfboy openmaintainer
+description         Optical Character Recognition module for Python
+long_description    pytesser is an ${description}
+homepage            http://code.google.com/p/pytesser/
+master_sites        googlecode:pytesser
+distname            pytesser_v${version}
+use_zip             yes
+extract.mkdir       yes
+
+checksums           md5     54681d38db45332ad5fa38fdba7ddd79 \
+                    sha1    3eec1dced4d484dd34464e8a329b7b3c7b40d7b0 \
+                    rmd160  4aeb1cf41978671524bb1c4be4b11e25bda6c1ae
+
+depends_lib         port:py26-pil bin:tesseract:tesseract
+
+use_configure       no
+build               {}
+destroot {
+    set instdir ${destroot}${python.pkgd}/tesseract
+    xinstall -d ${instdir}
+    xinstall -m 644 ${worksrcpath}/pytesser.py ${instdir}/__init__.py
+    xinstall -m 644 -W ${worksrcpath} \
+        util.py errors.py \
+        ${instdir}
+    set docdir ${destroot}${prefix}/share/doc/pytesser-${version}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS ChangeLog LICENSE NOTICE README \
+        ${docdir}
+}


Property changes on: trunk/dports/python/py26-tesser/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/20100223/41bc99cd/attachment.html>


More information about the macports-changes mailing list