# -*- 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-biopython
version             1.83
revision            0

categories-append   science
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Python tools for computational molecular biology
long_description    {*}${description}: parsers for various file formats, interfaces for \
                    programs, tools for performing common operations on sequences, etc.

homepage            https://biopython.org/

checksums           rmd160  4960491925ab49f70cfcfe3c797038d5c0efb999 \
                    sha256  78e6bfb78de63034037afd35fe77cb6e0a9e5b62706becf78a7d922b16ed83f7 \
                    size    19431530

python.versions     38 39 310 311 312

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

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst NEWS.rst \
            LICENSE.rst DEPRECATED.rst CONTRIBUTING.rst \
            CONTRIB.rst ${destroot}${docdir}
    }
}
