# -*- 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-openopt
version             0.5629
revision            0
categories-append   math science
maintainers         nomaintainer
description         Numerical optimization framework for python
long_description    OpenOpt is a free optimization framework for python. \
                    It interfaces with many different algorithms for solving \
                    optimization problems, some of which are written in C or Fortran.

platforms           darwin
license             BSD

homepage            https://pypi.org/project/openopt/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  55cf899125efad4d4995cc9b8b0d063e8350bb9f \
                    sha256  2c6901a22493053c74080c4eb66ccc46afdbf5b7cf056e3a0334b9bc88ce856a \
                    size    310230

python.versions     27 36 37

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-numpy \
                    port:py${python.version}-setproctitle \
                    port:py${python.version}-sortedcontainers

    livecheck.type  none
}