14
0

Accepting request 628717 from devel:languages:python

- Remove the test condition, run them always

- Update to version 1.3.2
  * No obvious changelog

OBS-URL: https://build.opensuse.org/request/show/628717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysndfile?expand=0&rev=2
This commit is contained in:
2018-08-12 18:55:37 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 18 deletions

View File

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

3
pysndfile-1.3.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Aug 11 06:32:26 UTC 2018 - tchvatal@suse.com
- Remove the test condition, run them always
-------------------------------------------------------------------
Fri Aug 10 22:26:07 UTC 2018 - jsikes@suse.de
- Update to version 1.3.2
* No obvious changelog
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 9 01:34:44 UTC 2018 - toddrme2178@gmail.com Wed May 9 01:34:44 UTC 2018 - toddrme2178@gmail.com

View File

@@ -17,31 +17,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pysndfile Name: python-pysndfile
Version: 1.1.0 Version: 1.3.2
# For license files
%define tag 2669bbf93fb01ae35048e7036ce1b9d6b6e6d205
Release: 0 Release: 0
Summary: Cython wrapper class for reading/writing soundfiles Summary: Cython wrapper class for reading/writing soundfiles
License: LGPL-3.0 License: LGPL-3.0-only
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://forge.ircam.fr/p/pysndfile URL: http://forge.ircam.fr/p/pysndfile
Source: https://files.pythonhosted.org/packages/source/p/pysndfile/pysndfile-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pysndfile/pysndfile-%{version}.tar.gz
Source10: https://forge.ircam.fr/p/pysndfile/source/file/%{tag}/COPYING.txt Source10: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.txt
Source11: https://forge.ircam.fr/p/pysndfile/source/file/%{tag}/COPYING.LESSER.txt Source11: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.LESSER.txt
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: c++_compiler BuildRequires: c++_compiler
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
Requires: python-numpy Requires: python-numpy
%python_subpackages %python_subpackages
%description %description
@@ -75,15 +69,12 @@ export CFLAGS="%{optflags}"
%python_install %python_install
%python_expand %fdupes %{buildroot}%{python_sitearch} %python_expand %fdupes %{buildroot}%{python_sitearch}
%if %{with test}
%check %check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python tests/pysndfile_test.py $python tests/pysndfile_test.py
} }
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc ChangeLog README.md %doc ChangeLog README.md
%license COPYING.txt COPYING.LESSER.txt %license COPYING.txt COPYING.LESSER.txt
%{python_sitearch}/* %{python_sitearch}/*