summaryrefslogtreecommitdiff
path: root/dev-python/pyaudio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-08 17:32:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-08 17:32:36 +0100
commit02f2b9c649c1687088b6ccb6d30b35f519f107cf (patch)
tree0465ff79d2692a3e01db8bb1ab412adbbf744854 /dev-python/pyaudio
parent74cd29ea4467291ea2c34971de87d6bdc21233e9 (diff)
gentoo auto-resync : 08:04:2023 - 17:32:35
Diffstat (limited to 'dev-python/pyaudio')
-rw-r--r--dev-python/pyaudio/Manifest5
-rw-r--r--dev-python/pyaudio/files/pyaudio-0.2.11-python310-size_t.patch28
-rw-r--r--dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild42
-rw-r--r--dev-python/pyaudio/pyaudio-0.2.13.ebuild2
4 files changed, 2 insertions, 75 deletions
diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest
index 3dbd9af167d6..87b1d17427e8 100644
--- a/dev-python/pyaudio/Manifest
+++ b/dev-python/pyaudio/Manifest
@@ -1,6 +1,3 @@
-AUX pyaudio-0.2.11-python310-size_t.patch 845 BLAKE2B 68eee6ebd83440e0f42a51a1c88735f5c6a7b2b541413faadee0260c22f65baff4d922100304fe719e9a6818ec98e3ce0bb51c763c916ae76385511d0d4ae12c SHA512 a9db774bcaaeb6693871ae49ec584bf58543469cd5c166e5ecb61efc354be7fde2a4c3283c1fe070a3d9d102301fa1a5f39d844418d52cd88565e1e62348992b
-DIST PyAudio-0.2.11.tar.gz 37428 BLAKE2B 18db51a651876135a6afc6c8c60e2221017a311fe1aec10497905bc35b81a73b5e9f27201431566bac3d13bcf582ec12a3b818c51f0e5e70aeb4ad177608461a SHA512 64db5542ee60837c9b07677e146fc7b060ff47c8b1c04cbb575bce79dd3ed4776c201e169ff2860f27dbe9e00a77046ba0cb925b55f7c546f8de46c6df68954e
DIST PyAudio-0.2.13.tar.gz 46820 BLAKE2B f0c55f4d6d028ab1210c031b6a3808f93f7963a49cf54e4c9ae65bf936f218386d4a43322b9bd645233e6f881e3d15cdcc6ceeb7fe65fd287696048b206cbfbf SHA512 1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008
-EBUILD pyaudio-0.2.11-r2.ebuild 1180 BLAKE2B 93c20775883f7f93e51e894beac9f7bfba805cdb87ac57a7628e60a961d310239a58f79cac1453490f99f9c5c23982bf0bb172b1cb50fc45fc324135ccf0e664 SHA512 bd7882fe8600e7ab6835c82cc6f55bad65091b11fe1e5337f150a8e86aff5a01317b118e929e263ff57cee0efefe63db3480a5ac213e3731bbb1e78f7b1079b7
-EBUILD pyaudio-0.2.13.ebuild 1045 BLAKE2B a8b39438c08df45cf785644195b9a0b2f9c9eb5e5866013061cc3d153675b1622de16e948970be21040361006c26a5d9004a3a6dcb466e43333aeca43f049819 SHA512 af77263338ba0c228415e35e371d6697cea62ac5949180c4fdb39a07bcd58f1e1077c23040124742d3be25b69335f84c28627c465698d59383263a9eeb8c9056
+EBUILD pyaudio-0.2.13.ebuild 1044 BLAKE2B 3b64cb69b7fe824547e4dcd99ba7240fb24307d20f553ba8844d2741e143e0ad2fe530590049a8758dfdc6f7d70e1bcabe766eda7a021d287e80e70f6044395f SHA512 a087abeab232c23e817faf9ccf57b5de73aedc6b1fe64e4eafcd72c7277a9f31f282adf978b9c859acbf9306f43e46d114b500af37d85d5294faacd667d355d2
MISC metadata.xml 640 BLAKE2B 54eae253ef66fcdc9f69ff477374237c964b53b9b53a3d418a560bb2fa681ca438b81fcfccbd6cb6f16a4f2698adeb8ef9e9d203403e5750a157f1adfa3b0cb1 SHA512 b04e933cb7cfc59ea59dd9d8523fc34c05acada24c54fb5c9b5bf1fb7aee4c9b74848605d131a2d47d09b3a4ad3ca6d999e64848ef46aad0fd6a6757723df3b8
diff --git a/dev-python/pyaudio/files/pyaudio-0.2.11-python310-size_t.patch b/dev-python/pyaudio/files/pyaudio-0.2.11-python310-size_t.patch
deleted file mode 100644
index 445a9b7e9c44..000000000000
--- a/dev-python/pyaudio/files/pyaudio-0.2.11-python310-size_t.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://git.skeh.site/skeh/pyaudio/commit/2ee560056ec889ea7cd3ce1801b796b0939dd540
-https://bugs.gentoo.org/855626
-
-From 2ee560056ec889ea7cd3ce1801b796b0939dd540 Mon Sep 17 00:00:00 2001
-From: Derek Schmidt <skeh@is.nota.live>
-Date: Tue, 14 Dec 2021 21:46:11 -0700
-Subject: [PATCH] Use Py_ssize_t for tuple return on stream methods
-
---- a/src/_portaudiomodule.c
-+++ b/src/_portaudiomodule.c
-@@ -25,6 +25,7 @@
- */
-
- #include <stdio.h>
-+#define PY_SSIZE_T_CLEAN
- #include "Python.h"
- #include "portaudio.h"
- #include "_portaudiomodule.h"
-@@ -1291,7 +1292,7 @@ int _stream_callback_cfunction(const void *input, void *output,
- PyObject *py_status_flags = PyLong_FromUnsignedLong(statusFlags);
- PyObject *py_input_data = Py_None;
- const char *pData;
-- unsigned output_len;
-+ Py_ssize_t output_len;
- PyObject *py_result;
-
- if (input) {
-
diff --git a/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild b/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild
deleted file mode 100644
index b15c9e01e824..000000000000
--- a/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
-
-MY_PN="PyAudio"
-
-DESCRIPTION="Python bindings for PortAudio"
-HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# Tests work if you have the correct HW device(s) to test. 0.2.11-r1.
-RESTRICT="test"
-
-RDEPEND="media-libs/portaudio"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
-
-distutils_enable_sphinx sphinx
-distutils_enable_tests unittest
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.2.11-python310-size_t.patch
-)
-
-python_test() {
- elog "These tests require an OS loopback sound device that forwards audio"
- elog "output, generated by PyAudio for playback, and forwards it to an input"
- elog "device, which PyAudio can record and verify against a test signal."
-
- cd tests || die
- # pyaudio_tests have very complicated runtime requirements, therefore skipping them.
- "${EPYTHON}" -m unittest error_tests -v || die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/pyaudio/pyaudio-0.2.13.ebuild b/dev-python/pyaudio/pyaudio-0.2.13.ebuild
index ef0fdfc65b2e..db5c93dc6ded 100644
--- a/dev-python/pyaudio/pyaudio-0.2.13.ebuild
+++ b/dev-python/pyaudio/pyaudio-0.2.13.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
# Tests work if you have the correct HW device(s) to test. 0.2.11-r1.
RESTRICT="test"