# -*- 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: Portfile 135205 2015-04-19 04:40:40Z blair@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-thrift version 0.9.2 categories python license Apache-2 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 sha1 02f78b158da795ea89a26ce41964fbe562cc4235 \ rmd160 a858d2ef0e4e41305e43ef42e9cc602915a47c1f \ sha256 cef50d3934c41db5fa7724440cc6f10a732e7a77fe979b98c23ce45725349570 python.versions 26 27 python.default_version 27 if {${name} ne ${subport}} { 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 \ LICENSE \ NOTICE \ README.md \ ${destroot}${docdir} } } livecheck.type regex livecheck.url http://www.apache.org/dist/thrift/ livecheck.regex {(\d+(?:\.\d+)*)/}