Revision: 145135 https://trac.macports.org/changeset/145135 Author: petr@macports.org Date: 2016-01-26 10:28:12 -0800 (Tue, 26 Jan 2016) Log Message: ----------- py-fastavro: new port Added Paths: ----------- trunk/dports/python/py-fastavro/ trunk/dports/python/py-fastavro/Portfile Added: trunk/dports/python/py-fastavro/Portfile =================================================================== --- trunk/dports/python/py-fastavro/Portfile (rev 0) +++ trunk/dports/python/py-fastavro/Portfile 2016-01-26 18:28:12 UTC (rev 145135) @@ -0,0 +1,40 @@ +# -*- 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 + +set _name fastavro +set _n [string index ${_name} 0] + +name py-${_name} +version 0.9.8 +categories-append net parallel sciences +platforms darwin +license MIT + +maintainers petr openmaintainer + +description Fast read and write module for AVRO files +long_description ${description} + +homepage https://fastavro.readthedocs.org/ + +distname ${_name}-${version} +master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ + +checksums md5 af74d03d1fd3a2384ca655e08650ce76 \ + rmd160 546f374c2e10a4f189c925dacca5525c89104f62 \ + sha256 d6404f006e5b734021baed993c957ba12e98ef330a07ad9075c221738567f0cb + +python.versions 27 34 35 + +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}\"" +} Property changes on: trunk/dports/python/py-fastavro/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native