svn commit: r453313 - in head/audio: . py-pysndfile

Yuri Victorovich yuri at FreeBSD.org
Wed Nov 1 20:20:46 UTC 2017


Author: yuri
Date: Wed Nov  1 20:20:45 2017
New Revision: 453313
URL: https://svnweb.freebsd.org/changeset/ports/453313

Log:
  New port: audio/py-pysndfile: Cython wrapper class for soundfiles reading/writing.
  
  PR:		221785
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12893

Added:
  head/audio/py-pysndfile/
  head/audio/py-pysndfile/Makefile   (contents, props changed)
  head/audio/py-pysndfile/distinfo   (contents, props changed)
  head/audio/py-pysndfile/pkg-descr   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Wed Nov  1 18:44:20 2017	(r453312)
+++ head/audio/Makefile	Wed Nov  1 20:20:45 2017	(r453313)
@@ -662,6 +662,7 @@
     SUBDIR += py-pyaudio
     SUBDIR += py-pylast
     SUBDIR += py-pyliblo
+    SUBDIR += py-pysndfile
     SUBDIR += py-shout
     SUBDIR += py-soundcloud
     SUBDIR += py-soundscrape

Added: head/audio/py-pysndfile/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/py-pysndfile/Makefile	Wed Nov  1 20:20:45 2017	(r453313)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	pysndfile
+DISTVERSION=	1.0.0
+CATEGORIES=	audio python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Cython wrapper class for reading/writing soundfiles using libsndfile
+
+LICENSE=	LGPL3
+
+BUILD_DEPENDS=	cython:lang/cython \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy
+LIB_DEPENDS=	libsndfile.so:audio/libsndfile
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy
+
+USES=		python localbase
+USE_PYTHON=	distutils autoplist
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysndfile/_pysndfile.so
+
+.include <bsd.port.mk>

Added: head/audio/py-pysndfile/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/py-pysndfile/distinfo	Wed Nov  1 20:20:45 2017	(r453313)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503631978
+SHA256 (pysndfile-1.0.0.tar.gz) = 181d751d8c2c6784241a354f394b64210c1dadc3dc064c22a55eddc5239a2b9e
+SIZE (pysndfile-1.0.0.tar.gz) = 562614

Added: head/audio/py-pysndfile/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/py-pysndfile/pkg-descr	Wed Nov  1 20:20:45 2017	(r453313)
@@ -0,0 +1,16 @@
+pysndfile is a python package providing PySndfile, a Cython wrapper class
+around libsndfile. PySndfile provides methods for reading and writing a
+large variety of soundfile formats on a variety of plattforms. PySndfile
+provides a rather complete access to the different sound file manipulation
+options that are available in libsndfile.
+
+Due to the use of libsndfile nearly all sound file formats, (besides mp3
+and derived formats) can be read and written with PySndfile.
+
+The interface has been designed such that a rather large subset of the
+functionality of libsndfile can be used, notably the reading and writing of
+strings into soundfile formats that support these, and a number of sf_commands
+that allow to control the way libsndfile reads and writes the samples. One of
+the most important ones is the use of the clipping command.
+
+WWW: http://forge.ircam.fr/p/pysndfile


More information about the svn-ports-head mailing list