pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-matplotlib



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Jan 24 07:39:36 UTC 2021

Modified Files:
        pkgsrc/graphics/py-matplotlib: distinfo
Added Files:
        pkgsrc/graphics/py-matplotlib/patches: patch-setupext.py

Log Message:
py-matplotlib: Fix build with math/qhull-2020.2


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/py-matplotlib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/py-matplotlib/patches/patch-setupext.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-matplotlib/distinfo
diff -u pkgsrc/graphics/py-matplotlib/distinfo:1.40 pkgsrc/graphics/py-matplotlib/distinfo:1.41
--- pkgsrc/graphics/py-matplotlib/distinfo:1.40 Sun Jan 17 05:19:33 2021
+++ pkgsrc/graphics/py-matplotlib/distinfo      Sun Jan 24 07:39:36 2021
@@ -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

Added files:

Index: pkgsrc/graphics/py-matplotlib/patches/patch-setupext.py
diff -u /dev/null pkgsrc/graphics/py-matplotlib/patches/patch-setupext.py:1.1
--- /dev/null   Sun Jan 24 07:39:36 2021
+++ pkgsrc/graphics/py-matplotlib/patches/patch-setupext.py     Sun Jan 24 07:39:36 2021
@@ -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