# -*- 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

set real_name       python2-pythondialog
name                py-${real_name}
version             3.4.0
worksrcdir          ${real_name}-${version}
distfiles           ${real_name}-${version}${extract.suffix}
license             LGPL-2.1+
maintainers         {mps @Schamschula} openmaintainer
description         pythondialog is a Python wrapper for the UNIX dialog utility.
long_description    ${description}
platforms           darwin
homepage            https://pypi.python.org/pypi/python2-pythondialog
master_sites        https://pypi.io/packages/source/p/python2-pythondialog

python.versions     27

checksums           rmd160  ca419d468d8d86f89c660573dddf7bd2e71fa844 \
                    sha256  a96d9cea9a371b5002b5575d1ec351233112519268d382ba6f3582323b3d1335

if {${name} eq ${subport}} {
    livecheck.type      regex
    livecheck.regex     ${real_name}-(\[0-9.\]+)${extract.suffix}
}