# -*- 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 PortGroup github 1.0 github.setup geomagpy magpy 0.4.7 v name py-magpy platforms {darwin any} supported_archs noarch license GPL-3 maintainers {mojca @mojca} openmaintainer description Geomagnetic analysis tools. long_description {*}${description} checksums rmd160 2493f090aa46af18693b985f2b7b1ac8879603cd \ sha256 0a3f789c7916393fa888855fcef51d476aa574fef9f9663b7a5f3e40ade7705a \ size 8177303 # python3 versions are currently broken python.versions 27 # 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 }