[82541] trunk/dports/python
mmoll at macports.org
mmoll at macports.org
Mon Aug 15 06:34:16 PDT 2011
Revision: 82541
http://trac.macports.org/changeset/82541
Author: mmoll at macports.org
Date: 2011-08-15 06:34:14 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
unify py*-MMTK
Modified Paths:
--------------
trunk/dports/python/py-MMTK/Portfile
Added Paths:
-----------
trunk/dports/python/py-MMTK/
Removed Paths:
-------------
trunk/dports/python/py25-MMTK/
trunk/dports/python/py26-MMTK/
trunk/dports/python/py27-MMTK/
Modified: trunk/dports/python/py-MMTK/Portfile
===================================================================
--- trunk/dports/python/py27-MMTK/Portfile 2011-08-15 02:34:21 UTC (rev 82501)
+++ trunk/dports/python/py-MMTK/Portfile 2011-08-15 13:34:14 UTC (rev 82541)
@@ -1,27 +1,32 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
set realname MMTK
name py27-${realname}
version 2.7.4
revision 1
+python.versions 25 26 27
+python.default_version 27
categories python science
maintainers mmoll openmaintainer
description The Molecular Modelling Toolkit is a library for molecular \
- simulations with a focus on biomolecular systems.
+ simulations with a focus on biomolecular systems.
long_description $description
-homepage http://sourcesup.cru.fr/projects/mmtk/
+homepage http://dirac.cnrs-orleans.fr/MMTK/
platforms darwin
distname ${realname}-${version}
master_sites https://sourcesup.cru.fr/frs/download.php/3668/
checksums md5 8e941ac5bb3930919697d9a781738d9c \
sha1 31a4b3d7469e82fc24c363d7cd1b20d425976294 \
rmd160 0259d428336f5717307468f8e4ebd57351bacc19
-depends_build port:py27-distribute
-depends_lib port:py27-scientific
-build.env CPPFLAGS="-I${prefix}/include -I${prefix}/include/python2.7"
+
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
+ depends_lib port:py${python.version}-scientific
+ build.env-append CPPFLAGS="-I${prefix}/include -I${prefix}/include/python${python.branch}"
+}
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/76cc43ec/attachment.html>
More information about the macports-changes
mailing list