forked from pool/python-mpld3
Accepting request 1163970 from devel:languages:python:numeric
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1163970 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpld3?expand=0&rev=6
This commit is contained in:
commit
dfbeeca32b
@ -1,20 +0,0 @@
|
||||
diff -ur mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py mpld3-0.5.9/mpld3/test_plots/test_patches.py
|
||||
--- mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py 2023-12-22 15:11:45.594473647 +0100
|
||||
+++ mpld3-0.5.9/mpld3/test_plots/test_patches.py 2023-12-22 15:14:58.773431149 +0100
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
p = [patches.Arrow(0.75, 0.75, 0.5, 0.5),
|
||||
patches.Circle((1, 2), 0.4),
|
||||
- patches.RegularPolygon((1, 3), 5, 0.4),
|
||||
+ patches.RegularPolygon((1, 3), 5, radius=0.4),
|
||||
patches.Rectangle((1.6, 0.75), 0.8, 0.5),
|
||||
patches.CirclePolygon((2, 2), 0.4),
|
||||
patches.Polygon([[1.75, 3], [2, 3.25], [2.25, 3],
|
||||
[2, 2.75], [1.75, 3]]),
|
||||
patches.Wedge((3, 1), 0.4, 0, 270),
|
||||
patches.Ellipse((3, 2), 0.6, 0.4),
|
||||
- patches.Arc((3, 3), 0.5, 0.5, 270, 90)]
|
||||
+ patches.Arc((3, 3), 0.5, 0.5, angle=270, theta1=90)]
|
||||
|
||||
for patch in p:
|
||||
patch.set_facecolor(rcolor_1)
|
3
mpld3-0.5.10.tar.gz
Normal file
3
mpld3-0.5.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a478eb404fa5212505c59133cf272cd9a94105872e605597720e7f84de38fbc7
|
||||
size 1027709
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8d228b2911132fd0154e2a49543b7f97247f9851cfe468c6b616f452c676158
|
||||
size 1026083
|
@ -1,13 +0,0 @@
|
||||
Index: mpld3-0.5.9/mpld3/tests/test_elements.py
|
||||
===================================================================
|
||||
--- mpld3-0.5.9.orig/mpld3/tests/test_elements.py
|
||||
+++ mpld3-0.5.9/mpld3/tests/test_elements.py
|
||||
@@ -22,7 +22,7 @@ def test_line():
|
||||
assert_equal(line['alpha'], 0.3)
|
||||
assert_equal(line['color'], "#000000")
|
||||
assert_equal(line['coordinates'], 'data')
|
||||
- assert_equal(line['dasharray'], '7.4,3.2')
|
||||
+ assert line['dasharray'] in ['7.4,3.2', '6,6']
|
||||
assert_equal(line['zorder'], 10)
|
||||
assert_equal(line['linewidth'], 2)
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 17:36:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 22 14:25:31 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user