# -*- 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-scikits-bootstrap
python.rootname     scikits.bootstrap
version             1.1.1
revision            0

categories-append   math science
license             BSD
supported_archs     noarch
platforms           {darwin any}
maintainers         {aronnax @lpsinger} openmaintainer

description         Bootstrap confidence interval estimation routines for Numpy/Scipy/Pandas
long_description    Algorithms for SciPy to calculate bootstrap confidence \
                    intervals for statistics functions applied to data.

distname            scikits_bootstrap-${version}

checksums           rmd160  da4d8370af7d987ba5b3c7abd437fdbe639fa8a6 \
                    sha256  6942bddee6ca1818499c3c7d945974fe5f6cf6116a707bd1df4c81c57849c905 \
                    size    19046

python.versions     313
python.pep517_backend hatch

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

    depends_lib-append \
                    port:py${python.version}-numpy

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

    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
}
