From b2db12ca6b4fcf2bb06a17a9da453a0e1d9e51c3 Mon Sep 17 00:00:00 2001 From: Terje Rosten Date: Sep 28 2023 18:09:22 +0000 Subject: 3.0.1 --- diff --git a/.gitignore b/.gitignore index b711f8c..0e41a4c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /audioread-2.1.8.tar.gz /audioread-2.1.9.tar.gz /audioread-3.0.0.tar.gz +/audioread-3.0.1.tar.gz diff --git a/python-audioread-3.0.0-avoid-imp.patch b/python-audioread-3.0.0-avoid-imp.patch deleted file mode 100644 index 84edce5..0000000 --- a/python-audioread-3.0.0-avoid-imp.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/setup.py b/setup.py -index 6941028..77155a7 100644 ---- a/setup.py -+++ b/setup.py -@@ -14,10 +14,8 @@ - - import os - from setuptools import setup --import imp -- --version = imp.load_source('audioread.version', 'audioread/version.py') - -+from audioread.version import version - - def _read(fn): - path = os.path.join(os.path.dirname(__file__), fn) -@@ -25,7 +23,7 @@ def _read(fn): - - - setup(name='audioread', -- version=version.version, -+ version=version, - description='multi-library, cross-platform audio decoding', - author='Adrian Sampson', - author_email='adrian@radbox.org', diff --git a/python-audioread.spec b/python-audioread.spec index b32641e..a0ef0d4 100644 --- a/python-audioread.spec +++ b/python-audioread.spec @@ -1,15 +1,14 @@ Summary: Multi-library, cross-platform audio decoding in Python Name: python-audioread -Version: 3.0.0 -Release: 5%{?dist} +Version: 3.0.1 +Release: 1%{?dist} License: MIT URL: http://pypi.python.org/pypi/audioread/ Source0: https://files.pythonhosted.org/packages/source/a/audioread/audioread-%{version}.tar.gz -Patch01: python-audioread-3.0.0-avoid-imp.patch BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-setuptools -Buildrequires: python3-pytest-runner +BuildRequires: python3-gobject +BuildRequires: /usr/bin/ffmpeg %global _description \ Decode audio files using whichever backend is available. Among\ currently supports backends are\ @@ -22,27 +21,34 @@ currently supports backends are\ %package -n python3-audioread Summary: Multi-library, cross-platform audio decoding in Python Requires: python3-gobject -Requires: gstreamer1 -Requires: gstreamer1-plugins-base -Requires: gstreamer1-plugins-good +Requires: (/usr/bin/ffmpeg or (gstreamer1 and gstreamer1-plugins-base and gstreamer1-plugins-good)) %{?python_provide:%python_provide python3-audioread} %description -n python3-audioread %_description %prep %autosetup -n audioread-%{version} +%generate_buildrequires +%pyproject_buildrequires -t + %build -%{py3_build} +%pyproject_wheel %install -%{py3_install} +%pyproject_install + +%check +%tox %files -n python3-audioread %doc README.rst decode.py %{python3_sitelib}/audioread/ -%{python3_sitelib}/audioread-%{version}-*.egg-info +%{python3_sitelib}/audioread-*.dist-info/ %changelog +* Thu Sep 28 2023 Terje Rosten - 3.0.1-1 +- 3.0.1 + * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 7ac0c42..14b48e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (audioread-3.0.0.tar.gz) = c9f1e5206df998ad9d112dd4b75ae41cde01271485eed27f62feed89c5ca36d4bbce7a888498d3c20d85e8b50de6ef263f795eec164c4bd348d83535b66c38ae +SHA512 (audioread-3.0.1.tar.gz) = b362bf85372fa64a3ed54258e344787db4f15d19a9d959522339fc441eb7ae0d1394707e8c3aa6bc77a42cc790650670d84800f1f3885efe932f718ed0a35bc1