17
0

Compare commits

6 Commits

Author SHA256 Message Date
a381fe581a Accepting request 1230257 from devel:languages:python
- Drop patch no-removed-formats.patch, it was a terrible idea.
- Add patch support-python-313.patch:
  * Add two external module depends for Python 3.13+.

OBS-URL: https://build.opensuse.org/request/show/1230257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-audioread?expand=0&rev=14
2024-12-12 20:18:32 +00:00
e8a90d1870 - Drop patch no-removed-formats.patch, it was a terrible idea.
- Add patch support-python-313.patch:
  * Add two external module depends for Python 3.13+.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=31
2024-12-12 03:15:34 +00:00
c03c29c867 Accepting request 1226391 from devel:languages:python
- Add patch no-removed-formats.patch:
  * Only use the rawread backend for Python 3.12 and below.

OBS-URL: https://build.opensuse.org/request/show/1226391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-audioread?expand=0&rev=13
2024-11-26 19:55:57 +00:00
99144c681c - Add patch no-removed-formats.patch:
* Only use the rawread backend for Python 3.12 and below.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=29
2024-11-26 04:13:06 +00:00
772e6e3eb0 Accepting request 1206573 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-audioread?expand=0&rev=12
2024-10-09 20:14:11 +00:00
b9116b7b94 Accepting request 1206561 from home:dimstar:Factory
- Use the distro default ffmpeg version:
  + BuildRequire %ffmpeg_pref instead of ffmpeg-5.
  + BuildConflict %{ffmpeg_pref}-mini-libs: we need to have the
    decoders available in order to pass the test suite.
  + Recommend /usr/bin/ffmpeg instead of ffmpeg-5: the python
    library interacts via the ffmpeg binary.

OBS-URL: https://build.opensuse.org/request/show/1206561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=27
2024-10-09 17:21:41 +00:00
5 changed files with 49 additions and 27 deletions

View File

@@ -1,24 +1,3 @@
-------------------------------------------------------------------
Mon Nov 17 10:09:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.1.0
* add support for os.PathLike filenames in macca.py
* Version bump/changelog: 3.0.2
* include license in pyproject.toml
* Modernize package setup
* Add release workflow
* Increment version to 3.1.0a1
* Try using proper pypi repo
* Remove legacy url
* Add standard-aifc and standard-sunau as dependencies for python
3.13 and above. Python core removed these modules in 3.13 as part
of PEP-594. The standard-* modules are forks of the modules that
had previously been in the python core. Fixes #144
* run tests on python 3.12 and 3.13
* Increment version to 3.1.0
- Drop support-python-313.patch, merged upstream
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Thu Dec 12 03:15:22 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -15,18 +15,20 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-audioread
Version: 3.1.0
Version: 3.0.1
Release: 0
Summary: Wrapper for audio decoding via selectable backends
License: MIT
URL: https://github.com/beetbox/audioread
Source0: https://github.com/beetbox/audioread/archive/v%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on gh#beetbox/audioread#145
Patch0: support-python-313.patch
BuildRequires: %{ffmpeg_pref}
BuildRequires: %{python_module base}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module standard-aifc if %python-base >= 3.13}
BuildRequires: %{python_module standard-sunau if %python-base >= 3.13}

41
support-python-313.patch Normal file
View File

@@ -0,0 +1,41 @@
From c81adeb553f25f408a85803afcff7d3efd11f722 Mon Sep 17 00:00:00 2001
From: Luke Blaney <git@lukeblaney.co.uk>
Date: Wed, 30 Oct 2024 18:42:47 +0000
Subject: [PATCH 1/2] Add standard-aifc and standard-sunau as dependencies for
python 3.13 and above. Python core removed these modules in 3.13 as part of
PEP-594 https://peps.python.org/pep-0594/ The standard-* modules are forks of
the modules that had previously been in the python core. Fixes
https://github.com/beetbox/audioread/issues/144
---
pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
Index: audioread-3.0.1/pyproject.toml
===================================================================
--- audioread-3.0.1.orig/pyproject.toml
+++ audioread-3.0.1/pyproject.toml
@@ -11,6 +11,10 @@ readme = "README.rst"
requires-python = ">=3.6"
dynamic = ["version", "description"]
urls.Home = "https://github.com/beetbox/audioread"
+dependencies = [
+ "standard-aifc; python_version >= '3.13'",
+ "standard-sunau; python_version >= '3.13'",
+]
classifiers = [
'Topic :: Multimedia :: Sound/Audio :: Conversion',
'Intended Audience :: Developers',
Index: audioread-3.0.1/.github/workflows/main.yml
===================================================================
--- audioread-3.0.1.orig/.github/workflows/main.yml
+++ audioread-3.0.1/.github/workflows/main.yml
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python: ["3.8", "3.9", "3.10", "3.11"]
+ python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v2

3
v3.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98367fc46c436922e5c5b6aae59606c60c7ced36a0336cb8845fe85d0b2de383
size 112064

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73a31af0d329e633d6166ff70cab31aec3e33b35c05c80d183337fcc2b417f42
size 126203