[98411] trunk/dports/python
aronnax at macports.org
aronnax at macports.org
Thu Oct 4 15:06:18 PDT 2012
Revision: 98411
http://trac.macports.org//changeset/98411
Author: aronnax at macports.org
Date: 2012-10-04 15:06:18 -0700 (Thu, 04 Oct 2012)
Log Message:
-----------
py-scitools: new Port
Added Paths:
-----------
trunk/dports/python/py-scitools/
trunk/dports/python/py-scitools/Portfile
Added: trunk/dports/python/py-scitools/Portfile
===================================================================
--- trunk/dports/python/py-scitools/Portfile (rev 0)
+++ trunk/dports/python/py-scitools/Portfile 2012-10-04 22:06:18 UTC (rev 98411)
@@ -0,0 +1,44 @@
+# -*- 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
+
+set basedistname scitools
+name py-${basedistname}
+version 0.9.0
+categories python science
+platforms darwin
+maintainers aronnax
+description Scientific computing tools for Python
+long_description \
+ Scientific computing tools for Python, built on other widely used packages \
+ such as Numpy and Scipy.
+
+homepage http://code.google.com/p/${basedistname}/
+master_sites googlecode:${basedistname}
+distname ${basedistname}-${version}
+checksums sha1 68f774a5580689dbecc95cd4a4dc28f56dfeca01 \
+ rmd160 c0c57bc2f248ca1721e66210c00df4241a7dd4ac
+
+python.versions 25 26 27
+python.default_version 27
+
+if {${subport} != ${name}} {
+
+ # The SciTools setup.py script attempts to import matplotlib
+ # and matplotlib always attempts to create $MPLCONFIGDIR/.matplotlib,
+ # where $MPLCONFIGDIR defaults to $HOME. Set $MPLCONFIGDIR to ${worksrcpath}
+ # so that write access is guaranteed.
+ build.env-append MPLCONFIGDIR=${worksrcpath}
+ destroot.env-append MPLCONFIGDIR=${worksrcpath}
+
+ depends_lib-append port:py${python.version}-matplotlib
+ depends_run-append port:py${python.version}-numpy \
+ port:py${python.version}-scipy
+
+}
+
+if {${name} == ${subport}} {
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121004/2bc66468/attachment.html>
More information about the macports-changes
mailing list