# -*- 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
# $Id:

PortSystem              1.0
PortGroup               python 1.0

name                    py-lmfit
version                 0.7.2
categories-append       math
license                 BSD
maintainers             gmail.com:jjstickel openmaintainer
description             Least-Squares Minimization with Bounds and Constraints
long_description        Built on top of scipy.optimize, lmfit provides a\
                        Parameter object which can be set as fixed or free,\
                        can have upper and/or lower bounds, or can be written\
                        in terms of algebraic constraints of other Parameters.
platforms               darwin
homepage                http://cars9.uchicago.edu/software/python/lmfit/index.html
master_sites            http://pypi.python.org/packages/source/l/lmfit
distname                lmfit-${version}

checksums               rmd160  be3dc08cefc715c866aa32f037d2bf7fc5273b2e \
                        sha256  f6c3cdf68ad70db304b450500c3064f0eff7d109c971378c10b86f195d0fc084

python.versions         26 27 32 33
python.default_version  27

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

    notes-append "If py${python.version}-uncertainties is also installed, propagation of uncertainties to constrained parameters will be enabled."
}
