# -*- 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
PortGroup           github 1.0

github.setup        kyrus python-junit-xml 1.9 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-junit-xml
revision            0

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

description         Creates JUnit XML test result documents that can be read \
                    by tools such as Jenkins
long_description    {*}${description}

checksums           rmd160  be2cacd2138b735d7f15db949a7caf3f016f64c2 \
                    sha256  fc3c243666574ce2db66a8502793d3d420556b7ff5123b63a63a199287d753d8 \
                    size    11111

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-six

    test.run        yes
}
