(graphics/py-matplotlib) Add setup.cfg to use System freetype, tks joerg@

This commit is contained in:
mef 2021-01-17 05:14:41 +00:00
parent ce98d85bb0
commit bbe543dad1
2 changed files with 27 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.38 2021/01/10 20:27:33 adam Exp $
$NetBSD: distinfo,v 1.39 2021/01/17 05:14:41 mef Exp $
SHA1 (matplotlib-3.3.3.tar.gz) = 80e933178fd722863a9b6fea0388a578696c2e8a
RMD160 (matplotlib-3.3.3.tar.gz) = 7f1ed8f08766f60f1809c964c486536e3ef49683
SHA512 (matplotlib-3.3.3.tar.gz) = 36b482a6c36ee08c47f3c02c160289bbdec8746d4d246084723bd3e1fd632c6383f6db58c950a9773a6993d10f24dacd870a91faafc34864616288cd05b6232c
Size (matplotlib-3.3.3.tar.gz) = 37944403 bytes
SHA1 (patch-setup.cfg) = 3b910b5b8d4a3a2b8398acd72920eb03d1be723a

View file

@ -0,0 +1,25 @@
$NetBSD: patch-setup.cfg,v 1.1 2021/01/17 05:14:41 mef Exp $
Instruct to use system Freetype
From: https://matplotlib.org/3.3.3/users/installing.html
-----------
FreeType and Qhull
Matplotlib depends on FreeType (>= 2.3), a font rendering library, and
on Qhull (>= 2015.2), a library for computing triangulations. By
default (except on AIX) Matplotlib downloads and builds its own copy
of FreeType (this is necessary to run the test suite, because
different versions of FreeType rasterize characters differently), and
uses its own copy of Qhull.
To force Matplotlib to use a copy of FreeType or Qhull already
installed in your system, create a setup.cfg file with the following
contents:
-----------
--- /dev/null 2021-01-17 13:10:59.949185604 +0900
+++ setup.cfg 2021-01-17 13:55:23.673846857 +0900
@@ -0,0 +1,2 @@
+ [libs]
+ system_freetype = true