# -*- 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-editor
version             1.0.3
revision            0
categories-append   textproc
platforms           darwin
license             Apache
supported_archs     noarch

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Programmatically open an editor, capture the result.
long_description    ${description}

homepage            https://github.com/fmoo/python-editor
master_sites        pypi:p/python-editor

distname            python-editor-${version}

checksums           rmd160  0fc050d9a7049274753f66b7f9d33a1a3e0a4945 \
                    sha256  a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565

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

    livecheck.type      none
} else {
    livecheck.name      python-editor
}