[72549] trunk/dports/python
rowue at macports.org
rowue at macports.org
Wed Oct 20 07:04:12 PDT 2010
Revision: 72549
http://trac.macports.org/changeset/72549
Author: rowue at macports.org
Date: 2010-10-20 07:04:10 -0700 (Wed, 20 Oct 2010)
Log Message:
-----------
py26-pyphant: New port. The pyphant, developed at the
freiburg materials research centre (FMF), is an python based
framework for scientific data-analysis and -processing.
Added Paths:
-----------
trunk/dports/python/py26-pyphant/
trunk/dports/python/py26-pyphant/Portfile
trunk/dports/python/py26-pyphant/files/
trunk/dports/python/py26-pyphant/files/Info.plist
trunk/dports/python/py26-pyphant/files/Pyphant.icns
trunk/dports/python/py26-pyphant/files/pyphant
trunk/dports/python/py26-pyphant/files/pyphant.quartz
Added: trunk/dports/python/py26-pyphant/Portfile
===================================================================
--- trunk/dports/python/py26-pyphant/Portfile (rev 0)
+++ trunk/dports/python/py26-pyphant/Portfile 2010-10-20 14:04:10 UTC (rev 72549)
@@ -0,0 +1,84 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-pyphant
+version 0.8a1
+categories-append science
+maintainers fmf.uni-freiburg.de:klaus.zimmermann rowue
+description python framework for analysing and managing scientific data
+long_description The python framework pyphant allows for the creation \
+ and application of data flow models. The central idea \
+ of this approach is to encapsulate each data processing \
+ step in one unit which is called a worker. \
+ A worker receives input via sockets and provides the \
+ results of its data processing via plugs. These can be \
+ inserted into other workers' sockets. The resulting \
+ directed graph is called a recipe. Classes for these \
+ objects comprise the Pyphant core. \
+ To implement actual processing steps, Pyphant relies on \
+ third party plug-ins, also referred to as toolboxes, \
+ which extend the basic worker class, e.g. \
+ py26-pyphant-imageprocessing. \
+ On top of the core, Pyphant offers a data exchange layer \
+ on basis of numpy arrays which facilitates the \
+ interoperability of the workers and fully supports \
+ physical quantities with errors and units. \
+ The third layer is a graphical user interface \
+ allowing for the interactive construction of recipes \
+ as well as the calculation and visualization of data \
+ from any worker in the recipe.
+
+homepage http://www.fmf.uni-freiburg.de/service/servicegruppen/sg_wissinfo/Software/Pyphant
+
+platforms darwin
+depends_lib port:py26-scipy \
+ port:py26-distribute \
+ port:py26-tables \
+ port:py26-antlr3 \
+ port:py26-matplotlib \
+ port:py26-scientific \
+ port:py26-wxpython \
+ port:py26-simplejson \
+ port:py26-paste \
+ port:py26-mx-base \
+ port:py26-pyphant-fmf \
+ port:py26-pyphant-imageprocessing \
+ port:py26-pyphant-osc \
+ port:py26-pyphant-statistics \
+ port:py26-pyphant-tools \
+ port:py26-sogl
+
+
+master_sites sourceforge:pyphant
+# master_sites http://pyphant.sourceforge.net/nightly-builds/
+distname pyphant-${version}
+# use_bzip2 yes
+
+checksums md5 9e0615eb5392ac12bc8ccb2237694f86 \
+ sha1 cfb003606a3a958e6474549e2bd9b7ece11e7c0c \
+ rmd160 ac14b0098279bc1582a3041a6a7f6705b73eed1d
+
+use_configure no
+
+variant carbon description { Install pyphant with carbon support } {
+
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${applications_dir}/Pyphant.app/Contents/MacOS
+ if {[variant_isset carbon]} {
+ xinstall ${filespath}/pyphant.quartz ${destroot}${applications_dir}/Pyphant.app/Contents/MacOS/Pyphant
+ } else {
+ xinstall ${filespath}/pyphant ${destroot}${applications_dir}/Pyphant.app/Contents/MacOS/Pyphant
+ reinplace "s|@APPDIR@|${applications_dir}|" ${destroot}${applications_dir}/Pyphant.app/Contents/MacOS/Pyphant
+ }
+ reinplace "s|@PREFIX@|${prefix}|" ${destroot}${applications_dir}/Pyphant.app/Contents/MacOS/Pyphant
+ xinstall -m 755 -d ${destroot}${applications_dir}/Pyphant.app/Contents/Resources
+ xinstall -m 0644 ${filespath}/Pyphant.icns ${destroot}${applications_dir}/Pyphant.app/Contents/Resources
+ xinstall -m 0644 ${filespath}/Info.plist ${destroot}${applications_dir}/Pyphant.app/Contents/
+ reinplace "s|@VERSION@|${version}|" ${destroot}${applications_dir}/Pyphant.app/Contents/Info.plist
+ system "echo 'APPL????' > ${destroot}${applications_dir}/Pyphant.app/Contents/PkgInfo"
+}
Property changes on: trunk/dports/python/py26-pyphant/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-pyphant/files/Info.plist
===================================================================
--- trunk/dports/python/py26-pyphant/files/Info.plist (rev 0)
+++ trunk/dports/python/py26-pyphant/files/Info.plist 2010-10-20 14:04:10 UTC (rev 72549)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>Pyphant</string>
+ <key>CFBundleGetInfoString</key>
+ <string>Pyphant @VERSION@ by freiburger center of materials research. This program is licensed under the BSD license.</string>
+ <key>CFBundleIconFile</key>
+ <string>Pyphant.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>net.Pyphant</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Pyphant</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>Pyphant @VERSION@</string>
+ <key>CFBundleSignature</key>
+ <string>Pyphant</string>
+ <key>CFBundleVersion</key>
+ <string>@VERSION@</string>
+ <key>CSResourcesFileMapped</key>
+ <true/>
+</dict>
+</plist>
Added: trunk/dports/python/py26-pyphant/files/Pyphant.icns
===================================================================
(Binary files differ)
Property changes on: trunk/dports/python/py26-pyphant/files/Pyphant.icns
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/dports/python/py26-pyphant/files/pyphant
===================================================================
--- trunk/dports/python/py26-pyphant/files/pyphant (rev 0)
+++ trunk/dports/python/py26-pyphant/files/pyphant 2010-10-20 14:04:10 UTC (rev 72549)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ -x @APPDIR@/X11.app/Contents/MacOS/X11 ]; then
+ open -a @APPDIR@/X11.app/Contents/MacOS/X11 @PREFIX@/bin/wxPyphant-2.6
+else
+ open -a /Applications/Utilities/X11.app/Contents/MacOS/X11 @PREFIX@/bin/wxPyphant-2.6
+fi
Property changes on: trunk/dports/python/py26-pyphant/files/pyphant
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/dports/python/py26-pyphant/files/pyphant.quartz
===================================================================
--- trunk/dports/python/py26-pyphant/files/pyphant.quartz (rev 0)
+++ trunk/dports/python/py26-pyphant/files/pyphant.quartz 2010-10-20 14:04:10 UTC (rev 72549)
@@ -0,0 +1,5 @@
+#!/bin/bash
+LOGNAME=`logname`
+export LOGNAME
+cd $HOME
+exec @PREFIX@/bin/wxPyphant-2.6
Property changes on: trunk/dports/python/py26-pyphant/files/pyphant.quartz
___________________________________________________________________
Added: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101020/77ca2428/attachment.html>
More information about the macports-changes
mailing list