<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/40ff3b7ad6a164143fcc0e423075b2a0225554fb">https://github.com/macports/macports-ports/commit/40ff3b7ad6a164143fcc0e423075b2a0225554fb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 40ff3b7ad6a openvdb: update to 8.0.0 - Add myself as co-maintainer
</span>40ff3b7ad6a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 40ff3b7ad6a164143fcc0e423075b2a0225554fb
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Sat Dec 4 22:00:12 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> openvdb: update to 8.0.0
</span><span style='display:block; white-space:pre;color:#404040;'> - Add myself as co-maintainer
</span>---
graphics/openimageio/Portfile | 2 +-
graphics/openvdb/Portfile | 31 ++++++++++++++----------
graphics/openvdb/files/patch-python_version.diff | 20 ++++++---------
3 files changed, 26 insertions(+), 27 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openimageio/Portfile b/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a7167a743d5..5248c4eaa55 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup boost 1.0
github.setup OpenImageIO oiio 2.1.17.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 7
</span> name openimageio
categories graphics
license BSD
<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 7ff06637521..d67e164c694 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,21 +7,24 @@ PortGroup active_variants 1.1
</span> PortGroup compiler_blacklist_versions 1.0
PortGroup boost 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup AcademySoftwareFoundation openvdb 7.2.3 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.openvdb.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup AcademySoftwareFoundation openvdb 8.0.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories graphics
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span> license {MPL-2 LGPL-2.1+}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description sparse volume data structure and tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mcalhoun @MarcusCalhoun-Lopez} {@jasonliu--} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description sparse volumetric data structure and tools
</span> long_description OpenVDB is an open source C++ library comprising a novel hierarchical data structure \
and a large suite of tools for the efficient storage and manipulation of \
sparse volumetric data discretized on three-dimensional grids.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b85de208ed29ab1675956f78fd867eeaaecc591d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1e929a7614e7b47d9b51c56c5e76c89cb3fef572d6a6affb89b45af2c81a297c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2289366
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.openvdb.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 68e677f58b7fea6dc4bd8e6d55c531205195625c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 28a811bae32b62a2080aad4776c91d4453a7d52e2edbe1ab4a21783ec4aaa6bb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2287123
</span>
compiler.cxx_standard 2014
# error: cannot refer to variable template 'Contains' without a template argument list
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,7 +52,8 @@ depends_lib-append port:zlib \
</span> port:openexr
# avoid
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# ccache: error: Failed to create directory ${prefix}/var/macports/build/.ccache/tmp: Operation not permitted
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ccache: error: Failed to create directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ${prefix}/var/macports/build/.ccache/tmp: Operation not permitted
</span> # use latest ABI version (default is 3)
configure.args-append -DUSE_CCACHE=OFF \
-DOPENVDB_ABI_VERSION_NUMBER=[lindex [split ${version} .] 0] \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,9 +84,10 @@ foreach s ${pythons_suffixes} {
</span> configure.args-append -DOPENVDB_BUILD_PYTHON_MODULE=ON \
-DUSE_NUMPY=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|__MACPORTS_PYTHON_VERSION__|${v}|g ${worksrcpath}/openvdb/openvdb/python/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|__MACPORTS_PYTHON_VERSION__|${v}|g \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/openvdb/openvdb/python/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
require_active_variants [boost::depends_portname] ${p}
require_active_variants [boost::depends_portname]-numpy ${p}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openvdb/files/patch-python_version.diff b/graphics/openvdb/files/patch-python_version.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a9986e52fe2..672c973cfb4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openvdb/files/patch-python_version.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/openvdb/files/patch-python_version.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +1,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- openvdb/openvdb/python/CMakeLists.txt.orig 2021-03-17 15:42:34.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ openvdb/openvdb/python/CMakeLists.txt 2021-04-17 12:41:14.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -94,16 +94,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # CMake >= 3.14
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(OPENVDB_BUILD_PYTHON_UNITTESTS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- find_package(Python QUIET COMPONENTS Interpreter Development)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ find_package(Python __MACPORTS_PYTHON_VERSION__ EXACT QUIET COMPONENTS Interpreter Development)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- find_package(Python QUIET COMPONENTS Development)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ find_package(Python __MACPORTS_PYTHON_VERSION__ EXACT QUIET COMPONENTS Development)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- openvdb/openvdb/python/CMakeLists.txt.orig 2020-12-24 12:13:14.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ openvdb/openvdb/python/CMakeLists.txt 2021-11-22 20:07:53.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -94,11 +94,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ list(APPEND OPENVDB_PYTHON_DEPS Python::NumPy)
</span> endif()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- find_package(Python QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ find_package(Python __MACPORTS_PYTHON_VERSION__ EXACT QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
</span> OPENVDB_CHECK_PYTHON_VERSION(${Python_VERSION} ${Python_INCLUDE_DIRS})
<span style='display:block; white-space:pre;background:#ffe0e0;'>- list(APPEND OPENVDB_PYTHON_DEPS Python::Python)
</span>
if(USE_NUMPY)
- find_package(Python QUIET COMPONENTS NumPy)
</pre><pre style='margin:0'>
</pre>