# -*- 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-cx_Freeze
version             5.0.2
categories-append   devel
platforms           darwin
universal_variant   no
license             PSF
maintainers         nomaintainer

description         Scripts and modules for freezing Python scripts into executables
long_description    cx_Freeze is a set of scripts and modules for freezing Python \
                    scripts into executables in much the same way that py2exe and \
                    py2app do. Unlike these two tools, cx_Freeze is cross platform \
                    and should work on any platform that Python itself works on.
homepage            https://anthony-tuininga.github.io/cx_Freeze/

master_sites        pypi:c/cx_Freeze
distname            cx_Freeze-${version}
checksums           rmd160  bf969fb2ad526aa15d5be90d0875bd5d51fd3ce8 \
                    sha256  253466f0acde1661d67aead4fe2493ffd496e0b17b63baf95e06d0f28b4c7d7d

python.versions     27 36

if {${name} ne ${subport}} {
    livecheck.type  none
} else {
    livecheck.type  regex
    livecheck.url   ${homepage}
    livecheck.regex <p>Version (\\d+\\.\\d+\\.\\d+), released
}