# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        rasbt mlxtend 0.19.0 v
name                py-mlxtend
github.tarball_from archive
revision            0

categories-append   science
license             BSD CC-BY-SA-4
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Mlxtend (machine learning extensions) is a Python library \
                    of useful tools for the day-to-day data science tasks.
long_description    {*}${description}

homepage            https://rasbt.github.io/mlxtend/

checksums           rmd160  cb0dd39effb212a41a6475a0acd71062914bccef \
                    sha256  8c14919f49953e987d570d170532415292bd89772807883d837c717017cb9281 \
                    size    16557887

python.versions     310

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-joblib \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-scikit-learn \
                    port:py${python.version}-scipy

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md LICENSE-BSD3.txt LICENSE-CC-BY.txt \
            ${destroot}${docdir}
    }
}
