[128727] trunk/dports/python/py-freebase/Portfile
larryv at macports.org
larryv at macports.org
Thu Nov 27 00:51:59 PST 2014
Revision: 128727
https://trac.macports.org/changeset/128727
Author: larryv at macports.org
Date: 2014-11-27 00:51:59 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
py-freebase: Add modeline, rearrange, and reformat
Modified Paths:
--------------
trunk/dports/python/py-freebase/Portfile
Modified: trunk/dports/python/py-freebase/Portfile
===================================================================
--- trunk/dports/python/py-freebase/Portfile 2014-11-27 08:51:55 UTC (rev 128726)
+++ trunk/dports/python/py-freebase/Portfile 2014-11-27 08:51:59 UTC (rev 128727)
@@ -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
@@ -2,2 +3,3 @@
PortGroup python 1.0
+
name py-freebase
@@ -7,40 +9,40 @@
version 1.0.8
revision 1
categories-append devel
+platforms darwin
license BSD
maintainers nomaintainer
+
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.
+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.
+homepage http://code.google.com/p/freebase-python/
-platforms darwin
supported_archs noarch
-homepage http://code.google.com/p/freebase-python/
master_sites http://pypi.python.org/packages/source/f/freebase/
distname freebase-${version}
-
checksums md5 f873f6f53668b4df66c8b844c716acf5 \
sha1 9f0e398d4f1e21126d5949ccf2bc8172d10065c0 \
rmd160 f7ec4ba8c1918c60852724ff79e72e36800658e8
+python.default_version 27
+python.versions 25 26 27
+
if {${name} ne ${subport}} {
- post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
- ${destroot}${prefix}/share/examples/${subport}
- xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
- ${destroot}${prefix}/share/doc/${subport}
- eval file copy [glob ${worksrcpath}/examples/*] \
- ${destroot}${prefix}/share/examples/${subport}
+ post-destroot {
+ xinstall -m 755 -d \
+ ${destroot}${prefix}/share/doc/${subport} \
+ ${destroot}${prefix}/share/examples/${subport}
+ xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
+ ${destroot}${prefix}/share/doc/${subport}
+ eval file copy [glob ${worksrcpath}/examples/*] \
+ ${destroot}${prefix}/share/examples/${subport}
}
}
-python.default_version 27
-python.versions 25 26 27
-
livecheck.url [lindex ${master_sites} 0]
livecheck.regex {freebase-([.\d]+)\.tar\.gz}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/8d029451/attachment.html>
More information about the macports-changes
mailing list