# -*- 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-algopy
version             0.5.7
categories-append   math
platforms           darwin
license             BSD

maintainers         {reneeotten @reneeotten} openmaintainer

description         AlgoPy is a Research Prototype for Algorithmic Differentation in Python
long_description    ${description}

homepage            https://github.com/b45ch1/algopy
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}
use_zip             yes

checksums           rmd160  afde10c39cdb717c11586c6f19710581f646b05c \
                    sha256  6955f676fce3858fa3585cb7f3f7e1796cb93377d24016419b6699291584b7df \
                    size    189516

python.versions     27 36 37

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy

    livecheck.type  none
}