Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2017 06:31:28 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r438616 - in branches/2017Q2/audio/py-pyaudio: . files
Message-ID:  <201704160631.v3G6VSEg058864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Apr 16 06:31:28 2017
New Revision: 438616
URL: https://svnweb.freebsd.org/changeset/ports/438616

Log:
  MFH: r438525
  
  Update to upstream version 0.2.11, fixes runtime issue with python GIL
  
  PR:		218588
  Submitted by:	jaap@NLnetLabs.nl (maintainer)
  
  Approved by:	ports-secteam (junovitch)

Added:
  branches/2017Q2/audio/py-pyaudio/files/patch-Makefile
     - copied unchanged from r438525, head/audio/py-pyaudio/files/patch-Makefile
Modified:
  branches/2017Q2/audio/py-pyaudio/Makefile
  branches/2017Q2/audio/py-pyaudio/distinfo
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/audio/py-pyaudio/Makefile
==============================================================================
--- branches/2017Q2/audio/py-pyaudio/Makefile	Sun Apr 16 03:12:08 2017	(r438615)
+++ branches/2017Q2/audio/py-pyaudio/Makefile	Sun Apr 16 06:31:28 2017	(r438616)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pyaudio
-PORTVERSION=	0.2.9
+PORTVERSION=	0.2.11
 CATEGORIES=	audio python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,9 @@ COMMENT=	Portaudio toolkit bindings for 
 LICENSE=	MIT
 
 LIB_DEPENDS=	libportaudio.so:audio/portaudio
+BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
 
-USES=		python
+USES=		python gmake
 USE_PYTHON=	distutils autoplist
 
 WRKSRC=		${WRKDIR}/PyAudio-${PORTVERSION}
@@ -27,6 +28,9 @@ post-patch:
 	@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
 		${WRKSRC}/setup.py
 
+pre-install:
+	(cd ${BUILD_WRKSRC} && ${MAKE_CMD} PYTHON=${PYTHON_CMD} docs)
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}
@@ -34,5 +38,6 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/docs/*.inv ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _static ${STAGEDIR}${DOCSDIR}/
 	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _sources ${STAGEDIR}${DOCSDIR}/
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_portaudio.so
 
 .include <bsd.port.mk>

Modified: branches/2017Q2/audio/py-pyaudio/distinfo
==============================================================================
--- branches/2017Q2/audio/py-pyaudio/distinfo	Sun Apr 16 03:12:08 2017	(r438615)
+++ branches/2017Q2/audio/py-pyaudio/distinfo	Sun Apr 16 06:31:28 2017	(r438616)
@@ -1,2 +1,3 @@
-SHA256 (PyAudio-0.2.9.tar.gz) = bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1
-SIZE (PyAudio-0.2.9.tar.gz) = 289499
+TIMESTAMP = 1490086382
+SHA256 (PyAudio-0.2.11.tar.gz) = 93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74
+SIZE (PyAudio-0.2.11.tar.gz) = 37428

Copied: branches/2017Q2/audio/py-pyaudio/files/patch-Makefile (from r438525, head/audio/py-pyaudio/files/patch-Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/audio/py-pyaudio/files/patch-Makefile	Sun Apr 16 06:31:28 2017	(r438616, copy of r438525, head/audio/py-pyaudio/files/patch-Makefile)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2017-03-21 13:20:48 UTC
++++ Makefile
+@@ -36,7 +36,6 @@ build: build/$(BUILD_STAMP)
+ 
+ build/$(BUILD_STAMP): $(SRCFILES)
+ 	$(PYTHON) setup.py build $(BUILD_ARGS)
+-	touch $@
+ 
+ docs: build
+ 	PYTHONPATH=build/$(BUILD_DIR) $(SPHINX) -b html sphinx/ $(DOCS_OUTPUT)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704160631.v3G6VSEg058864>