# -*- 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-anipy-api
python.rootname     anipy_api
version             3.8.21
revision            0
categories-append   anime
platforms           any
license             GPL-3
maintainers         nomaintainer
description         API for anipy-cli
long_description    {*}${description}
homepage            https://sdaqo.dev/anipy-cli
checksums           rmd160  f5e648de26941be45d2fd0a8c3bebe4390b5fddd \
                    sha256  cdc59ccc5fc41c801ccc800f2b017c9297e6a1a41612ca22ed8bc9c8e5850f5d \
                    size    34426
supported_archs     noarch

python.versions         310 311 312 313 314
python.pep517_backend   poetry

if {${subport} ne ${name}} {
    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-dataclasses-json \
                    port:py${python.version}-ffmpeg-python \
                    port:py${python.version}-levenshtein \
                    port:py${python.version}-m3u8 \
                    port:py${python.version}-pycountry \
                    port:py${python.version}-pycryptodomex \
                    port:py${python.version}-python-mpv \
                    port:py${python.version}-rapidfuzz \
                    port:py${python.version}-requests \
                    port:py${python.version}-simpleeval \
                    path:${python.pkgd}/urllib3/__init__.py:py${python.version}-urllib3
}
