source: trunk/dports/python/py-thrift/Portfile

Last change on this file was 135205, checked in by blair@…, 2 years ago

py-thrift: update to 0.9.2; closes #47492.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 135205 2015-04-19 04:40:40Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       python 1.0
6
7name            py-thrift
8version         0.9.2
9categories      python
10license         Apache-2
11platforms       darwin
12
13maintainers     blair
14
15description     Python bindings to Thrift
16
17long_description \
18    Thrift is a software framework for scalable cross-language \
19    services development. It combines a software stack with a code \
20    generation engine to build services that work efficiently and \
21    seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, \
22    Haskell, C#, Cocoa, Smalltalk, and OCaml.
23
24homepage        http://thrift.apache.org/
25master_sites    apache:${name}/${version}
26dist_subdir     thrift
27distname        thrift-${version}
28
29checksums       sha1   02f78b158da795ea89a26ce41964fbe562cc4235 \
30                rmd160 a858d2ef0e4e41305e43ef42e9cc602915a47c1f \
31                sha256 cef50d3934c41db5fa7724440cc6f10a732e7a77fe979b98c23ce45725349570
32
33python.versions 26 27
34python.default_version 27
35
36if {${name} ne ${subport}} {
37    depends_lib-append  port:thrift
38
39    configure.dir       ${worksrcpath}/lib/py
40    build.dir           ${configure.dir}
41    test.dir            ${configure.dir}
42    destroot.dir        ${configure.dir}
43
44    post-destroot {
45        set docdir ${prefix}/share/doc/${subport}
46        xinstall -d ${destroot}${docdir}
47        xinstall -m 644 -W ${worksrcpath} \
48            CHANGES \
49            LICENSE \
50            NOTICE \
51            README.md \
52        ${destroot}${docdir}
53    }
54}
55               
56livecheck.type  regex
57livecheck.url   http://www.apache.org/dist/thrift/
58livecheck.regex {(\d+(?:\.\d+)*)/}
Note: See TracBrowser for help on using the repository browser.