Index: audio/Makefile =================================================================== --- audio/Makefile +++ audio/Makefile @@ -651,6 +651,7 @@ SUBDIR += puddletag SUBDIR += pulseaudio SUBDIR += pulseaudio-module-sndio + SUBDIR += py-SoundFile SUBDIR += py-al SUBDIR += py-ao SUBDIR += py-apetag Index: audio/py-SoundFile/Makefile =================================================================== --- /dev/null +++ audio/py-SoundFile/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= SoundFile +DISTVERSION= 0.9.0 +DISTVERSIONSUFFIX= .post1 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Audio library based on libsndfile, CFFI and NumPy + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi@${FLAVOR} \ + ${PYNUMPY} \ + ${PREFIX}/lib/libsndfile.so:audio/libsndfile + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Index: audio/py-SoundFile/distinfo =================================================================== --- /dev/null +++ audio/py-SoundFile/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1518517499 +SHA256 (SoundFile-0.9.0.post1.tar.gz) = e01b53f6ba6dce389f388c819b43466b8708e85e9d832a8a3a1ff95af7c60731 +SIZE (SoundFile-0.9.0.post1.tar.gz) = 1817974 Index: audio/py-SoundFile/pkg-descr =================================================================== --- /dev/null +++ audio/py-SoundFile/pkg-descr @@ -0,0 +1,5 @@ +PySoundFile 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. + +WWW: https://github.com/bastibe/PySoundFile