# -*- 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-narwhals
version             2.23.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Extremely lightweight and extensible compatibility layer between \
                    dataframe libraries.
long_description    {*}${description}
homepage            https://github.com/narwhals-dev/narwhals

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  bc876fa621beb90de18a0f811543f9f995a0732a \
                    sha256  13e7ff5b4bb4a2f77b907c2e4d8a76e273dfc1323a3c997440a2f9fd26aed408 \
                    size    656209

python.versions     310 311 312 313 314

python.pep517_backend \
                    uv

if {${name} ne ${subport}} {
    variant dask description {build with dask support} {
        depends_lib-append  \
                    port:py${python.version}-dask
    }

    variant pandas description {build with pandas support} {
        depends_lib-append  \
                    port:py${python.version}-pandas
    }

    variant pyarrow description {build with pyarrow support} {
        depends_lib-append  \
                    port:py${python.version}-pyarrow
    }

}
