# -*- 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
PortGroup           sourcehut 1.0

sourcehut.setup     lioploum offpunk 2.8 v
revision            0
categories          net gemini
license             AGPL
maintainers         nomaintainer
description         Command-line and offline-first smolnet browser/feed reader \
                    for Gemini, Gopher, Spartan and Web by Ploum
long_description    {*}${description}. The goal of Offpunk is to be able \
                    to synchronise your content once (a day, a week, a month) \
                    and then browse/organise it while staying disconnected.

checksums           rmd160  a8274379d8fe2feff724d0de38679a1815343db8 \
                    sha256  7b487ac54b0abcdb3002e008d06717c4384b47a49e56534397b47299a31debc0 \
                    size    1028091

python.default_version 313

depends_lib-append  port:chafa \
                    port:less \
                    port:timg \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-chardet \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-feedparser \
                    port:py${python.version}-hatchling \
                    port:py${python.version}-lxml_html_clean \
                    port:py${python.version}-readability-lxml \
                    port:py${python.version}-requests \
                    port:py${python.version}-setproctitle
depends_run-append  port:xdg-utils
