Changeset 76386


Ignore:
Timestamp:
Feb 21, 2011, 8:59:37 PM (9 years ago)
Author:
adfernandes@…
Message:

new port: py27-pymc, based on py26-pymc

Location:
trunk/dports/python/py27-pymc
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py27-pymc/Portfile

    r71127 r76386  
    33
    44PortSystem          1.0
    5 PortGroup           python26 1.0
     5PortGroup           python27 1.0
    66
    7 name                py26-pymc
     7name                py27-pymc
    88version             2.0
    99maintainers         mnick
     
    3030
    3131patchfiles-append   patch-pymc-gibbsit.f.diff
    32 depends_lib-append  port:py26-numpy
     32depends_lib-append  port:py27-numpy
    3333python.add_archflags no
    3434
    35 variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 g95 {
     35variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 g95 {
    3636    depends_lib-append    port:gcc42
    3737    set fc                ${prefix}/bin/gfortran-mp-4.2
     
    3939}
    4040
    41 variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 g95 {
     41variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 g95 {
    4242    depends_lib-append    port:gcc43
    4343    set fc                ${prefix}/bin/gfortran-mp-4.3
     
    4545}
    4646
    47 variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 g95 {
     47variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 g95 {
    4848    depends_lib-append    port:gcc44
    4949    set fc                ${prefix}/bin/gfortran-mp-4.4
     
    5151}
    5252
    53 variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 {
     53variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 g95 {
     54    depends_lib-append    port:gcc45
     55    set fc                ${prefix}/bin/gfortran-mp-4.5
     56    build.env-append      F77=${fc} F90=${fc}
     57}
     58
     59variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 gcc45 {
    5460    depends_lib-append    port:g95
    5561    set fc                ${prefix}/bin/g95
     
    5763}
    5864
    59 if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset g95]} {
     65if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc45] && ![variant_isset g95]} {
    6066           default_variants +gcc44
    6167}
Note: See TracChangeset for help on using the changeset viewer.