# -*- 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 _name           portend
set _n              [string index ${_name} 0]

name                py-${_name}
version             2.2
categories-append   devel
platforms           darwin
supported_archs     noarch
license             BSD

maintainers         {khindenburg @kurthindenburg} openmaintainer

description         TCP port monitoring utilities
long_description    ${description}

homepage            https://pypi.python.org/pypi/${_name}

distname            ${_name}-${version}
master_sites        pypi:${_n}/${_name}/

checksums           rmd160  c26f2cf5c2a422d75e1e0bb60b80d40df11f31fa \
                    sha256  bc48d3d99e1eaf2e9406c729f8848bfdaf87876cd3560dc3ec6c16714f529586

python.versions     27 34 35 36

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

    livecheck.type  none
} else {
    livecheck.type  pypi
}