You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
56 lines
1.7 KiB
Tcl
56 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-thrift
|
|
|
|
# NOTE: This port must be kept at the same version as port:thrift and port:p5-thrift
|
|
version 0.20.0
|
|
checksums rmd160 169129427960bb83cd4763cfe371923609d66e0d \
|
|
sha256 b5d8311a779470e1502c027f428a1db542f5c051c8e1280ccd2163fa935ff2d6 \
|
|
size 4397667
|
|
revision 0
|
|
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
|
|
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 https://thrift.apache.org/
|
|
dist_subdir thrift
|
|
master_sites apache:${dist_subdir}/${version}
|
|
distname thrift-${version}
|
|
|
|
python.versions 310 311
|
|
|
|
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 0644 -W ${worksrcpath} \
|
|
CHANGES.md \
|
|
LICENSE \
|
|
NOTICE \
|
|
README.md \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://www.apache.org/dist/thrift/
|
|
livecheck.regex {(\d+(?:\.\d+)*)/}
|