source: trunk/dports/python/py-openopt/Portfile

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-openopt
8version             0.29
9revision            1
10categories-append   math science
11maintainers         nomaintainer
12description         Numerical optimization framework for python
13long_description    OpenOpt is a free optimization framework for python. \
14                    It interfaces with many different algorithms for solving \
15                    optimization problems, some of which are written in C or Fortran.
16
17platforms           darwin
18license             BSD
19
20homepage            http://openopt.org
21#the checksums (inevitably) mismatch with upstream as of 2013-07-6
22#master_sites        http://openopt.org/images/3/33/
23master_sites        http://distfiles.macports.org/python/
24distname            OpenOpt
25
26checksums           md5     e2cf031a18616c26cdd7d0a4615ef8d8 \
27                    sha1    f60213b5c01e133b3c06a9698b34484fe1948f2e \
28                    rmd160  c7e23f95fdfd4af7c5df960e23641fc1d6a784ba
29
30python.versions     26
31
32if {${name} ne ${subport}} {
33    use_zip             yes
34    depends_lib-append  port:py${python.version}-numpy
35    livecheck.type      none
36} else {
37    livecheck.url       ${master_sites}
38    livecheck.regex     OpenOpt(.*).zip
39}
Note: See TracBrowser for help on using the repository browser.