<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d565a5a6fd82242bae8b8f8ad88e66781cbf6cc8">https://github.com/macports/macports-ports/commit/d565a5a6fd82242bae8b8f8ad88e66781cbf6cc8</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 d565a5a6fd8 py-rpy2: Add openmp default variant to mirror R Portfile
</span>d565a5a6fd8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d565a5a6fd82242bae8b8f8ad88e66781cbf6cc8
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Mon Jun 21 08:07:48 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-rpy2: Add openmp default variant to mirror R Portfile
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Add openmp default variant to mirror R Portfile
</span><span style='display:block; white-space:pre;color:#404040;'> * Fixes: https://github.com/macports/macports-ports/commit/b4aa8b2166a93b177815077c912a3df9d0d58d0d#r52426267
</span>---
python/py-rpy2/Portfile | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-rpy2/Portfile b/python/py-rpy2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f6b5019476..2a7819310a1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-rpy2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-rpy2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,8 +6,8 @@ PortGroup python 1.0
</span>
name py-rpy2
version 3.4.5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories-append science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append math science
</span> platforms darwin
license {MPL-1.1 LGPL-2.1+}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,14 +59,22 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-setuptools
# To continue using your custom R installation instead of MacPorts' R,
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # you have to remove this dependency line and make sure that your R
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # you must remove this dependency line and make sure that your R
</span> # is in MacPorts' binpath, see your macports.conf for details.
depends_lib-append port:R
# https://trac.macports.org/ticket/61327
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {set result [active_variants R openmp]}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.openmp_version 4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant openmp description {enable parallelism support using OpenMP} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Please mirror the version used in math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.openmp_version 4.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants R openmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Support OpenMP, mirroring the R port."
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Please mirror the default used in math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +openmp
</span>
livecheck.type none
}
</pre><pre style='margin:0'>
</pre>