Merge pull request #59913 from JohnAZoidberg/sounddevice-0.3.13

Fix pythonPackages.sounddevice and upgrade 0.3.12 -> 0.3.13
This commit is contained in:
Silvan Mosberger 2019-04-23 00:01:28 +02:00 committed by GitHub
commit 45b0479310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "sounddevice";
version = "0.3.12";
version = "0.3.13";
src = fetchPypi {
inherit pname version;
sha256 = "f59ae4e2ec12cb1e5940f06f08804ecca855d959de25ca45a3938de45d0f81a2";
sha256 = "01x2hm3xxzhxrjcj21si4ggmvkwmy5hag7f6yabqlhwskws721cd";
};
propagatedBuildInputs = [ cffi numpy portaudio ];
@ -34,4 +34,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fridh ];
};
}
}

View File

@ -1,8 +1,8 @@
diff --git a/sounddevice.py b/sounddevice.py
index f03476c..5745b6e 100644
--- a/sounddevice.py
+++ b/sounddevice.py
@@ -58,28 +58,7 @@ from ctypes.util import find_library as _find_library
diff --git i/sounddevice.py w/sounddevice.py
index c7c1d62..aabcb12 100644
--- i/sounddevice.py
+++ w/sounddevice.py
@@ -58,29 +58,7 @@ from ctypes.util import find_library as _find_library
from _sounddevice import ffi as _ffi
@ -10,6 +10,7 @@ index f03476c..5745b6e 100644
- for _libname in (
- 'portaudio', # Default name on POSIX systems
- 'bin\\libportaudio-2.dll', # DLL from conda-forge
- 'lib/libportaudio.dylib', # dylib from anaconda
- ):
- _libname = _find_library(_libname)
- if _libname is not None: