From owner-svn-ports-head@freebsd.org Sun Feb 4 22:33:07 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B983ED7326; Sun, 4 Feb 2018 22:33:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFE94756B9; Sun, 4 Feb 2018 22:33:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA0E020414; Sun, 4 Feb 2018 22:33:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w14MX6ct097788; Sun, 4 Feb 2018 22:33:06 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w14MX67n097783; Sun, 4 Feb 2018 22:33:06 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802042233.w14MX67n097783@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 4 Feb 2018 22:33:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460952 - in head/audio: . py-sounddevice X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio: . py-sounddevice X-SVN-Commit-Revision: 460952 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2018 22:33:07 -0000 Author: yuri Date: Sun Feb 4 22:33:06 2018 New Revision: 460952 URL: https://svnweb.freebsd.org/changeset/ports/460952 Log: New port: audio/py-sounddevice: Play and record sound through OSS in python programs See usage examples here: http://python-sounddevice.readthedocs.io/en/0.3.10/#usage Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D14199 Added: head/audio/py-sounddevice/ head/audio/py-sounddevice/Makefile (contents, props changed) head/audio/py-sounddevice/distinfo (contents, props changed) head/audio/py-sounddevice/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Sun Feb 4 21:52:37 2018 (r460951) +++ head/audio/Makefile Sun Feb 4 22:33:06 2018 (r460952) @@ -680,6 +680,7 @@ SUBDIR += py-pysndfile SUBDIR += py-shout SUBDIR += py-soundcloud + SUBDIR += py-sounddevice SUBDIR += py-soundscrape SUBDIR += py-speechrecognition SUBDIR += py-speex Added: head/audio/py-sounddevice/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-sounddevice/Makefile Sun Feb 4 22:33:06 2018 (r460952) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= sounddevice +PORTVERSION= 0.3.10 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Play and record sound through OSS in python programs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${FLAVOR} \ + ${PYNUMPY} \ + portaudio>0:audio/portaudio + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +post-install: # workaround for https://github.com/spatialaudio/python-sounddevice/issues/116 + @${GREP} "/sounddevice\." < ${_PYTHONPKGLIST} \ + | ${SED} -e 's|/sounddevice\.|/_sounddevice.|' \ + >> ${_PYTHONPKGLIST} + +.include Added: head/audio/py-sounddevice/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-sounddevice/distinfo Sun Feb 4 22:33:06 2018 (r460952) @@ -0,0 +1,3 @@ +TIMESTAMP = 1516010801 +SHA256 (sounddevice-0.3.10.tar.gz) = 6a972db105b11a570b454c0b92b5d37ead46829ce71a278b148ec6479209ad9f +SIZE (sounddevice-0.3.10.tar.gz) = 46411 Added: head/audio/py-sounddevice/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-sounddevice/pkg-descr Sun Feb 4 22:33:06 2018 (r460952) @@ -0,0 +1,7 @@ +sounddevice provides bindings for the PortAudio library and a few convenience +functions to play and record NumPy arrays containing audio signals. + +It is primarily intended for use in signal analysis software. +PortAudio plays and records sound through the OSS audio interface. + +WWW: https://github.com/spatialaudio/python-sounddevice