Accepting request 1045128 from devel:languages:python:numeric
Forwarded request #1045057 from bnavigator - Skip a failing test -- gh#pydata/bottleneck#423 - Add rpmlintrc OBS-URL: https://build.opensuse.org/request/show/1045128 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=12
This commit is contained in:
commit
038abc001d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 17:21:43 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Skip a failing test -- gh#pydata/bottleneck#423
|
||||
- Add rpmlintrc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 14 15:00:35 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
2
python-Bottleneck.rpmlintrc
Normal file
2
python-Bottleneck.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# Required for testing the installed module
|
||||
addFilter("devel-file-in-non-devel-package.*bottleneck/tests/data/template_test")
|
@ -16,9 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
Name: python-Bottleneck
|
||||
Version: 1.3.5
|
||||
Release: 0
|
||||
@ -26,6 +24,7 @@ Summary: A collection of fast NumPy array functions
|
||||
License: BSD-2-Clause AND BSD-3-Clause
|
||||
URL: https://github.com/pydata/bottleneck
|
||||
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
|
||||
Source99: python-Bottleneck.rpmlintrc
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.16.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@ -50,12 +49,14 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%pytest_arch %{buildroot}%{$python_sitearch}/bottleneck/tests/
|
||||
# https://github.com/pydata/bottleneck/issues/423
|
||||
donttest="(move_test and test_move)"
|
||||
%pytest_arch --pyargs bottleneck -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst RELEASE.rst
|
||||
%{python_sitearch}/bottleneck/
|
||||
%{python_sitearch}/Bottleneck-%{version}-py*.egg-info
|
||||
%{python_sitearch}/Bottleneck-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user