Sun Jan 24 07:39:36 2021 UTC ()
py-matplotlib: Fix build with math/qhull-2020.2


(ryoon)
diff -r1.40 -r1.41 pkgsrc/graphics/py-matplotlib/distinfo
diff -r0 -r1.1 pkgsrc/graphics/py-matplotlib/patches/patch-setupext.py

cvs diff -r1.40 -r1.41 pkgsrc/graphics/py-matplotlib/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-matplotlib/distinfo 2021/01/17 05:19:33 1.40
+++ pkgsrc/graphics/py-matplotlib/distinfo 2021/01/24 07:39:36 1.41
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.40 2021/01/17 05:19:33 mef Exp $ 1$NetBSD: distinfo,v 1.41 2021/01/24 07:39:36 ryoon Exp $
2 2
3SHA1 (matplotlib-3.3.3.tar.gz) = 80e933178fd722863a9b6fea0388a578696c2e8a 3SHA1 (matplotlib-3.3.3.tar.gz) = 80e933178fd722863a9b6fea0388a578696c2e8a
4RMD160 (matplotlib-3.3.3.tar.gz) = 7f1ed8f08766f60f1809c964c486536e3ef49683 4RMD160 (matplotlib-3.3.3.tar.gz) = 7f1ed8f08766f60f1809c964c486536e3ef49683
5SHA512 (matplotlib-3.3.3.tar.gz) = 36b482a6c36ee08c47f3c02c160289bbdec8746d4d246084723bd3e1fd632c6383f6db58c950a9773a6993d10f24dacd870a91faafc34864616288cd05b6232c 5SHA512 (matplotlib-3.3.3.tar.gz) = 36b482a6c36ee08c47f3c02c160289bbdec8746d4d246084723bd3e1fd632c6383f6db58c950a9773a6993d10f24dacd870a91faafc34864616288cd05b6232c
6Size (matplotlib-3.3.3.tar.gz) = 37944403 bytes 6Size (matplotlib-3.3.3.tar.gz) = 37944403 bytes
7SHA1 (patch-setup.cfg) = 11dd8b9dd84005c8b195d86f0ccd5ff58502edf4 7SHA1 (patch-setup.cfg) = 11dd8b9dd84005c8b195d86f0ccd5ff58502edf4
 8SHA1 (patch-setupext.py) = eec84046e5cb4d9eebb838eb53d9fecd8485f443

File Added: pkgsrc/graphics/py-matplotlib/patches/Attic/patch-setupext.py
$NetBSD: patch-setupext.py,v 1.1 2021/01/24 07:39:36 ryoon Exp $

* libqhull is not provided anymore by math/qhull since 2020.2.
  Use libqhull_r instead.

--- setupext.py.orig	2020-11-12 04:38:07.000000000 +0000
+++ setupext.py
@@ -505,7 +505,7 @@ def add_libagg_flags_and_sources(ext):
 
 def add_qhull_flags(ext):
     if options.get("system_qhull"):
-        ext.libraries.append("qhull")
+        ext.libraries.append("qhull_r")
     else:
         ext.include_dirs.insert(0, "extern")
         ext.sources.extend(sorted(glob.glob("extern/libqhull/*.c")))