[95299] trunk/dports/python

blair at macports.org blair at macports.org
Sun Jul 8 15:49:56 PDT 2012


Revision: 95299
          https://trac.macports.org/changeset/95299
Author:   blair at macports.org
Date:     2012-07-08 15:49:56 -0700 (Sun, 08 Jul 2012)
Log Message:
-----------
py-thrift: new port that replaces thrift +python.

Added Paths:
-----------
    trunk/dports/python/py-thrift/
    trunk/dports/python/py-thrift/Portfile

Added: trunk/dports/python/py-thrift/Portfile
===================================================================
--- trunk/dports/python/py-thrift/Portfile	                        (rev 0)
+++ trunk/dports/python/py-thrift/Portfile	2012-07-08 22:49:56 UTC (rev 95299)
@@ -0,0 +1,62 @@
+# -*- 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
+PortGroup           python 1.0
+
+name                py-thrift
+version             0.8.0
+categories          python
+license             BSD
+platforms           darwin
+
+maintainers         blair
+
+description         Python bindings to Thrift
+
+long_description \
+                Thrift is a software framework for scalable cross-language \
+                services development. It combines a software stack with a \
+                code generation engine to build services that work \
+                efficiently and seamlessly between C++, Java, Python, PHP, \
+                Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and \
+                OCaml.
+
+homepage        http://thrift.apache.org/
+master_sites    apache:${name}/${version}
+dist_subdir     thrift
+distname        thrift-${version}
+
+checksums       md5     d29dfcd38d476cbc420b6f4d80ab966c \
+                sha1    1d652d7078d9cc70e2a45d3119b13e86ebd446da \
+                rmd160  bb0e1d2b6d30b70590752a7f9318e14de285c505
+
+python.versions 25 26 27
+python.default_version 27
+
+if {$subport != $name} {
+        depends_lib-append      port:thrift
+
+        configure.dir   ${worksrcpath}/lib/py
+        build.dir       ${configure.dir}
+        test.dir        ${configure.dir}
+        destroot.dir    ${configure.dir}
+
+        post-destroot {
+                set docdir ${prefix}/share/doc/${subport}
+                xinstall -d ${destroot}${docdir}
+                xinstall -m 644 -W ${worksrcpath} \
+                                CHANGES \
+                                CONTRIBUTORS \
+                                DISCLAIMER \
+                                LICENSE \
+                                NEWS \
+                                NOTICE \
+                                README \
+                ${destroot}${docdir}
+        }
+}
+               
+livecheck.type  regex
+livecheck.url   http://www.apache.org/dist/thrift/
+livecheck.regex {(\d+(?:\.\d+)*)/}


Property changes on: trunk/dports/python/py-thrift/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/20120708/8d22ef3c/attachment-0001.html>


More information about the macports-changes mailing list