pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53425: graphics/py-matplotlib 2.2.2 import fails



The following reply was made to PR pkg/53425; it has been noted by GNATS.

From: maya%netbsd.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/53425: graphics/py-matplotlib 2.2.2 import fails
Date: Wed, 4 Jul 2018 11:14:27 +0000

 well, there's one of your problems, that isn't sufficient to fix it. But
 here is a patch.
 
 --- lib/matplotlib/font_manager.py.orig	2018-03-17 18:03:23.000000000 +0000
 +++ lib/matplotlib/font_manager.py
 @@ -279,7 +279,7 @@ def _call_fc_list():
          'This may take a moment.'))
      timer.start()
      try:
 -        out = subprocess.check_output([str('fc-list'), '--format=%{file}\\n'])
 +        out = subprocess.check_output([str('fc-list'), '-f %{file}\\n'])
      except (OSError, subprocess.CalledProcessError):
          return []
      finally:
 


Home | Main Index | Thread Index | Old Index