- Add sysinfo.py to provide upstream with the required debugging
information. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=50
This commit is contained in:
parent
8502e5631b
commit
22e261fa37
@ -3,6 +3,8 @@ Wed Oct 2 20:59:35 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
|||||||
|
|
||||||
- Add csr_matrix-attr-H.patch making the package compatible with
|
- Add csr_matrix-attr-H.patch making the package compatible with
|
||||||
the most recent version of SciPy (gh#librosa/librosa#1849).
|
the most recent version of SciPy (gh#librosa/librosa#1849).
|
||||||
|
- Add sysinfo.py to provide upstream with the required debugging
|
||||||
|
information.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 20 22:12:01 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
Fri Sep 20 22:12:01 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
@ -30,6 +30,8 @@ Source1: librosa-create-pooch-cache.py
|
|||||||
Source2: librosa-pooch-cache.tar.gz
|
Source2: librosa-pooch-cache.tar.gz
|
||||||
# Static test data
|
# Static test data
|
||||||
Source3: https://github.com/librosa/librosa-test-data/archive/%{static_test_data_commit}.tar.gz#/librosa-static-test-data-%{version}.tar.gz
|
Source3: https://github.com/librosa/librosa-test-data/archive/%{static_test_data_commit}.tar.gz#/librosa-static-test-data-%{version}.tar.gz
|
||||||
|
# Provide information required by upstream
|
||||||
|
Source20: sysinfo.py
|
||||||
# PATCH-FIX-UPSTREAM csr_matrix-attr-H.patch gh#librosa/librosa#1849 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM csr_matrix-attr-H.patch gh#librosa/librosa#1849 mcepl@suse.com
|
||||||
# csr_matrix.H in scipy has been removed
|
# csr_matrix.H in scipy has been removed
|
||||||
Patch0: csr_matrix-attr-H.patch
|
Patch0: csr_matrix-attr-H.patch
|
||||||
@ -101,6 +103,8 @@ sed -i '/addopts/ s/--cov-report.*--cov-report=xml//' setup.cfg
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib} $python %{SOURCE20}
|
||||||
|
|
||||||
export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache
|
export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache
|
||||||
# image files do not match without exact mpl version
|
# image files do not match without exact mpl version
|
||||||
donttest="test_display"
|
donttest="test_display"
|
||||||
|
14
sysinfo.py
Normal file
14
sysinfo.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import platform
|
||||||
|
import sys
|
||||||
|
import numpy
|
||||||
|
import scipy
|
||||||
|
import librosa
|
||||||
|
|
||||||
|
print(platform.platform())
|
||||||
|
print("Python", sys.version)
|
||||||
|
print("NumPy", numpy.__version__)
|
||||||
|
print("SciPy", scipy.__version__)
|
||||||
|
print("librosa", librosa.__version__)
|
||||||
|
librosa.show_versions()
|
Loading…
Reference in New Issue
Block a user