14
0
forked from pool/python-sox

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sox?expand=0&rev=7
This commit is contained in:
2025-06-12 12:15:39 +00:00
committed by Git OBS Bridge
parent 56a7f15563
commit f1848bd32f
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 12:15:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 14 11:32:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com> Tue May 14 11:32:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sox # spec file for package python-sox
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,18 @@
Name: python-sox Name: python-sox
Version: 1.5.0 Version: 1.5.0
Release: 0 Release: 0
License: BSD-3-Clause
Summary: Python wrapper around SoX Summary: Python wrapper around SoX
URL: https://github.com/rabitt/pysox License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/rabitt/pysox
Source: https://github.com/marl/pysox/archive/v%{version}/sox-%{version}.tar.gz Source: https://github.com/marl/pysox/archive/v%{version}/sox-%{version}.tar.gz
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module soundfile} BuildRequires: %{python_module soundfile}
BuildRequires: %{python_module typing-extensions} BuildRequires: %{python_module typing-extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: sox BuildRequires: sox
@@ -36,7 +38,6 @@ Requires: python-numpy
Requires: python-typing-extensions Requires: python-typing-extensions
Requires: sox Requires: sox
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -52,10 +53,10 @@ This is a Python wrapper for SOX.
sed -i -e '/^#!\//, 1d' sox/*.py sed -i -e '/^#!\//, 1d' sox/*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check