[53723] trunk/dports/python

blb at macports.org blb at macports.org
Sun Jul 12 16:46:21 PDT 2009


Revision: 53723
          http://trac.macports.org/changeset/53723
Author:   blb at macports.org
Date:     2009-07-12 16:46:20 -0700 (Sun, 12 Jul 2009)
Log Message:
-----------
New ports - python/py2[56]-freebase, Python interface to freebase.com API

Added Paths:
-----------
    trunk/dports/python/py25-freebase/
    trunk/dports/python/py25-freebase/Portfile
    trunk/dports/python/py26-freebase/
    trunk/dports/python/py26-freebase/Portfile

Added: trunk/dports/python/py25-freebase/Portfile
===================================================================
--- trunk/dports/python/py25-freebase/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-freebase/Portfile	2009-07-12 23:46:20 UTC (rev 53723)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python25 1.0
+name                py25-freebase
+version             1.0
+categories-append   devel
+maintainers         blb openmaintainer
+description         Python interface to freebase.com API
+long_description \
+   Freebase.com has an open API that can be used to access and update \
+   structured data. The RESTful http-based API is completely documented at \
+   Freebase.com along with some simple examples. This library provides a \
+   python interface to that API.
+
+platforms           darwin
+
+homepage            http://code.google.com/p/freebase-python/
+master_sites        http://pypi.python.org/packages/source/f/freebase/
+distname            freebase-${version}
+
+checksums           md5     6184f03a25187d51713d0bf6d89369cd \
+                    sha1    f87e524cf99073dfde500715ba4cf433c263cf5d \
+                    rmd160  21490298fc5b1d5b164f53ffdbd21bff18d4af52
+
+depends_lib-append  port:py25-simplejson
+
+post-destroot {
+   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 644 -W ${worksrcpath} README \
+      ${destroot}${prefix}/share/doc/${name}
+   foreach binfile {fb_restore fb_save_base fb_save_type fcl} {
+      move ${destroot}${prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}-${python.branch}
+   }
+}
+


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

Added: trunk/dports/python/py26-freebase/Portfile
===================================================================
--- trunk/dports/python/py26-freebase/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-freebase/Portfile	2009-07-12 23:46:20 UTC (rev 53723)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+name                py26-freebase
+version             1.0
+categories-append   devel
+maintainers         blb openmaintainer
+description         Python interface to freebase.com API
+long_description \
+   Freebase.com has an open API that can be used to access and update \
+   structured data. The RESTful http-based API is completely documented at \
+   Freebase.com along with some simple examples. This library provides a \
+   python interface to that API.
+
+platforms           darwin
+
+homepage            http://code.google.com/p/freebase-python/
+master_sites        http://pypi.python.org/packages/source/f/freebase/
+distname            freebase-${version}
+
+checksums           md5     6184f03a25187d51713d0bf6d89369cd \
+                    sha1    f87e524cf99073dfde500715ba4cf433c263cf5d \
+                    rmd160  21490298fc5b1d5b164f53ffdbd21bff18d4af52
+
+post-destroot {
+   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 644 -W ${worksrcpath} README \
+      ${destroot}${prefix}/share/doc/${name}
+   foreach binfile {fb_restore fb_save_base fb_save_type fcl} {
+      ln -s ${python.prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}-${python.branch}
+#   }
+}
+


Property changes on: trunk/dports/python/py26-freebase/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/20090712/7069e7ee/attachment.html>


More information about the macports-changes mailing list