From owner-svn-ports-all@freebsd.org Mon Aug 7 15:33:53 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54EC3DD9C2E; Mon, 7 Aug 2017 15:33:53 +0000 (UTC) (envelope-from jhale@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 mx1.freebsd.org (Postfix) with ESMTPS id 2EFD970C00; Mon, 7 Aug 2017 15:33:53 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v77FXqDi060718; Mon, 7 Aug 2017 15:33:52 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v77FXppI060715; Mon, 7 Aug 2017 15:33:51 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201708071533.v77FXppI060715@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Mon, 7 Aug 2017 15:33:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447496 - in head/audio: . aubio py-aubio X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: in head/audio: . aubio py-aubio X-SVN-Commit-Revision: 447496 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 15:33:53 -0000 Author: jhale Date: Mon Aug 7 15:33:51 2017 New Revision: 447496 URL: https://svnweb.freebsd.org/changeset/ports/447496 Log: New port: audio/py-aubio - Python bindings for audio/aubio - Adjust audio/aubio to be the master port for audio/py-aubio - Take maintainership - Fix LICENSE Added: head/audio/py-aubio/ head/audio/py-aubio/Makefile (contents, props changed) Modified: head/audio/Makefile head/audio/aubio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Mon Aug 7 14:27:08 2017 (r447495) +++ head/audio/Makefile Mon Aug 7 15:33:51 2017 (r447496) @@ -628,6 +628,7 @@ SUBDIR += py-al SUBDIR += py-ao SUBDIR += py-apetag + SUBDIR += py-aubio SUBDIR += py-cddb SUBDIR += py-discid SUBDIR += py-discogs-client Modified: head/audio/aubio/Makefile ============================================================================== --- head/audio/aubio/Makefile Mon Aug 7 14:27:08 2017 (r447495) +++ head/audio/aubio/Makefile Mon Aug 7 15:33:51 2017 (r447496) @@ -3,18 +3,22 @@ PORTNAME= aubio PORTVERSION= 0.4.5 -CATEGORIES= audio +PORTREVISION?= 0 +CATEGORIES?= audio MASTER_SITES= http://aubio.org/pub/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Library for audio labelling +MAINTAINER?= jhale@FreeBSD.org +COMMENT?= Library for audio labelling -LICENSE= GPLv3 +LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +USES+= pkgconfig tar:bzip2 + +.if !defined(SLAVEPORT) BUILD_DEPENDS= txt2man:textproc/txt2man -USES= pkgconfig tar:bzip2 waf +USES+= waf CONFIGURE_ARGS= --mandir=${MANPREFIX}/man USE_LDCONFIG= yes @@ -48,5 +52,7 @@ post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aubio${b} .endfor @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaubio.so + +.endif # !defined(SLAVEPORT) .include Added: head/audio/py-aubio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-aubio/Makefile Mon Aug 7 15:33:51 2017 (r447496) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= audio python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jhale@FreeBSD.org +COMMENT= Python bindings for aubio music analysis + +LIB_DEPENDS= libaubio.so:audio/aubio +BUILD_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} +TEST_DEPENDS= sox:audio/sox \ + ${PYTHON_PKGNAMEPREFIX}nose2>=0.6.5:devel/py-nose2 + +USES+= python +USE_PYTHON= autoplist distutils + +CPPFLAGS+= -I${PYTHON_SITELIBDIR}/numpy/core/include + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${WRKSRC}/`ls -rtd build/lib.* | head -1` +TEST_TARGET= test +DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP} + +MASTERDIR= ${.CURDIR}/../../audio/aubio +SLAVEPORT= py +PLIST= ${.CURDIR}/pkg-plist + +pre-test: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} create_test_sounds) + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_aubio.so + +.include "${MASTERDIR}/Makefile"