]> git.pld-linux.org Git - packages/python-matplotlib.git/blob - python-matplotlib-system-qhull.patch
- updated to 2.2.5 (latest version with python2 support)
[packages/python-matplotlib.git] / python-matplotlib-system-qhull.patch
1 --- matplotlib-2.2.5/setupext.py.orig   2020-02-02 00:15:39.000000000 +0100
2 +++ matplotlib-2.2.5/setupext.py        2020-03-31 20:24:37.308082463 +0200
3 @@ -234,6 +234,7 @@
4  
5  lft = bool(os.environ.get('MPLLOCALFREETYPE', False))
6  options['local_freetype'] = lft or options.get('local_freetype', False)
7 +options['local_qhull'] = False
8  
9  
10  def get_win32_compiler():
11 @@ -1410,8 +1411,7 @@
12      def check(self):
13          self.__class__.found_external = True
14          try:
15 -            return self._check_for_pkg_config(
16 -                'libqhull', 'libqhull/qhull_a.h', min_version='2015.2')
17 +            return not options.get('local_qhull', False)
18          except CheckFailed as e:
19              self.__class__.found_pkgconfig = False
20              self.__class__.found_external = False
21 @@ -1419,6 +1419,7 @@
22  
23      def add_flags(self, ext):
24          if self.found_external:
25 +            ext.libraries.append('qhull')
26              pkg_config.setup_extension(ext, 'qhull',
27                                         default_libraries=['qhull'])
28          else:
This page took 0.058703 seconds and 4 git commands to generate.