# -*- 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                yfinance
version             1.5.1
revision            0

categories-prepend  finance
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Download market data from Yahoo! Finance API
long_description    {*}${description}

homepage            https://github.com/ranaroussi/yfinance

checksums           rmd160  54c2fa81363214b7e1378a53ca936f7837738d43 \
                    sha256  89c48a1d45fb870f8e3066c22643c6911118ede9cead747b48925ce8e01a6940 \
                    size    167897

python.default_version 314

depends_lib-append \
                port:py${python.version}-beautifulsoup4 \
                port:py${python.version}-curl-cffi \
                port:py${python.version}-frozendict \
                port:py${python.version}-multitasking \
                port:py${python.version}-numpy \
                port:py${python.version}-pandas \
                port:py${python.version}-peewee \
                port:py${python.version}-platformdirs \
                port:py${python.version}-protobuf3 \
                port:py${python.version}-tz \
                port:py${python.version}-requests \
                port:py${python.version}-websockets

test.run        yes
python.test_framework unittest
