# -*- 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-quantecon
version             0.12.0
revision            0

categories-append   science finance
license             MIT
maintainers         nomaintainer
description         QuantEcon is a high performance, open source Python code library for economics
long_description    The quantecon Python library consists of a number of modules which includes \
                    game theory (game_theory), markov chains (markov), random generation \
                    utilities (random), a collection of tools (tools), and other utilities (util) \
                    which are mainly used by developers internal to the package.
homepage            https://quantecon.org/quantecon-py/

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  0d05754637bcad8c30f4b00c48f0a36a6ca58178 \
                    sha256  ebde3d16a7f63c819de52e2cd82309747efed9796274eda247cc89cca431d767 \
                    size    310778

python.versions     310 311 312 313 314

python.pep517_backend \
                    flit

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

    depends_test-append \
                    port:py${python.version}-coverage \
                    port:py${python.version}-flake8 \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pytest

    patchfiles      patch-pyproject.toml.diff

    test.run        yes
}
