# -*- 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-panedr
version             0.5.2
revision            0
categories-append   science
platforms           {darwin any}
license             LGPL-2.1+
supported_archs     noarch

python.versions     312

maintainers         {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer

description         Panedr reads a Gromacs EDR file and returns its content as a pandas dataframe.
long_description    {*}${description} \
                    The library exposes one function—the edr_to_df function—that gets the path \
                    to an EDR file and returns a pandas dataframe.

homepage            https://github.com/jbarnoud/panedr

checksums           rmd160  aab8bda18f35abdd33bde44e962c5b0c5cef2314 \
                    sha256  45eb926a1176789998f041be4d2bea2ed5b70c6540cbaf8903d82473cfd886b2 \
                    size    15642174

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-pandas \
                            port:py${python.version}-pbr

    depends_test-append     port:py${python.version}-six

    test.run                yes
}
