1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to upstream version 0.2.11, fixes runtime issue with python GIL

PR:		218588
Submitted by:	jaap@NLnetLabs.nl (maintainer)
MFH:		2017Q2
This commit is contained in:
Thomas Zander 2017-04-14 16:03:48 +00:00
parent 4a0f6abdfa
commit 87094690cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438525
3 changed files with 20 additions and 4 deletions

View File

@ -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 Python
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>

View File

@ -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

View File

@ -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)