# -*- 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-x2go
maintainers         nomaintainer
version             0.4.0.9
checksums           rmd160  ad21046fa3ba8083a8fcd8a87cb571ddc3a68c34 \
                    sha256  812115b43068a58c4be51b83fbf1aec9ffdf1a205830e7e22f31a8123b656ca2 \
                    size    196666

categories-append   net
license             AGPL-3
homepage            https://wiki.x2go.org/doku.php/
description         Python bindings for the x2go terminal server solution.
long_description    \
    Python X2Go provides a client-side X2go API for the Python programming\
    language. Python X2go is mostly interesting for developers who want to\
    incorporate X2go client support into their own Python applications.

platforms           {darwin any}
supported_archs     noarch

master_sites        http://code.x2go.org/releases/source/python-x2go/
distname            python-x2go-${version}

python.versions     27 35 36
python.default_version 27

if {${name} ne ${subport}} {
    livecheck.type          none
    depends_build-append    port:py${python.version}-setuptools
} else {
    livecheck.type          regex
    livecheck.url           ${master_sites}
    livecheck.regex         "python-x2go-(\\d+(?:\\.\\d)*)[quotemeta ${extract.suffix}]<"
}
