You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
a899ec0c4d
* hdf5: Update to 1.12.0, default API to 110 Bump files with a default dependency on hdf5; also added script to make doing this easier.
73 lines
2.2 KiB
Tcl
73 lines
2.2 KiB
Tcl
# -*- 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 4
|
|
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
|
|
}
|
|
|
|
if {![variant_isset biosig]} {
|
|
default_variants +biosiglite
|
|
}
|
|
}
|