# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        panStamp python_tools 3.1.3
name                py-swap
categories-append   devel
platforms           darwin
maintainers         {g5pw @g5pw} openmaintainer
description         A Python library to communicate with SWAP networks through a panStamp.
long_description    ${description}

homepage            http://www.panstamp.com/

python.versions     27

if {${name} ne ${subport}} {

    checksums       rmd160  54b44f2191fa5b879d85ef37aca2fc4f8c85ea7e \
                    sha256  6d65b05424deeb012e36dd64de71e52f64d076cbea4db6b8d58c46dde503e270


    depends_lib	    port:py${python.version}-serial

    worksrcdir      ${worksrcdir}/pyswap
} else {
    livecheck.type  none
}
