# -*- 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.81
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  317d2a85d0a39b17a360d70fe26a7700b8152256 \
                    sha256  2cf38112b6d8415ad39d6a611988cd11fb5f33eb09346666a87263beba9614e0 \
                    size    19324875

python.versions     37 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}
    }
}
