# -*- 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.collections
version             5.2.1
revision            0

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

description         Collection objects similar to those in stdlib by jaraco
long_description    {*}${description}

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

distname            jaraco_collections-${version}

checksums           rmd160  16be6531a4f3eda73ebfc24fcc4728fe8f3ee140 \
                    sha256  dab81970bad6f0ab53b20745f1b01da37926e4c0fcd425046aa45e0d8efa18ed \
                    size    19729

python.versions     310 311 312 313 314

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

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

    test.run        yes
}
