# -*- 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 PortGroup github 1.0 github.setup geomagpy magpy 9169d54 name py-magpy version 0.3.4 platforms darwin license GPL-3 maintainers mojca openmaintainer description Geomagnetic analysis tools. long_description ${description} checksums rmd160 958e595ac0b72edc603c8f1f352218c83ace9913 \ sha256 cf96a7176da5183b056cd55a57adf972b87c32f0804305597275025e769c599c python.versions 27 35 # TODO: # - add a port py-autobahn if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools depends_run-append \ port:py${python.version}-numpy \ port:py${python.version}-netcdf4 \ port:py${python.version}-pexpect # optional depends_run-append \ port:py${python.version}-pymysql \ port:py${python.version}-matplotlib \ port:py${python.version}-scipy if {${python.version} == 27} { depends_run-append \ port:py${python.version}-wxpython-3.0 } post-patch { reinplace "s|/usr/bin/env python|${python.bin}|" ${worksrcpath}/magpy/gui/xmagpy.py } livecheck.type none } else { livecheck.url ${github.homepage}/blob/master/GeomagPy.egg-info/PKG-INFO livecheck.regex {Version: v([0-9.-]*)} livecheck.version ${version} }