pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-matplotlib py-matplotlib: Fix build with m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0adb1cf9a364
branches:  trunk
changeset: 445456:0adb1cf9a364
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Jan 24 07:39:36 2021 +0000

description:
py-matplotlib: Fix build with math/qhull-2020.2

diffstat:

 graphics/py-matplotlib/distinfo                  |   3 ++-
 graphics/py-matplotlib/patches/patch-setupext.py |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 4afcd0fc5ea3 -r 0adb1cf9a364 graphics/py-matplotlib/distinfo
--- a/graphics/py-matplotlib/distinfo   Sun Jan 24 07:24:58 2021 +0000
+++ b/graphics/py-matplotlib/distinfo   Sun Jan 24 07:39:36 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.40 2021/01/17 05:19:33 mef Exp $
+$NetBSD: distinfo,v 1.41 2021/01/24 07:39:36 ryoon 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) = 11dd8b9dd84005c8b195d86f0ccd5ff58502edf4
+SHA1 (patch-setupext.py) = eec84046e5cb4d9eebb838eb53d9fecd8485f443
diff -r 4afcd0fc5ea3 -r 0adb1cf9a364 graphics/py-matplotlib/patches/patch-setupext.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-matplotlib/patches/patch-setupext.py  Sun Jan 24 07:39:36 2021 +0000
@@ -0,0 +1,16 @@
+$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")))



Home | Main Index | Thread Index | Old Index