10
0
forked from pool/python-mpld3

- update to 0.5.19:

* Avoid MPL API removals
  * allow old and new dasharray
  * new maintainer
  * remove sklearn
- drop mpld3-pr516-dasharray.patch, mpl-patches.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=12
This commit is contained in:
2024-03-25 17:46:45 +00:00
committed by Git OBS Bridge
parent eec23abca6
commit a8021729b0
6 changed files with 18 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mpld3
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-mpld3
Version: 0.5.9
Version: 0.5.10
Release: 0
Summary: D3 Viewer for Matplotlib
License: BSD-3-Clause
@@ -26,10 +26,6 @@ URL: https://mpld3.github.io
# SourceRepository: https://github.com/mpld3/mpld3
Source0: https://files.pythonhosted.org/packages/source/m/mpld3/mpld3-%{version}.tar.gz
Source1: https://github.com/mpld3/mpld3/raw/v%{version}/visualize_tests.py
# PATCH-FIX-UPSTREAM mpld3-pr516-dasharray.patch gh#mpld3/mpld3#516
Patch1: mpld3-pr516-dasharray.patch
# PATCH-FIX-UPSTREAM mpl-patches.patch gh#mpld3/mpld3#521
Patch2: mpl-patches.patch
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module pip}
@@ -37,14 +33,14 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-Jinja2 >= 2.11.3
Requires: python-matplotlib
Recommends: jupyter-notebook
BuildArch: noarch
# SECTION test
BuildRequires: %{python_module diffimg}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module numpy >= 1.26.2}
BuildRequires: %{python_module pandas >= 2.1.4}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages