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

python.versions     27 34 35 36 37

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  3426f45bc74c642501f5b52b795cd936a1b01d00 \
                    sha256  51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b \
                    size    7132

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

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