# -*- 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

python.rootname         HyFetch
name                    [string tolower ${python.rootname}]
version                 1.99.0
revision                1
categories-append       sysutils
platforms               {darwin any}
supported_archs         noarch
license                 MIT
maintainers             {@TheRealKeto gmail.com:therealketo} openmaintainer

description             Fast, highly customisable system info script with LGBTQ+ pride flags
long_description        {*}${description}.

homepage                https://github.com/hykilpikonna/hyfetch

checksums               rmd160  8e652106a8ca71d3a2a35d62510972db747daefe \
                        sha256  ddeb422fd797c710f0ad37d584fac466df89e39feddeef765492b2c0b529616e \
                        size    440751

# This should stay consistent with the python PG default
python.default_version  313

variant fastfetch description {Use fastfetch backend} {
    depends_run-append  path:bin/fastfetch:fastfetch
}

depends_run-append      port:py${python.version}-typing_extensions
