# -*- 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.0.1
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  028ac59502ff66ce1c2a97c0ac54ce5045cf8900 \
                    sha256  235e61ca807bc21110ca36a4d53888ecc22c42dcdf50a7c886e10dde3fd7f38c \
                    size    525541

python.versions     39 310 311 312 313

python.pep517_backend \
                    hatch

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
    }

}
