|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
py25-cvxopt most recent diffversion 1.1.1
Scroll down toward the bottom of the page to get installation instructions for py25-cvxopt. The raw portfile for py25-cvxopt 1.1.1 is located here: http://py25-cvxopt.darwinports.com/dports/python/py25-cvxopt/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/py25-cvxopt # -*- 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 The py25-cvxopt Portfile 56586 2009-08-30 16:33:15Z mnick PortSystem 1.0 PortGroup python25 1.0 Category:-append math Name: py25-cvxopt Version: 1.1.1 distname cvxopt-${version} Maintainers: mnick Platform: darwin license GPL Description: Python module for convex optimization Long Description: CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. Homepage: http://abel.ee.ucla.edu/cvxopt distfiles cvxopt-${version}.tar.gz Master Sites: http://abel.ee.ucla.edu/cvxopt/download.php Checksums: md5 577e0f2f2288df34310844c67ccd2d77 sha1 391953aea9ce19a3b5c8055237bb26e79798696e rmd160 86f729c4f7cd7eac8253efc9fe6f3ac06c940413 Variant: atlas description {Use ATLAS as BLAS, LAPACK library} { depends_lib-append port:atlas } Variant: gsl description {Allow linking to gsl} { depends_lib-append port:gsl } Variant: fftw description {Link to fftw library} { depends_lib-append port:fftw-3 } Variant: glpk description {Link to glpk library} { depends_lib-append port:glpk } Variant: dsdp description {Link to DSDP library} { depends_lib-append port:DSDP } default_variants +gsl +glpk +fftw +dsdp configure { if {[variant_isset atlas]} { reinplace "s|ATLAS_LIB_DIR = .*|ATLAS_LIB_DIR = '${prefix}/lib'|" ${worksrcpath}/src/setup.py # default to cblas if ${prefix}/lib/libblas.dylib doesnt exist if {![file exists ${prefix}/lib/libblas.dylib]} { reinplace "s|libraries = \\(.*\\)'blas'\\(.*\\)|libraries = \\1'cblas'\\2|g" ${worksrcpath}/src/setup.py } } if {[variant_isset gsl]} { reinplace "s|BUILD_GSL = .*|BUILD_GSL = 1|" ${worksrcpath}/src/setup.py reinplace "s|GSL_LIB_DIR = .*|GSL_LIB_DIR = '${prefix}/lib'|" ${worksrcpath}/src/setup.py reinplace "s|GSL_INC_DIR = .*|GSL_INC_DIR = '${prefix}/include'|" ${worksrcpath}/src/setup.py } if {[variant_isset glpk]} { reinplace "s|BUILD_GLPK = .*|BUILD_GLPK = 1|" ${worksrcpath}/src/setup.py reinplace "s|GLPK_LIB_DIR = .*|GLPK_LIB_DIR = '${prefix}/lib'|" ${worksrcpath}/src/setup.py reinplace "s|GLPK_INC_DIR = .*|GLPK_INC_DIR = '${prefix}/include'|" ${worksrcpath}/src/setup.py } if {[variant_isset fftw]} { reinplace "s|BUILD_FFTW = .*|BUILD_FFTW = 1|" ${worksrcpath}/src/setup.py reinplace "s|FFTW_LIB_DIR = .*|FFTW_LIB_DIR = '${prefix}/lib'|" ${worksrcpath}/src/setup.py reinplace "s|FFTW_INC_DIR = .*|FFTW_INC_DIR = '${prefix}/include'|" ${worksrcpath}/src/setup.py } if {[variant_isset dsdp]} { reinplace "s|BUILD_DSDP = .*|BUILD_DSDP = 1|" ${worksrcpath}/src/setup.py reinplace "s|DSDP_LIB_DIR = .*|DSDP_LIB_DIR = '${prefix}/lib'|" ${worksrcpath}/src/setup.py reinplace "s|DSDP_INC_DIR = .*|DSDP_INC_DIR = '${prefix}/include'|" ${worksrcpath}/src/setup.py } } build.dir ${worksrcpath}/src destroot.dir ${build.dir} livecheck.type regex livecheck.regex Current releaseVersion (.*) includes: If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/py25-cvxoptYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using py25-cvxopt with these commands: % man py25-cvxopt Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




