# -*- 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 github 1.0 PortGroup python 1.0 github.setup bastibe SoundFile 0.10.3 {} post1 revision 2 name py-[string tolower ${github.project}] 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. checksums rmd160 2c6637646b56575bfd0831546ab8dc127d3bf11c \ sha256 ca175b3131e9c41456cf0dc759a70177e3c83387b782b4632b7f4c097fbde846 \ size 35008 # Remove this stealth update line on the next version update # See: https://trac.macports.org/wiki/PortfileRecipes#stealth-updates dist_subdir ${name}/${version}_1 python.versions 38 39 310 311 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} } }