Ticket #39627: Portfile_py-lmfit

File Portfile_py-lmfit, 1.5 KB (added by jjstickel (Jonathan Stickel), 11 years ago)
Line 
1# -*- 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
2# $Id:
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-lmfit
8version                 0.7.2
9categories-append       math
10license                 BSD
11maintainers             gmail.com:jjstickel openmaintainer
12description             Least-Squares Minimization with Bounds and Constraints
13long_description        Built on top of scipy.optimize, lmfit provides a\
14                        Parameter object which can be set as fixed or free,\
15                        can have upper and/or lower bounds, or can be written\
16                        in terms of algebraic constraints of other Parameters.\
17platforms               darwin
18homepage                http://cars9.uchicago.edu/software/python/lmfit/index.html
19master_sites            http://pypi.python.org/packages/source/l/lmfit
20distname                lmfit-${version}
21
22checksums           rmd160  be3dc08cefc715c866aa32f037d2bf7fc5273b2e \
23                    sha256  f6c3cdf68ad70db304b450500c3064f0eff7d109c971378c10b86f195d0fc084
24
25python.versions         26 27 32
26python.default_version  27
27
28if {$subport != $name} {
29    depends_build-append       port:py${python.version}-setuptools
30    depends_lib-append         port:py${python.version}-scipy
31}
32
33variant uncertainties description "include additional uncertainty calculations" {
34    if {$subport != $name} {
35        depends_lib-append      port:py${python.version}-uncertainties
36    }
37}