PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        gccxml pygccxml 2.1.0 v
name                py-pygccxml

python.versions     27 35 36 37 38 39
categories-append   devel
maintainers         nomaintainer
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  2664d1b5daafc6200b7a32d1d8e6edfb6c8a80e4 \
                    sha256  555523cac7b00478d5b498d71fb998ab662a6e17884faecfeed041769f142238 \
                    size    3164145

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
}
