Accepting request 890367 from home:badshah400:branches:devel:languages:python:numeric

- Skip python 3.6: no numpy.
- Tests will require python-diffimg (new package).
- Fix comment about why tests are not run: they are not designed
  to run non-interactively.

OBS-URL: https://build.opensuse.org/request/show/890367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=2
This commit is contained in:
Matej Cepl 2021-05-04 18:27:24 +00:00 committed by Git OBS Bridge
parent 1f09a90e68
commit 3d827da97c
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 21 10:00:34 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Skip python 3.6: no numpy.
- Tests will require python-diffimg (new package).
- Fix comment about why tests are not run: they are not designed
to run non-interactively.
-------------------------------------------------------------------
Tue Dec 1 01:32:05 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -16,9 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# No numpy for py3.6
%define skip_python36 1
%define modname mpld3
# Tests don't work without severely outdated diffimg (no longer available for oS)
# Tests are not designed to be non-interactively run, see README.md
%bcond_with test
Name: python-mpld3
Version: 0.5.2
@ -41,6 +42,7 @@ Requires: python-pandas
Recommends: jupyter-notebook
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module diffimg}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy}
%endif