Package Details: python2-pyaudio 0.2.11-3

Git Clone URL: https://aur.archlinux.org/python2-pyaudio.git (read-only, click to copy)
Package Base: python2-pyaudio
Description: Python bindings for PortAudio
Upstream URL: https://pypi.org/project/PyAudio
Licenses: MIT
Conflicts: python2-pyaudio, python2-pyaudio-git
Submitter: ghotrix
Maintainer: ghotrix
Last Packager: ghotrix
Votes: 1
Popularity: 0.000000
First Submitted: 2019-02-27 09:38 (UTC)
Last Updated: 2019-07-02 08:33 (UTC)

Latest Comments

ghotrix commented on 2019-07-02 08:34 (UTC)

Added portaudio as build dep

jamincollins commented on 2019-06-29 17:45 (UTC)

This package is missing a build dependency on portaudio.

Without it, a chroot build fails with the following:

src/_portaudiomodule.c:29:10: fatal error: portaudio.h: No such file or directory
   29 | #include "portaudio.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1

diff:

diff --git a/PKGBUILD b/PKGBUILD
index 3a7744d..8bff568 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ arch=("any")
 url="https://pypi.org/project/PyAudio"
 license=("MIT")
 depends=("python2")
-makedepends=("python2-setuptools")
+makedepends=("python2-setuptools" "portaudio")
 conflicts=("${pkgname}" "${pkgname}-git")
 source=("https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-$pkgver.tar.gz")
 sha256sums=("93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74")