# -*- 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
PortGroup           github 1.0

name                py-commpy

platforms           darwin
supported_archs     noarch
license             BSD
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Digital Communication Algorithms with Python
long_description    ${description}

github.setup        veeresht CommPy 0.6.0 v
checksums           rmd160  d901c66990cd1184db0928a3fe954629629b3395 \
                    sha256  6b976d13ca9dcf56c67f8f90e0a606670f1b5928ea69d26e6be08a0d4a5b3fbc \
                    size    405950
revision            0

python.rootname     scikit-commpy
python.versions     27 35 36 37 38 39

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        github.setup veeresht CommPy 0.4.0 v
        checksums rmd160 588ac60dc9984009307648fe82173ae1d27bf3a2 \
                  sha256 7d467c9156e99154cddb9631d3111830af7e9330a35013a846acbb740f7d6e55 \
                  size   65632
        revision  0
    }

    depends_build-append \
        port:py${python.version}-setuptools

    # py-nose is only for test
    depends_lib-append \
        port:py${python.version}-matplotlib \
        port:py${python.version}-numpy \
        port:py${python.version}-scipy

    # some data is not present on the pypi package
    # therefore it fails; disable
    #depends_test-append port:py${python.version}-nose
    #test.run no

    livecheck.type  none
}

homepage            https://veeresht.github.com/CommPy
