# -*- 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-bottleneck
version             1.6.0
revision            0
categories-append   math
license             BSD

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Fast NumPy array functions written in Cython

long_description    Bottleneck is a set of NumPy ufuncs rewritten in \
                    Cython to boost performance. The collection contains \
                    mainly operations dealing with NaN and sliding windows.

homepage            https://github.com/pydata/bottleneck

checksums           rmd160  fefc2c4fea3fe82ace970928ad8247f8bdba4c77 \
                    sha256  028d46ee4b025ad9ab4d79924113816f825f62b17b87c9e1d0d8ce144a4a0e31 \
                    size    104311

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

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

    # py-numpy >= 2.0.0 is only required when building wheels for PyPI
    build.args-append   --skip-dependency-check
}
