# -*- 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-enrich
version             1.2.7
revision            0
python.versions     310 311 312 313 314

license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         {judaew @judaew} openmaintainer

description         Enrich adds few missing features to the wonderful rich library.
long_description    Enriched extends rich library functionality with a set of \
                    changes that were not accepted to rich itself.
homepage            https://github.com/pycontribs/enrich

checksums           rmd160  e1a9d603485bda8653aac425cbe4def8c2f71cd7 \
                    sha256  0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893 \
                    size    16918

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-rich

    patchfiles      6a21526fed438cdcd3ee0f9be27d8348293adcee.patch
}
