# -*- 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
# $Id: Portfile 117784 2014-03-12 20:48:08Z jwa@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-robotremoteserver
set internal_name   robotremoteserver

version             1.0.1
license             Apache-2

categories-append   devel
maintainers         jwa openmaintainer
description         Remote server hosting test libraries
long_description    Allows hosting test libraries on different processes \
                    or machines than Robot Framework is running on

homepage            https://github.com/robotframework/PythonRemoteServer

platforms           darwin
python.versions     26 27 33 34
python.default_version  27

universal_variant   yes

master_sites        https://pypi.python.org/packages/source/r/robotremoteserver
distname            ${internal_name}-${version}

checksums           rmd160  c3385d2c3ee29faf170ae71406c2a78bb7e2efca \
                    sha256  b696542f2c53bd303d0af8c0940dc89c200160ae156e8aa01669709e3b0b90b8

if {${name} eq ${subport}} {
    livecheck.type  regex
    livecheck.url   https://pypi.python.org/pypi/robotremoteserver
    livecheck.regex ${internal_name}-(\[0-9.\]+)\\.tar\\.\[bg\]z
} else {
    livecheck.type  none
}
