PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        gccxml pygccxml 1.9.1 v
name                py-pygccxml

python.versions     27 34 35 36 37
categories-append   devel
maintainers         {mmoll @mamoll} openmaintainer
license             Boost-1
description         pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML.
long_description    ${description} It provides a simple framework to navigate C++ \
                    declarations, using Python classes.
platforms           darwin
supported_archs     noarch
checksums           rmd160  22101515b54349f5b0fa1e34e168d93fc0b31cd1 \
                    sha256  f57fcb7f2646c952efe623e8c3dc2e7aa057354c0a7daf331b93177776acca11

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

    test.run        yes
    test.cmd        python${python.branch}
    test.target     unittests/test_all.py

    livecheck.type  none
}