# -*- 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.functools
version             4.3.0
revision            0

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

description         Additional functools in the spirit of stdlib's functools.
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}/

distname            jaraco_functools-${version}

checksums           rmd160  5c08b7957b72d6fde89d4ef2bba2e41ceec99937 \
                    sha256  cfd13ad0dd2c47a3600b439ef72d8615d482cedcff1632930d6f28924d92f294 \
                    size    19755

python.versions     39 310 311 312 313

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}-more-itertools

    depends_test-append \
                    port:py${python.version}-jaraco.classes

    test.run        yes
}
