[106076] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue May 14 04:29:06 PDT 2013
Revision: 106076
https://trac.macports.org/changeset/106076
Author: jmr at macports.org
Date: 2013-05-14 04:29:06 -0700 (Tue, 14 May 2013)
Log Message:
-----------
py-scientific-devel: fix subdir
Added Paths:
-----------
trunk/dports/python/py-scientific-devel/
trunk/dports/python/py-scientific-devel/Portfile
Removed Paths:
-------------
trunk/dports/python/py-scientific-devel/Portfile
trunk/dports/python/py26-scientific-devel/
Deleted: trunk/dports/python/py-scientific-devel/Portfile
===================================================================
--- trunk/dports/python/py26-scientific-devel/Portfile 2013-05-14 08:37:49 UTC (rev 106064)
+++ trunk/dports/python/py-scientific-devel/Portfile 2013-05-14 11:29:06 UTC (rev 106076)
@@ -1,66 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-PortGroup python26 1.0
-
-name py26-scientific-devel
-version 2.9.0
-categories-append science
-platforms darwin
-maintainers gmail.com:danmichaelo+macports openmaintainer
-description Scientific Python
-
-long_description \
- ScientificPython is a collection of Python modules that \
- are useful for scientific computing.
-
-homepage http://dirac.cnrs-orleans.fr/ScientificPython/
-master_sites http://sourcesup.cru.fr/frs/download.php/2372/
-distname ScientificPython-${version}
-
-checksums md5 babbbb708d235094d75478bdeb8d4c7f \
- sha1 60fb1ec7c31c86b7e7a068ccda780197e1e95ad8 \
- rmd160 2533879b64fcb17027b11784fc0cff4351284c98
-
-depends_lib port:netcdf \
- port:py26-numpy
-
-conflicts py26-scientific
-
-build.args --numpy
-
-build.env CPPFLAGS="-I${python.include} \
- -I${worksrcpath}/Include" \
- NETCDF_PREFIX=${prefix}
-
-platform macosx {
- post-extract {
- copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
- }
-}
-
-platform puredarwin {
- post-extract {
- copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
- }
-}
-
-variant mpi description {Enable lammpi support} {
- depends_lib-append port:lammpi
- patchfiles-append patch-Src-MPI-compile.py.diff
- post-build {
- reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Src/MPI/compile.py
- reinplace "s|@worksrcpath@|${worksrcpath}|g" ${worksrcpath}/Src/MPI/compile.py
- system "cd ${worksrcpath}/Src/MPI && ${prefix}/bin/python${python.branch} compile.py"
- }
- post-destroot {
- xinstall ${worksrcpath}/Src/MPI/mpipython ${destroot}${python.prefix}/bin
- ln -s ${python.prefix}/bin/mpipython ${destroot}${prefix}/bin/mpipython-${python.branch}
- }
-}
-
-
-livecheck.type regex
-livecheck.url http://sourcesup.cru.fr/projects/scientific-py/
-livecheck.regex {<strong>Development Releases</strong></td><td>(\d+(?:\.\d+)*)}
Copied: trunk/dports/python/py-scientific-devel/Portfile (from rev 106075, trunk/dports/python/py26-scientific-devel/Portfile)
===================================================================
--- trunk/dports/python/py-scientific-devel/Portfile (rev 0)
+++ trunk/dports/python/py-scientific-devel/Portfile 2013-05-14 11:29:06 UTC (rev 106076)
@@ -0,0 +1,73 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-scientific-devel
+version 2.9.0
+categories-append science
+platforms darwin
+maintainers gmail.com:danmichaelo+macports openmaintainer
+description Scientific Python
+
+long_description \
+ ScientificPython is a collection of Python modules that \
+ are useful for scientific computing.
+
+homepage http://dirac.cnrs-orleans.fr/ScientificPython/
+master_sites http://sourcesup.cru.fr/frs/download.php/2372/
+distname ScientificPython-${version}
+
+checksums md5 babbbb708d235094d75478bdeb8d4c7f \
+ sha1 60fb1ec7c31c86b7e7a068ccda780197e1e95ad8 \
+ rmd160 2533879b64fcb17027b11784fc0cff4351284c98
+
+python.versions 26
+
+if {$subport != $name} {
+ depends_lib port:netcdf \
+ port:py${python.version}-numpy
+
+ conflicts py${python.version}-scientific
+
+ build.args --numpy
+
+ build.env CPPFLAGS="-I${python.include} \
+ -I${worksrcpath}/Include" \
+ NETCDF_PREFIX=${prefix}
+
+ platform macosx {
+ post-extract {
+ copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
+ }
+ }
+
+ platform puredarwin {
+ post-extract {
+ copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
+ }
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url http://sourcesup.cru.fr/projects/scientific-py/
+ livecheck.regex {<strong>Development Releases</strong></td><td>(\d+(?:\.\d+)*)}
+}
+
+variant mpi description {Enable lammpi support} {
+ if {$subport != $name} {
+ depends_lib-append port:lammpi
+ patchfiles-append patch-Src-MPI-compile.py.diff
+ post-build {
+ reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Src/MPI/compile.py
+ reinplace "s|@worksrcpath@|${worksrcpath}|g" ${worksrcpath}/Src/MPI/compile.py
+ system "cd ${worksrcpath}/Src/MPI && ${prefix}/bin/python${python.branch} compile.py"
+ }
+ post-destroot {
+ xinstall ${worksrcpath}/Src/MPI/mpipython ${destroot}${python.prefix}/bin
+ ln -s ${python.prefix}/bin/mpipython ${destroot}${prefix}/bin/mpipython-${python.branch}
+ }
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130514/b721417c/attachment.html>
More information about the macports-changes
mailing list