Changeset 81034
- Timestamp:
- 07/23/11 18:58:26 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 12 edited
-
py-numpy/Portfile (modified) (1 diff)
-
py-scipy/Portfile (modified) (2 diffs)
-
py25-numpy/Portfile (modified) (1 diff)
-
py25-scipy/Portfile (modified) (2 diffs)
-
py26-numpy/Portfile (modified) (1 diff)
-
py26-scipy/Portfile (modified) (2 diffs)
-
py27-numpy/Portfile (modified) (1 diff)
-
py27-scipy/Portfile (modified) (2 diffs)
-
py31-numpy/Portfile (modified) (1 diff)
-
py31-scipy/Portfile (modified) (2 diffs)
-
py32-numpy/Portfile (modified) (1 diff)
-
py32-scipy/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-numpy/Portfile
r80750 r81034 46 46 depends_lib-append port:atlas 47 47 } 48 49 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will50 # link with that supplied by Apple's Accelerate framework.51 default_variants +atlas52 48 53 49 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py-scipy/Portfile
r80751 r81034 24 24 port:py-nose \ 25 25 port:SuiteSparse \ 26 port:swig-python \ 27 port:atlas 26 port:swig-python 28 27 29 28 worksrcdir ${distname} 30 29 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 32 ATLAS=${prefix}/lib \ 33 LAPACK=${prefix}/lib \ 34 BLAS=${prefix}/lib 30 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 35 31 36 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 37 ATLAS=${prefix}/lib \ 38 LAPACK=${prefix}/lib \ 39 BLAS=${prefix}/lib 32 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 40 33 41 34 python.add_archflags no 42 35 universal_variant no 43 44 #pre-fetch {45 # if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {46 # ui_error "The python variant of swig is not installed. Please run"47 # ui_error "the following command:"48 # ui_error "$ sudo port -fn upgrade swig +python"49 # error "python variant of swig required"50 # }51 #}52 36 53 37 post-patch { … … 55 39 } 56 40 57 variant no_atlas description "Do not use macports atlaslibraries" {58 depends_lib- deleteport:atlas41 variant atlas description "Use MacPorts ATLAS libraries" { 42 depends_lib-append port:atlas 59 43 60 build.env- deleteATLAS=${prefix}/lib \44 build.env-append ATLAS=${prefix}/lib \ 61 45 LAPACK=${prefix}/lib \ 62 46 BLAS=${prefix}/lib 63 47 64 destroot.env- deleteATLAS=${prefix}/lib \48 destroot.env-append ATLAS=${prefix}/lib \ 65 49 LAPACK=${prefix}/lib \ 66 50 BLAS=${prefix}/lib -
trunk/dports/python/py25-numpy/Portfile
r80750 r81034 46 46 depends_lib-append port:atlas 47 47 } 48 49 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will50 # link with that supplied by Apple's Accelerate framework.51 default_variants +atlas52 48 53 49 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py25-scipy/Portfile
r80751 r81034 25 25 port:py25-nose \ 26 26 port:SuiteSparse \ 27 port:swig-python \ 28 port:atlas 27 port:swig-python 29 28 30 29 worksrcdir ${distname} 31 30 32 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 33 ATLAS=${prefix}/lib \ 34 LAPACK=${prefix}/lib \ 35 BLAS=${prefix}/lib 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 36 32 37 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 38 ATLAS=${prefix}/lib \ 39 LAPACK=${prefix}/lib \ 40 BLAS=${prefix}/lib 33 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 41 34 42 35 python.add_archflags no 43 36 universal_variant no 44 45 #pre-fetch {46 # if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {47 # ui_error "The python variant of swig is not installed. Please run"48 # ui_error "the following command:"49 # ui_error "$ sudo port -fn upgrade swig +python"50 # error "python variant of swig required"51 # }52 #}53 37 54 38 post-patch { … … 56 40 } 57 41 58 variant no_atlas description "Do not use macports atlaslibraries" {59 depends_lib- deleteport:atlas42 variant atlas description "Use MacPorts ATLAS libraries" { 43 depends_lib-append port:atlas 60 44 61 build.env- deleteATLAS=${prefix}/lib \45 build.env-append ATLAS=${prefix}/lib \ 62 46 LAPACK=${prefix}/lib \ 63 47 BLAS=${prefix}/lib 64 48 65 destroot.env- deleteATLAS=${prefix}/lib \49 destroot.env-append ATLAS=${prefix}/lib \ 66 50 LAPACK=${prefix}/lib \ 67 51 BLAS=${prefix}/lib -
trunk/dports/python/py26-numpy/Portfile
r81023 r81034 47 47 depends_lib-append port:atlas 48 48 } 49 50 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will51 # link with that supplied by Apple's Accelerate framework.52 default_variants +atlas53 49 54 50 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py26-scipy/Portfile
r80751 r81034 25 25 port:py26-nose \ 26 26 port:SuiteSparse \ 27 port:swig-python \ 28 port:atlas 27 port:swig-python 29 28 30 29 worksrcdir ${distname} 31 30 32 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 33 ATLAS=${prefix}/lib \ 34 LAPACK=${prefix}/lib \ 35 BLAS=${prefix}/lib 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 36 32 37 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 38 ATLAS=${prefix}/lib \ 39 LAPACK=${prefix}/lib \ 40 BLAS=${prefix}/lib 33 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 41 34 42 35 post-patch { … … 44 37 } 45 38 46 variant no_atlas description "Do not use macports atlaslibraries" {47 depends_lib- deleteport:atlas39 variant atlas description "Use MacPorts ATLAS libraries" { 40 depends_lib-append port:atlas 48 41 49 build.env- deleteATLAS=${prefix}/lib \42 build.env-append ATLAS=${prefix}/lib \ 50 43 LAPACK=${prefix}/lib \ 51 44 BLAS=${prefix}/lib 52 45 53 destroot.env- deleteATLAS=${prefix}/lib \46 destroot.env-append ATLAS=${prefix}/lib \ 54 47 LAPACK=${prefix}/lib \ 55 48 BLAS=${prefix}/lib -
trunk/dports/python/py27-numpy/Portfile
r81023 r81034 46 46 depends_lib-append port:atlas 47 47 } 48 49 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will50 # link with that supplied by Apple's Accelerate framework.51 default_variants +atlas52 48 53 49 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py27-scipy/Portfile
r80751 r81034 25 25 port:py27-nose \ 26 26 port:SuiteSparse \ 27 port:swig-python \ 28 port:atlas 27 port:swig-python 29 28 30 29 worksrcdir ${distname} 31 30 32 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 33 ATLAS=${prefix}/lib \ 34 LAPACK=${prefix}/lib \ 35 BLAS=${prefix}/lib 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 36 32 37 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 38 ATLAS=${prefix}/lib \ 39 LAPACK=${prefix}/lib \ 40 BLAS=${prefix}/lib 33 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 41 34 42 35 post-patch { … … 44 37 } 45 38 46 variant no_atlas description "Do not use macports atlaslibraries" {47 depends_lib- deleteport:atlas39 variant atlas description "Use MacPorts ATLAS libraries" { 40 depends_lib-append port:atlas 48 41 49 build.env- deleteATLAS=${prefix}/lib \42 build.env-append ATLAS=${prefix}/lib \ 50 43 LAPACK=${prefix}/lib \ 51 44 BLAS=${prefix}/lib 52 45 53 destroot.env- deleteATLAS=${prefix}/lib \46 destroot.env-append ATLAS=${prefix}/lib \ 54 47 LAPACK=${prefix}/lib \ 55 48 BLAS=${prefix}/lib -
trunk/dports/python/py31-numpy/Portfile
r81023 r81034 46 46 depends_lib-append port:atlas 47 47 } 48 49 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will50 # link with that supplied by Apple's Accelerate framework.51 default_variants +atlas52 48 53 49 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py31-scipy/Portfile
r80751 r81034 25 25 port:py31-nose \ 26 26 port:SuiteSparse \ 27 port:swig-python \ 28 port:atlas 27 port:swig-python 29 28 30 29 worksrcdir ${distname} 31 30 32 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 33 ATLAS=${prefix}/lib \ 34 LAPACK=${prefix}/lib \ 35 BLAS=${prefix}/lib 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 36 32 37 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 38 ATLAS=${prefix}/lib \ 39 LAPACK=${prefix}/lib \ 40 BLAS=${prefix}/lib 33 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 41 34 42 35 post-patch { … … 44 37 } 45 38 46 variant no_atlas description "Do not use macports atlaslibraries" {47 depends_lib- deleteport:atlas39 variant atlas description "Use MacPorts ATLAS libraries" { 40 depends_lib-append port:atlas 48 41 49 build.env- deleteATLAS=${prefix}/lib \42 build.env-append ATLAS=${prefix}/lib \ 50 43 LAPACK=${prefix}/lib \ 51 44 BLAS=${prefix}/lib 52 45 53 destroot.env- deleteATLAS=${prefix}/lib \46 destroot.env-append ATLAS=${prefix}/lib \ 54 47 LAPACK=${prefix}/lib \ 55 48 BLAS=${prefix}/lib -
trunk/dports/python/py32-numpy/Portfile
r81023 r81034 46 46 depends_lib-append port:atlas 47 47 } 48 49 # use ATLAS by default; if MacPorts' ATLAS is not used, numpy will50 # link with that supplied by Apple's Accelerate framework.51 default_variants +atlas52 48 53 49 # when using ATLAS (whether by default or specified by the user via -
trunk/dports/python/py32-scipy/Portfile
r80751 r81034 25 25 port:py32-nose \ 26 26 port:SuiteSparse \ 27 port:swig-python \ 28 port:atlas 27 port:swig-python 29 28 30 29 worksrcdir ${distname} 31 30 32 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 33 ATLAS=${prefix}/lib \ 34 LAPACK=${prefix}/lib \ 35 BLAS=${prefix}/lib 31 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 36 32 37 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" \ 38 ATLAS=${prefix}/lib \ 39 LAPACK=${prefix}/lib \ 40 BLAS=${prefix}/lib 33 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 41 34 42 35 post-patch { … … 44 37 } 45 38 46 variant no_atlas description "Do not use macports atlaslibraries" {47 depends_lib- deleteport:atlas39 variant atlas description "Use MacPorts ATLAS libraries" { 40 depends_lib-append port:atlas 48 41 49 build.env- deleteATLAS=${prefix}/lib \42 build.env-append ATLAS=${prefix}/lib \ 50 43 LAPACK=${prefix}/lib \ 51 44 BLAS=${prefix}/lib 52 45 53 destroot.env- deleteATLAS=${prefix}/lib \46 destroot.env-append ATLAS=${prefix}/lib \ 54 47 LAPACK=${prefix}/lib \ 55 48 BLAS=${prefix}/lib
Note: See TracChangeset
for help on using the changeset viewer.

