# -*- 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            1
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}} {
    if {${python.version} == 39} {
        version     1.5.0
        revision    1
        checksums   rmd160  8edb7c11d91b8b8b81917a29012d749cd49689ca \
                    sha256  c860242cf20e69d5aab2ec3c5d6c8c2a15f19e4b25b28b8fca2c2a12cefae9d8 \
                    size    104177
    }

    depends_build-append \
                        port:py${python.version}-versioneer

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