[84194] trunk/dports/science
jmr at macports.org
jmr at macports.org
Tue Sep 20 01:38:45 PDT 2011
Revision: 84194
http://trac.macports.org/changeset/84194
Author: jmr at macports.org
Date: 2011-09-20 01:38:44 -0700 (Tue, 20 Sep 2011)
Log Message:
-----------
New port: nMOLDYN, an interactive analysis program for Molecular Dynamics simulations. (#26994)
Added Paths:
-----------
trunk/dports/science/nMOLDYN/
trunk/dports/science/nMOLDYN/Portfile
trunk/dports/science/nMOLDYN/files/
trunk/dports/science/nMOLDYN/files/setup.py.patch
Added: trunk/dports/science/nMOLDYN/Portfile
===================================================================
--- trunk/dports/science/nMOLDYN/Portfile (rev 0)
+++ trunk/dports/science/nMOLDYN/Portfile 2011-09-20 08:38:44 UTC (rev 84194)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name nMOLDYN
+version 3.0.9
+categories science
+maintainers fastmail.net:konrad.hinsen openmaintainer
+description An interactive analysis program for Molecular Dynamics simulations.
+long_description $description
+homepage http://dirac.cnrs-orleans.fr/nMOLDYN/
+platforms darwin
+
+master_sites https://forge.epn-campus.eu/attachments/download/1160/
+checksums md5 2d854468c7dfb8e1cb7250bae93b5d7a \
+ sha1 d06f24ab3af9d3b7da39f46b42c50d1dfa72a519 \
+ rmd160 152b13853026d93b7080e30e812abf7f92e7f2ef
+
+use_zip yes
+
+patchfiles setup.py.patch
+
+depends_build port:py26-distribute
+depends_lib port:py26-tkinter \
+ port:py26-MMTK \
+ port:py26-pyro \
+ port:py26-matplotlib
+
+build.env CPPFLAGS="-I${prefix}/include -I${python.include}"
+
+python.link_binaries_suffix
+
+livecheck.type none
Property changes on: trunk/dports/science/nMOLDYN/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/nMOLDYN/files/setup.py.patch
===================================================================
--- trunk/dports/science/nMOLDYN/files/setup.py.patch (rev 0)
+++ trunk/dports/science/nMOLDYN/files/setup.py.patch 2011-09-20 08:38:44 UTC (rev 84194)
@@ -0,0 +1,57 @@
+--- setup.py.orig 2011-02-28 17:31:32.000000000 +1100
++++ setup.py 2011-09-20 18:31:39.000000000 +1000
+@@ -52,9 +52,9 @@
+ raise SystemExit
+
+ # Check that we have the minimal numpy version.
++numpy_minversion = LooseVersion(vstring = "1.1.0")
+ try:
+ import numpy
+- numpy_minversion = LooseVersion(vstring = "1.1.0")
+ numpy_version = LooseVersion(vstring = numpy.__version__)
+
+ if cmpver(numpy_version, numpy_minversion, pad = 0) == -1: raise
+@@ -64,9 +64,9 @@
+ raise SystemExit
+
+ # Check that we have the minimal matplotlib version.
++matplotlib_minversion = LooseVersion(vstring = '0.98.0')
+ try:
+ from matplotlib import __version__ as matplotlib_version
+- matplotlib_minversion = LooseVersion(vstring = '0.98.0')
+ matplotlib_version = LooseVersion(vstring = matplotlib_version)
+
+ if cmpver(matplotlib_version, matplotlib_minversion, pad = 0) == -1: raise
+@@ -75,9 +75,9 @@
+ print 'nMOLDYN needs matplotlib %s or higher. The plotting functionnalities will be disabled.' % matplotlib_minversion
+
+ # Check that we have the minimal PyRO version.
++pyro_minversion = LooseVersion(vstring = '3.9.0')
+ try:
+ from Pyro.constants import VERSION as pyro_version
+- pyro_minversion = LooseVersion(vstring = '3.9.0')
+ pyro_version = LooseVersion(vstring = pyro_version)
+
+ if cmpver(pyro_version, pyro_minversion, pad = 0) == -1: raise
+@@ -86,9 +86,9 @@
+ print 'nMOLDYN needs pyro %s or higher. The parallel computing functionnalities will be disabled.' % pyro_minversion
+
+ # Check that we have the minimal Scientific version.
++scientific_minversion = LooseVersion(vstring = '2.8.0')
+ try:
+ from Scientific import __version__ as scientific_version
+- scientific_minversion = LooseVersion(vstring = '2.8.0')
+ scientific_version = LooseVersion(vstring = scientific_version)
+
+ if cmpver(scientific_version, scientific_minversion, pad = 0) == -1: raise
+@@ -98,9 +98,9 @@
+ raise SystemExit
+
+ # Check that we have the minimal MMTK version.
++mmtk_minversion = LooseVersion(vstring = '2.6.1')
+ try:
+ from MMTK import __version__ as mmtk_version
+- mmtk_minversion = LooseVersion(vstring = '2.6.1')
+ mmtk_version = LooseVersion(vstring = mmtk_version)
+
+ if cmpver(mmtk_version, mmtk_minversion, pad = 0) == -1: raise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110920/367561f3/attachment.html>
More information about the macports-changes
mailing list