# -*- 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

name                py-barnaba
version             0.1.9
revision            0

categories-append   science
supported_archs     noarch
platforms           {darwin any}
license             GPL-3
maintainers         {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer

description         BaRNAba is a tool for analyzing RNA three-dimensional structures and simulations.
long_description    {*}${description} \
                    BaRNAba uses MDtraj to read/write topology and trajectory files, as such it \
                    supports several formats including pdb, xtc, trr, dcd, binpos, netcdf, mdcrd, \
                    prmtop, and more.

homepage            https://github.com/srnas/barnaba

checksums           rmd160  230772691891e1f86a43198d3f5d179e7db19649 \
                    sha256  670564d9599178be029b40de907b23f225eae4b9983b7338ce870acecd8433ea \
                    size    77008

python.versions     310

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools_scm \
                            port:py${python.version}-setuptools_scm_git_archive

    depends_lib-append      port:py${python.version}-future \
                            port:py${python.version}-mdtraj \
                            port:py${python.version}-numpy \
                            port:py${python.version}-pandas \
                            port:py${python.version}-scikit-learn \
                            port:py${python.version}-scipy

    test.run                yes
    python.test_framework   nose
}
