<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1eb849b0308327b4283e4d85a09a0f91ccf926f9">https://github.com/macports/macports-ports/commit/1eb849b0308327b4283e4d85a09a0f91ccf926f9</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 1eb849b0308 mbedtls: update to 2.25.0
</span>1eb849b0308 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1eb849b0308327b4283e4d85a09a0f91ccf926f9
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sat Dec 12 07:41:29 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> mbedtls: update to 2.25.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> remove mbed-crypto source code
</span><span style='display:block; white-space:pre;color:#404040;'> add Python variants for build
</span>---
devel/mbedtls/Portfile | 59 +++++++++++++++++++++++++-------------------------
1 file changed, 29 insertions(+), 30 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mbedtls/Portfile b/devel/mbedtls/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7041c9763b1..6fc5bd7eea4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mbedtls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mbedtls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,10 +4,8 @@ PortSystem 1.0
</span> PortGroup cmake 1.1
name mbedtls
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.24.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.25.0
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set mbedcrypto_version \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 3.1.0
</span>
categories devel
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,47 +16,48 @@ long_description {*}${description}
</span> platforms darwin
homepage https://tls.mbed.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://github.com/ARMmbed/mbedtls/archive:mbedtls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- https://github.com/ARMmbed/mbed-crypto/archive:mbedcrypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://github.com/ARMmbed/mbedtls/archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${name}-${version}${extract.suffix}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${name}-${version}${extract.suffix}:mbedtls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mbedcrypto-${mbedcrypto_version}${extract.suffix}:mbedcrypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 05a42409bafee4bfe1397a98878abdaab7d85c2c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ea2049c2dd4868693998d5a9780e198194be5aea1706ff4a9d4f882f18c0a101 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3994272
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${name}-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 2cc3e3460d75ec4a6c8f11e524c4afff5f78cb40 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b5a779b5f36d5fc4cba55faa410685f89128702423ad07b36c5665441a06a5f3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3912697 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mbedcrypto-${mbedcrypto_version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 53752ad93f8a9727a51977fde77f0a21981787aa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7e171df03560031bc712489930831e70ae4b70ff521a609c6361f36bd5f8b76b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3055269
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:perl5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python.branch 3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 description {Use Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span> port:python38
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# error: /usr/bin/ranlib: unknown option character `n' in: -no_warning_for_no_symbols
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# see: https://trac.macports.org/ticket/60762
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 description {Use Python 3.9} {
</span> depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cctools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_RANLIB=${prefix}/bin/ranlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.branch 3.9
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/${name}-${name}-${version} ${workpath}/${name}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${workpath}/${name}-${version}/crypto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/mbed-crypto-mbedcrypto-${mbedcrypto_version} ${workpath}/${name}-${version}/crypto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python38
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
-DENABLE_TESTING=On \
-DPERL_EXECUTABLE=${prefix}/bin/perl \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DMBEDTLS_PYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python3.8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMBEDTLS_PYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python${python.branch} \
</span> -DUSE_SHARED_MBEDTLS_LIBRARY=ON \
-DMBEDTLS_FATAL_WARNINGS=OFF
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: /usr/bin/ranlib: unknown option character `n' in: -no_warning_for_no_symbols
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see: https://trac.macports.org/ticket/60762
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cctools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_RANLIB=${prefix}/bin/ranlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
livecheck.type regex
</pre><pre style='margin:0'>
</pre>