<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/10bce8198d64dabd72e2d09ece38a2397e2c03a8">https://github.com/macports/macports-ports/commit/10bce8198d64dabd72e2d09ece38a2397e2c03a8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 10bce8198d64dabd72e2d09ece38a2397e2c03a8
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Dec 17 01:06:57 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    openvdb: fix support for NumPy
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Support for NumPy was not actually turned on.
</span>---
 graphics/openvdb/Portfile | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openvdb/Portfile b/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6a4a24b..b0e6c88 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup               active_variants 1.1
</span> PortGroup               compiler_blacklist_versions 1.0
 
 github.setup            AcademySoftwareFoundation openvdb 6.1.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                2
</span> homepage                https://www.openvdb.org/
 categories              graphics
 license                 MPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,31 +61,46 @@ configure.args-append   -DOPENVDB_BUILD_UNITTESTS=OFF
</span> variant python27 description {Build the Python 2.7 bindings} conflicts python36 python37 {
     depends_lib-append \
         port:python27 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        port:py27-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py27-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append  -DUSE_NUMPY=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     post-patch {
         reinplace s|__MACPORTS_PYTHON_VERSION__|2.7|g ${worksrcpath}/openvdb/python/CMakeLists.txt
     }
     require_active_variants boost python27
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    require_active_variants boost-numpy python27
</span> }
 
 variant python36 description {Build the Python 3.6 bindings} conflicts python27 python37 {
     depends_lib-append \
         port:python36 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        port:py36-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py36-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append  -DUSE_NUMPY=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     post-patch {
         reinplace s|__MACPORTS_PYTHON_VERSION__|3.6|g ${worksrcpath}/openvdb/python/CMakeLists.txt
     }
     require_active_variants boost python36
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    require_active_variants boost-numpy python36
</span> }
 
 variant python37 description {Build the Python 3.7 bindings} conflicts python27 python36 {
     depends_lib-append \
         port:python37 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        port:py37-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py37-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append  -DUSE_NUMPY=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     post-patch {
         reinplace s|__MACPORTS_PYTHON_VERSION__|3.7|g ${worksrcpath}/openvdb/python/CMakeLists.txt
     }
     require_active_variants boost python37
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    require_active_variants boost-numpy python37
</span> }
 
 if {![variant_isset python36] && ![variant_isset python37]} {
</pre><pre style='margin:0'>

</pre>