Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
2adcc8ce
Commit
2adcc8ce
authored
Sep 10, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to matplotlib 2.2.3
parent
98e37809
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
62 deletions
+3
-62
packages/matplotlib/meta.yaml
packages/matplotlib/meta.yaml
+3
-5
packages/matplotlib/patches/disable_bz2.patch
packages/matplotlib/patches/disable_bz2.patch
+0
-27
packages/matplotlib/patches/dummy_threading.patch
packages/matplotlib/patches/dummy_threading.patch
+0
-30
No files found.
packages/matplotlib/meta.yaml
View file @
2adcc8ce
package
:
name
:
matplotlib
version
:
2.2.
2
version
:
2.2.
3
source
:
url
:
https://files.pythonhosted.org/packages/e
c/ed/46b835da53b7ed05bd4c6cae293f13ec26e877d2e490a53a709915a9dcb7/matplotlib-2.2.2
.tar.gz
md5
:
dd1e49e041309a7fd4e32be8bf17c3b6
url
:
https://files.pythonhosted.org/packages/e
b/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3
.tar.gz
sha256
:
7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5
patches
:
-
patches/disable_bz2.patch
-
patches/dummy_threading.patch
-
patches/font_name_encoding.patch
-
patches/force_malloc_free.patch
-
patches/hardcoded_font_cache.patch
...
...
packages/matplotlib/patches/disable_bz2.patch
deleted
100644 → 0
View file @
98e37809
diff -ur matplotlib-2.2.2/lib/matplotlib/cbook/__init__.py matplotlib-2.2.2/lib/matplotlib/cbook/__init__.py
--- a/lib/matplotlib/cbook/__init__.py 2018-03-05 23:47:09.000000000 -0500
+++ b/lib/matplotlib/cbook/__init__.py 2018-05-17 09:39:11.514431317 -0400
@@ -10,7 +10,7 @@
import six
from six.moves import xrange, zip
-import bz2
+# import bz2
import collections
import contextlib
import datetime
@@ -601,10 +601,10 @@
# get rid of 'U' in flag for gzipped files.
flag = flag.replace('U', '')
fh = gzip.open(fname, flag)
- elif fname.endswith('.bz2'):
- # get rid of 'U' in flag for bz2 files
- flag = flag.replace('U', '')
- fh = bz2.BZ2File(fname, flag)
+ # elif fname.endswith('.bz2'):
+ # # get rid of 'U' in flag for bz2 files
+ # flag = flag.replace('U', '')
+ # fh = bz2.BZ2File(fname, flag)
else:
fh = io.open(fname, flag, encoding=encoding)
opened = True
packages/matplotlib/patches/dummy_threading.patch
deleted
100644 → 0
View file @
98e37809
diff -ur matplotlib-2.2.2/lib/matplotlib/backends/backend_agg.py matplotlib-2.2.2/lib/matplotlib/backends/backend_agg.py
--- a/lib/matplotlib/backends/backend_agg.py 2018-03-17 14:03:23.000000000 -0400
+++ b/lib/matplotlib/backends/backend_agg.py 2018-05-17 09:43:34.710665159 -0400
@@ -24,7 +24,10 @@
import six
-import threading
+try:
+ import threading
+except ImportError:
+ import dummy_threading as threading
import numpy as np
from collections import OrderedDict
from math import radians, cos, sin
diff -ur matplotlib-2.2.2/lib/matplotlib/font_manager.py matplotlib-2.2.2/lib/matplotlib/font_manager.py
--- a/lib/matplotlib/font_manager.py 2018-03-17 14:03:23.000000000 -0400
+++ b/lib/matplotlib/font_manager.py 2018-05-16 16:56:49.399466649 -0400
@@ -48,7 +48,10 @@
import json
import os
import sys
-from threading import Timer
+try:
+ from threading import Timer
+except ImportError:
+ from dummy_threading import Timer
import warnings
import logging
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment