# -*- 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-jaraco.text
version             4.2.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Module for text manipulation
long_description    {*}${description}

homepage            https://github.com/jaraco/jaraco.text

distname            jaraco_text-${version}

checksums           rmd160  fd4bf29a746175f60a568ea735d9393aa1f3018e \
                    sha256  194e386aa5b15a6616019df87a6b29c00fd3c9c8b0475731b64633ca7afd495b \
                    size    20077

python.versions     310 311 312 313 314

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

    depends_lib-append \
                    port:py${python.version}-autocommand \
                    port:py${python.version}-jaraco.context \
                    port:py${python.version}-jaraco.functools \
                    port:py${python.version}-more-itertools
}
