[107913] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon Jul 8 22:00:10 PDT 2013
Revision: 107913
https://trac.macports.org/changeset/107913
Author: jmr at macports.org
Date: 2013-07-08 22:00:10 -0700 (Mon, 08 Jul 2013)
Log Message:
-----------
py*-pymc: unify
Modified Paths:
--------------
trunk/dports/python/py-pymc/Portfile
Added Paths:
-----------
trunk/dports/python/py-pymc/
Removed Paths:
-------------
trunk/dports/python/py25-pymc/
trunk/dports/python/py26-pymc/
trunk/dports/python/py27-pymc/
Modified: trunk/dports/python/py-pymc/Portfile
===================================================================
--- trunk/dports/python/py27-pymc/Portfile 2013-07-09 03:46:48 UTC (rev 107912)
+++ trunk/dports/python/py-pymc/Portfile 2013-07-09 05:00:10 UTC (rev 107913)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-pymc
+name py-pymc
version 2.0
revision 1
maintainers mnick
@@ -21,56 +21,63 @@
platforms darwin
homepage http://code.google.com/p/pymc/
-master_sites googlecode:pymc
+master_sites googlecode:pymc http://distfiles.macports.org/python/
distname pymc-${version}
-use_zip yes
checksums md5 fc24deb12a72903832c450a913264603 \
sha1 228843d16be02dc6f26f2bdfffc8846801f1d8ee \
rmd160 6e7775cad5aa185b190e89b0d6a4fed48adf335a
-patchfiles-append patch-pymc-gibbsit.f.diff
-depends_lib-append port:py27-numpy
-python.add_archflags no
+python.versions 25 26 27
-variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
- depends_lib-append port:gcc43
- set fc ${prefix}/bin/gfortran-mp-4.3
- build.env-append F77=${fc} F90=${fc}
-}
+if {$subport ne $name} {
+ use_zip yes
-variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
- depends_lib-append port:gcc44
- set fc ${prefix}/bin/gfortran-mp-4.4
- build.env-append F77=${fc} F90=${fc}
-}
+ patchfiles-append patch-pymc-gibbsit.f.diff
+ depends_lib-append port:py${python.version}-numpy
+ python.add_archflags no
-variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
- depends_lib-append port:gcc45
- set fc ${prefix}/bin/gfortran-mp-4.5
- build.env-append F77=${fc} F90=${fc}
-}
+ variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
+ depends_lib-append port:gcc43
+ set fc ${prefix}/bin/gfortran-mp-4.3
+ build.env-append F77=${fc} F90=${fc}
+ }
-variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
- depends_lib-append port:gcc46
- set fc ${prefix}/bin/gfortran-mp-4.6
- build.env-append F77=${fc} F90=${fc}
-}
+ variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
+ depends_lib-append port:gcc44
+ set fc ${prefix}/bin/gfortran-mp-4.4
+ build.env-append F77=${fc} F90=${fc}
+ }
-variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
- depends_lib-append port:gcc47
- set fc ${prefix}/bin/gfortran-mp-4.7
- build.env-append F77=${fc} F90=${fc}
-}
+ variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
+ depends_lib-append port:gcc45
+ set fc ${prefix}/bin/gfortran-mp-4.5
+ build.env-append F77=${fc} F90=${fc}
+ }
-variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
- depends_lib-append port:g95
- set fc ${prefix}/bin/g95
- build.env-append F77=${fc} F90=${fc}
-}
+ variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
+ depends_lib-append port:gcc46
+ set fc ${prefix}/bin/gfortran-mp-4.6
+ build.env-append F77=${fc} F90=${fc}
+ }
-if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
- default_variants +gcc47
+ variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
+ depends_lib-append port:gcc47
+ set fc ${prefix}/bin/gfortran-mp-4.7
+ build.env-append F77=${fc} F90=${fc}
+ }
+
+ variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
+ depends_lib-append port:g95
+ set fc ${prefix}/bin/g95
+ build.env-append F77=${fc} F90=${fc}
+ }
+
+ if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
+ default_variants +gcc47
+ }
+
+ livecheck.type none
+} else {
+ livecheck.regex <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
}
-
-livecheck.regex <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130708/5f362d81/attachment-0001.html>
More information about the macports-changes
mailing list