<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/24f3c22c3ed82e4170d8c491c72fc54483084814">https://github.com/macports/macports-ports/commit/24f3c22c3ed82e4170d8c491c72fc54483084814</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 24f3c22c3ed py-m2crypto: fix build error
</span>24f3c22c3ed is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 24f3c22c3ed82e4170d8c491c72fc54483084814
</span>Author: Allan Que <allan.que@gmail.com>
AuthorDate: Mon Nov 20 17:16:37 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> py-m2crypto: fix build error
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Errors due to change from setup.py to build module on python37 and later.
</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/68752
</span>---
python/py-m2crypto/Portfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-m2crypto/Portfile b/python/py-m2crypto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7728357a81a..28e36962226 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-m2crypto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-m2crypto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,10 +40,14 @@ if {${name} ne ${subport}} {
</span> openssl.branch 3
}
set openssl_nodot [string map {. {}} openssl${openssl.branch}]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openssl_path ${prefix}/libexec/${openssl_nodot}
</span>
if {${python.version} > 36} {
depends_lib-append port:py${python.version}-importlib-metadata
depends_test-append port:py${python.version}-parameterized
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.cmd-append --config-setting openssl=${openssl_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.cmd-append build_ext --openssl=${openssl_path}
</span> }
patchfiles patch-setup.py.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,7 +61,6 @@ if {${name} ne ${subport}} {
</span> build.env-append "SWIG_FEATURES=\
-I${prefix}/libexec/${openssl_nodot}/include"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.cmd-append build_ext --openssl=${prefix}/libexec/${openssl_nodot}
</span>
test.run yes
</pre><pre style='margin:0'>
</pre>