# -*- 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-pastel
version             0.2.1
revision            0
categories-append   devel
platforms           {darwin any}
license             MIT
supported_archs     noarch

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

maintainers         nomaintainer

description         Bring colors to your terminal.

long_description    \
    Pastel is a simple library to help you colorize strings \
    in your terminal.

homepage            https://github.com/sdispater/pastel

checksums           rmd160  51b3404d7c9172083bbdb9eac9e47f5d5a13d766 \
                    sha256  e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d \
                    size    7555

if {${name} ne ${subport}} {
    post-destroot {
        # https://github.com/sdispater/pastel/issues/7
        delete      ${destroot}${python.pkgd}/tests
    }
}
