# -*- 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.classes
version             3.4.0
revision            0

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

description         Utility functions for Python class constructs
long_description    {*}${description}

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

checksums           rmd160  f969bbe35a887fa80e3464d8b6ed72f7c5918277 \
                    sha256  47a024b51d0239c0dd8c8540c6c7f484be3b8fcf0b2d85c13825780d3b3f3acd \
                    size    11780

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

    # This is currently broken due to pytest (I think)
    test.run        yes
}
