Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (28 sloc) 1.22 KB
# -*- 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
set _name fastavro
set _n [string index ${_name} 0]
name py-${_name}
version 0.14.3
categories-append net parallel science
platforms darwin
license MIT
maintainers {petr @petrrr} openmaintainer
description Fast read and write module for AVRO files
long_description ${description}
homepage https://fastavro.readthedocs.org/
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}/
checksums md5 966cb09c8be20c6e1a6c8f5e54548e63 \
rmd160 cf11ecc0877685863f3555277d8c6c2052aebea8 \
sha256 2acb475a1391ff1aa635c51c52420264368fcca2994408a88b0a1cc13fdad3bb
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
}