# -*- 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                weeb-cli
python.rootname     weeb_cli
version             3.0.1
revision            0
# There are issues with py-prompt_toolkit on 10.5 (and 10a190).
platforms           {darwin > 9}
categories-prepend  www multimedia net anime
platforms           any
license             GPL-3
maintainers         {@barracuda156 macos-powerpc.org:barracuda} \
                    openmaintainer
description         Anime downloader & more
long_description    No browser, no ads, no distractions. Just you and an unparalleled anime viewing experience.
homepage            https://github.com/ewgsta/weeb-cli
checksums           rmd160  d512519d09858f7d3b0266907aff3435e501747a \
                    sha256  2ba86a95bcb22033342e1f8e472f752525da39901bedb765358a8eae57603641 \
                    size    176953
supported_archs     noarch

# FIXME: https://github.com/ewgsta/weeb-cli/issues/67

python.default_version  314

depends_lib-append  port:py${python.version}-appdirs \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-curl-cffi \
                    port:py${python.version}-flask \
                    port:py${python.version}-lxml \
                    port:py${python.version}-packaging \
                    port:py${python.version}-prompt_toolkit \
                    port:py${python.version}-py7zr \
                    port:py${python.version}-pycryptodome \
                    port:py${python.version}-pyfiglet \
                    port:py${python.version}-pypresence \
                    port:py${python.version}-questionary \
                    port:py${python.version}-requests \
                    port:py${python.version}-rich \
                    port:py${python.version}-typer \
                    port:py${python.version}-yaml

depends_run-append  port:aria2 \
                    port:yt-dlp
