# -*- 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             2.17.0
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  809ff175899c6549505fb367f6289bf5f478e8d3 \
                    sha256  8d5aa5ff9dab2462ba253938eac52963a9055a6c156f7b94cfbacb0b99a1aaa6 \
                    size    171990
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
