Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
71 lines (56 sloc) 2.17 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-stfio
version 0.15.8
revision 1
categories python science
platforms darwin
license GPL-2
maintainers {gmx.de:christsc @neurodroid}
description Electrophysiology file support for Python
long_description A Python module to read common electrophysiology file formats.
homepage http://www.stimfit.org
master_sites ${homepage}
distname stimfit-${version}
checksums rmd160 960efd2fa4f88aba153af560cc49adc40090995b \
sha256 0fc6b0f52057d9c45107557e615f314179ac92e180123ed9d1da98e7f812df8b
python.versions 27 35 36 37
if { ${name} ne ${subport} } {
depends_build port:swig-python
depends_lib port:boost \
port:hdf5 \
port:py${python.version}-cvxopt \
port:py${python.version}-matplotlib \
port:py${python.version}-numpy
configure.args --disable-dependency-tracking \
--enable-module \
--without-biosig
configure.python \
${python.bin}
use_configure yes
build.cmd make
build.target
destroot.cmd make
destroot.destdir \
DESTDIR=${destroot}
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
xinstall -m 644 ${worksrcpath}/dist/debian/copyright \
${worksrcpath}/COPYING ${docdir}
}
variant biosig conflicts biosiglite description {Use external biosig library for file I/O.} {
depends_lib-append \
port:libbiosig
configure.args-replace \
--without-biosig \
--with-biosig2
}
variant biosiglite conflicts biosig description {Use internal biosiglite library for file I/O.} {
configure.args-replace \
--without-biosig \
--with-biosiglite
}
default_variants +biosiglite
}
You can’t perform that action at this time.