# -*- 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 PortGroup wxWidgets 1.0 name py26-pyphant version 0.8a1 revision 1 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-setuptools \ port:py26-tables \ port:py26-antlr3 \ port:py26-matplotlib \ port:py26-scientific \ port:py26-wxpython-2.8 \ 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 # py26-scipy is not universal universal_variant no 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" }