# -*- 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.4.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  7a030a6b0ad548270a831bd748a73522bba80883 \
                    sha256  da21933b0417b89515562656547a77b4931f98176eb173644c0d35032a33d6bb \
                    size    19943

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

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

    test.run        yes
}
