File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
pythonforandroid/recipes/matplotlib Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def generate_libraries_pc_files(self, arch):
32
32
33
33
Because, for unix platforms, the mpl install script uses `pkg-config`
34
34
to detect libraries installed in non standard locations (our case...
35
- well...we don't event install the libraries...so we must trick a little
35
+ well...we don't even install the libraries...so we must trick a little
36
36
the mlp install).
37
37
"""
38
38
pkg_config_path = self .get_recipe_env (arch )['PKG_CONFIG_PATH' ]
@@ -71,7 +71,7 @@ def download_web_backend_dependencies(self, arch):
71
71
in our CI tests, so we download this package at the expected location
72
72
by the mpl install script which is defined by the environ variable
73
73
`XDG_CACHE_HOME` (we modify that one in our `get_recipe_env` so it will
74
- be the same regardles of the host platform).
74
+ be the same regardless of the host platform).
75
75
"""
76
76
77
77
env = self .get_recipe_env (arch )
Original file line number Diff line number Diff line change 1
1
--- matplotlib-3.1.1/setupext.py.orig 2019-12-31 01:25:00.000000000 +0100
2
- +++ matplotlib-3.1.1/setupext.py 2020-01-04 15:30:50.453260814 +0100
2
+ +++ matplotlib-3.1.1/setupext.py 2020-03-01 21:12:41.493350250 +0100
3
3
@@ -604,8 +604,7 @@ class Numpy(SetupPackage):
4
4
name = "numpy"
5
5
10
10
ext.define_macros.extend([
11
11
# Ensure that PY_ARRAY_UNIQUE_SYMBOL is uniquely defined for each
12
12
# extension.
13
- @@ -617,10 +616,10 @@ class Numpy(SetupPackage):
13
+ @@ -617,7 +616,7 @@ class Numpy(SetupPackage):
14
14
])
15
15
16
16
def get_setup_requires(self):
17
17
- return ['numpy>=1.11']
18
18
+ return [] # don't need it for p4a, due to above changes
19
19
20
20
def get_install_requires(self):
21
- - return ['numpy>=1.11']
22
- + return ['numpy==1.16.4'] # to match p4a's target version
23
-
24
-
25
- class LibAgg(SetupPackage):
21
+ return ['numpy>=1.11']
26
22
@@ -674,7 +673,7 @@ class FreeType(SetupPackage):
27
23
if sys.platform == 'win32':
28
24
libfreetype = 'libfreetype.lib'
You can’t perform that action at this time.
0 commit comments