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

bitbucket.setup     knepley code-generator 7a70680e2a89
name                py-generator
version             0.1.20120721

categories-append   devel math science
platforms           darwin
license             BSD
supported_archs     noarch
maintainers         nomaintainer

description         Cxx generator for python
long_description    ${description}

checksums           rmd160  5ce5ba93b7f512bcbd7a04eb4a8471bd72dd93d1 \
                    sha256  e1fcd8d40bba7f17b36cfcc49d3462dc26ab24a82d694a6ea3155f03318da166 \
                    size    25242

use_configure       no

deprecated.upstream_support no
python.versions     27 35 36

if {${name} ne ${subport}} {
    build {}

    destroot {
        xinstall -d ${destroot}${python.libdir}
        xinstall {*}[glob ${worksrcpath}/*.py] ${destroot}${python.libdir}
    }

    livecheck.type  none
}