# -*- 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-patsy
version             1.0.2
revision            0

categories-append   math
supported_archs     noarch
platforms           {darwin any}
license             BSD

python.versions     39 310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Python package for describing statistical models.

long_description    A Python package for describing statistical models \
                    and for building design matrices. It is closely inspired \
                    by and compatible with the 'formula' mini-language used \
                    in R and S.

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

checksums           rmd160  62e739c23c8b74c3b65cbf86a834c0db0bba7072 \
                    sha256  cdc995455f6233e90e22de72c37fcadb344e7586fb83f06696f54d92f8ce74c0 \
                    size    399942

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

    test.run        yes

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