# -*- 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                mandown
version             1.12.2
revision            0
categories-prepend  net
platforms           any
license             AGPL-3
maintainers         nomaintainer
description         Comic/manga/webtoon downloader
long_description    {*}${description} and CBZ/EPUB/MOBI/PDF converter.
homepage            https://github.com/potatoeggy/mandown
checksums           rmd160  f8cd0c0fd66e0c084c2ab88a41a8864a595cdfb4 \
                    sha256  2fe41ae7472685128c96da9a567e5309a1ab4de1073ac0bdfd67bb33e9935782 \
                    size    41599
supported_archs     noarch

python.default_version  313
python.pep517_backend   poetry

depends_lib-append  port:comicon \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-feedparser \
                    port:py${python.version}-filetype \
                    port:py${python.version}-lxml \
                    port:py${python.version}-natsort \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-requests \
                    port:py${python.version}-slugify \
                    port:py${python.version}-typer-slim

# Not all supported sites actually work, see:
# https://github.com/potatoeggy/mandown/issues/109
# https://github.com/potatoeggy/mandown/issues/110

# GUI requires PyQt6 at runtime, so won’t launch.
notes "
    Please use the CLI version of mandown.
"
