pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-matplotlib (graphics/py-matplotlib) Add se...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9962e9e38a8
branches:  trunk
changeset: 445176:c9962e9e38a8
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jan 17 05:14:41 2021 +0000

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

diffstat:

 graphics/py-matplotlib/distinfo                |   3 ++-
 graphics/py-matplotlib/patches/patch-setup.cfg |  25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r b5e9efe2fa9c -r c9962e9e38a8 graphics/py-matplotlib/distinfo
--- a/graphics/py-matplotlib/distinfo   Sat Jan 16 21:53:24 2021 +0000
+++ b/graphics/py-matplotlib/distinfo   Sun Jan 17 05:14:41 2021 +0000
@@ -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
diff -r b5e9efe2fa9c -r c9962e9e38a8 graphics/py-matplotlib/patches/patch-setup.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-matplotlib/patches/patch-setup.cfg    Sun Jan 17 05:14:41 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index