<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9607b0693fc7b6a9fc93a6b9499d0213e64ec39e">https://github.com/macports/macports-ports/commit/9607b0693fc7b6a9fc93a6b9499d0213e64ec39e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9607b0693fc7b6a9fc93a6b9499d0213e64ec39e
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Apr 13 16:02:14 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> openbabel: do not build Python bindings
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - these should/can be build separately with the pyXY-openbabel port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64998
</span>---
science/openbabel/Portfile | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/openbabel/Portfile b/science/openbabel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 99d452cc815..afaee01b38e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/openbabel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/openbabel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,12 +6,10 @@ PortGroup cmake 1.1
</span> PortGroup wxWidgets 1.0
github.setup openbabel openbabel 3-1-1 openbabel-
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span> conflicts openbabel2
version [string map {- .} ${github.version}]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4e0e07ed8ed4361de1dfff021d540c2e46c06fe2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 27743669
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories science devel chemistry
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,11 +22,15 @@ long_description ${description}. It's an open, collaborative project allowing
</span> solid-state materials, biochemistry, or related areas.
homepage https://openbabel.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_bzip2 yes
distname ${name}-${version}-source
worksrcdir ${name}-${version}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4e0e07ed8ed4361de1dfff021d540c2e46c06fe2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 27743669
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.cxx_standard \
2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,29 +38,21 @@ patchfiles version.patch
</span> patchfiles-append patch-cmake-coordgen.diff
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set py_ver 3.10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> configure.args-append \
-DBUILD_GUI=OFF \
-DBUILD_TESTING=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DRUN_SWIG=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPYTHON_BINDINGS=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/${py_ver}/bin/python${py_ver} \
</span> -DENABLE_OPENMP=OFF \
-DOPTIMIZE_NATIVE=OFF
depends_build-append \
port:eigen3 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:swig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span>
depends_lib-append port:boost \
port:coordgen \
path:lib/pkgconfig/cairo.pc:cairo \
port:libxml2 \
port:maeparser \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python${py_ver_nodot} \
</span> port:rapidjson \
port:zlib
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,10 +75,3 @@ variant gui description {Build the OpenBabelGUI} {
</span> configure.args-append \
-DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# install the Python package at the correct place; cannot figure out
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# how to tell CMake this directly....
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/${py_ver}/lib/python${py_ver}/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/lib/python${py_ver}/site-packages/openbabel ${destroot}${frameworks_dir}/Python.framework/Versions/${py_ver}/lib/python${py_ver}/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span></pre><pre style='margin:0'>
</pre>