# -*- 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 pyregion set _n [string index ${_name} 0] name py-${_name} version 2.0 categories-append science platforms darwin maintainers {gmail.com:Deil.Christoph @cdeil} {robitaille @astrofrog} openmaintainer description pyregion is a Python module to parse ds9 region files long_description ${description} homepage https://github.com/astropy/pyregion master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 c228b133a1573d2017e0857a9fbf23c5 \ rmd160 fb1bf3b692c799a05b39ba3b284af731502b8df0 \ sha256 a8ac5f764b53ec332f6bc43f6f2193ca13e8b7d5a3fb2e20ced6b2ea42a9d094 python.versions 27 34 35 36 37 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-numpy depends_run-append port:py${python.version}-matplotlib \ port:py${python.version}-parsing \ port:py${python.version}-astropy livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }