Files
2026-02-27 11:53:32 -05:00

55 lines
2.0 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-soundfile
version 0.13.1
revision 0
categories-append audio
platforms {darwin any}
supported_archs noarch
license BSD
maintainers nomaintainer
description SoundFile is an audio library based on libsndfile, \
CFFI, and NumPy.
long_description {*}${description} SoundFile can read and write sound \
files. File reading/writing is supported through \
libsndfile, which is a free, cross-platform, \
open-source (LGPL) library for reading and writing \
many different sampled sound file formats that \
runs on many platforms including Windows, OS X, \
and Unix. It is accessed through CFFI, which is a \
foreign function interface for Python calling C \
code. CFFI is supported for CPython 2.6+, 3.x and \
PyPy 2.0+. SoundFile represents audio data as \
NumPy arrays.
homepage https://github.com/bastibe/python-soundfile
checksums rmd160 3f73a921058f2e9078a97169f0c0c39c0585f256 \
sha256 b2c68dab1e30297317080a5b43df57e302584c49e2942defdde0acccc53f0e5b \
size 46156
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_lib-append \
port:libsndfile \
port:py${python.version}-cffi
depends_run-append \
port:py${python.version}-numpy
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${docdir}
}
}