# -*- 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
github.setup gpilab core-nodes 2.0.2 v
python.default_version 37
maintainers {eborisch @eborisch} \
description Core GPI nodes.
long_description The core nodes are a collection of basic data \
manipulation and visualization algorithms.
homepage http://gpilab.com
rmd160 b59e428fdcc5a2cd4fa29928249524d97d25aec7 \
sha256 681da0b41123c85e3e09b0e705b44d85e42cda6e66ad03c914cf10a20b35fa97 \
if {${name} ne ${subport} } {
depends_lib-append port:py${python.version}-gpilab-framework \
port:py${python.version}-qtpy \
port:py${python.version}-h5py \
port:py${python.version}-matplotlib
patchfiles math_fft_PyMOD_cpp.patch \
set MODS [glob ${worksrcpath}/*/*_PyMOD.cpp]
set D [file dirname ${mod}]
set M [string range [file tail ${mod}] 0 end-10]
ln -s ${worksrcpath} ${D}/gpi_core
system -W ${D} "${prefix}/bin/gpi_make-${python.version} ${M}"
system -W ${worksrcpath} \
"${prefix}/bin/python${python.branch} -O -m compileall ."
xinstall -d ${destroot}${prefix}/share/${subport}/
set PP ${destroot}${python.pkgd}
# Normalize hack required due to symlink generation in github portgroup
file copy [file dirname [file normalize ${worksrcpath}/_]] ${PP}/gpi_core
system -W ${PP}/gpi_core \
"mv {AUT,LIC,COP,READ}* ${destroot}${prefix}/share/${subport}"