# -*- 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: Portfile 117401 2014-02-25 15:59:54Z rowue@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pyphant-fmf
version             1.0b3
categories-append   science
description         Full-Metadata Format toolbox for py-pyphant
maintainers         fmf.uni-freiburg.de:servicegruppe.wissinfo \
                    fmf.uni-freiburg.de:alexander.held rowue
long_description    This toolbox enables the py-pyphant framework to read \
                    files written in the Full-Metadata Format (FMF). \
                    See http://arxiv.org/abs/0904.1299 for an introduction \
                    to the FMF. There is also support for writing files \
                    in the FMF, although this feature is currently not \
                    accessible from the py-pyphant GUI.
homepage            http://www.fmf.uni-freiburg.de/service/servicegruppen/sg_wissinfo/projekte/Pyphant

platforms           darwin
# depends_lib         port:py26-scipy


master_sites        sourceforge:pyphant
# master_sites        http://pyphant.sourceforge.net/nightly-builds/
distname            pyphant.fmf-${version}
# use_bzip2           yes

checksums           sha256  8ef7acf200f6a7a8805d4f91680fd771129f1c68178d8d710b7a9a322267cdfc \
                    rmd160  42d70609400f636b2c4ffced5e5f2192f76ac4ad

python.versions     26 27

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools
    depends_lib         port:py${python.version}-pyphant
    if {${python.version} == 26} {
        depends_lib-append    port:py26-wxpython-2.8
    } else {
        depends_lib-append    port:py${python.version}-wxpython-3.0
    }
}
