# -*- 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.1.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  3fdf948e5bccf73fa8983b78bed7fea745cb1ba0 \
                    sha256  70f7e0e2ae076498e212562325e805204fc092d7b4c17e0e86c959e249701a9d \
                    size    19159

python.versions     38 39 310 311 312 313

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

    depends_lib-append \
                    port:py${python.version}-more-itertools

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

    test.run        yes
}