From 113fbc2400de3122508d5cb08bd3857feb3d72773b1463b0ede2355362cf0355 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 May 2024 16:42:04 +0000 Subject: [PATCH] - update to 0.2.0.post2: * metadata/build updates - switch to PEP517 build - Do not build for Python 3.6, due to no NumPy. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pastream?expand=0&rev=10 --- pastream-0.2.0.post0.tar.gz | 3 --- pastream-0.2.0.post2.tar.gz | 3 +++ python-pastream.changes | 9 ++++++++- python-pastream.spec | 17 +++++++++++------ 4 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 pastream-0.2.0.post0.tar.gz create mode 100644 pastream-0.2.0.post2.tar.gz diff --git a/pastream-0.2.0.post0.tar.gz b/pastream-0.2.0.post0.tar.gz deleted file mode 100644 index 0b6209e..0000000 --- a/pastream-0.2.0.post0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89438f55a5e0ba6967fb4e1f6bb37a2b2af35c730590d3c60439493610db66b7 -size 64101 diff --git a/pastream-0.2.0.post2.tar.gz b/pastream-0.2.0.post2.tar.gz new file mode 100644 index 0000000..c3f95cd --- /dev/null +++ b/pastream-0.2.0.post2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9efdfad0e12844fb1a53884b943d8c45da5de0374b4d287475f44699bf381ea0 +size 63166 diff --git a/python-pastream.changes b/python-pastream.changes index 660ee68..321ba20 100644 --- a/python-pastream.changes +++ b/python-pastream.changes @@ -1,7 +1,14 @@ +------------------------------------------------------------------- +Thu May 2 16:41:35 UTC 2024 - Dirk Müller + +- update to 0.2.0.post2: + * metadata/build updates +- switch to PEP517 build + ------------------------------------------------------------------- Thu Apr 22 06:52:18 UTC 2021 - Steve Kowalik -- Do not build for Python 3.6, due to no NumPy. +- Do not build for Python 3.6, due to no NumPy. ------------------------------------------------------------------- Wed May 20 07:26:08 UTC 2020 - Petr Gajdos diff --git a/python-pastream.spec b/python-pastream.spec index 00ea405..0645b27 100644 --- a/python-pastream.spec +++ b/python-pastream.spec @@ -1,7 +1,7 @@ # # spec file for package python-pastream # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-pastream -Version: 0.2.0.post0 +Version: 0.2.0.post2 Release: 0 Summary: GIL-less Portaudio Streams for Python License: MIT @@ -30,7 +30,9 @@ Source100: python-pastream-rpmlintrc BuildRequires: %{python_module cffi >= 1.4.0} BuildRequires: %{python_module devel} BuildRequires: %{python_module pa-ringbuffer >= 0.1.2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -42,7 +44,7 @@ Requires: python-cffi >= 1.0.0 Requires: python-pa-ringbuffer >= 0.1.2 Requires: python-sounddevice >= 0.3.9 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python-numpy # SECTION test requirements BuildRequires: %{python_module SoundFile >= 0.9.0} @@ -64,10 +66,10 @@ sed -i -e '/^#!\//, 1d' src/pastream.py %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pastream %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -89,6 +91,9 @@ export CFLAGS="%{optflags}" %doc CHANGELOG.rst README.rst %license LICENSE %python_alternative %{_bindir}/pastream -%{python_sitearch}/* +%{python_sitearch}/pastream.py +%pycache_only %{python_sitearch}/__pycache__/pastream* +%{python_sitearch}/_py_pastream.abi3.so +%{python_sitearch}/pastream-%{version}.dist-info %changelog