<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/68959fb8e757e6849992c5dee0d8fdfad8a321e7">https://github.com/macports/macports-ports/commit/68959fb8e757e6849992c5dee0d8fdfad8a321e7</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 68959fb8e75 octave-fuzzy-logic-toolkit: update to 0.4.6
</span>68959fb8e75 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 68959fb8e757e6849992c5dee0d8fdfad8a321e7
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Thu Feb 18 07:57:46 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> octave-fuzzy-logic-toolkit: update to 0.4.6
</span>---
math/octave-fuzzy-logic-toolkit/Portfile | 15 +++---
.../files/patch-anonymous.diff | 61 ----------------------
2 files changed, 6 insertions(+), 70 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-fuzzy-logic-toolkit/Portfile b/math/octave-fuzzy-logic-toolkit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58bcee17249..307829985d8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-fuzzy-logic-toolkit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-fuzzy-logic-toolkit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,19 +3,16 @@
</span> PortSystem 1.0
PortGroup octave 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-octave.setup fuzzy-logic-toolkit 0.4.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+octave.setup fuzzy-logic-toolkit 0.4.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> platforms darwin
license GPL-2+
maintainers {mps @Schamschula} openmaintainer
description A mostly MATLAB-compatible fuzzy logic toolkit for Octave.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8539fa54e2b9977981914fd585ce4c0b59dc1c8d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b4c24ac48662ce413599721d2565e9eabf23ead6b9b36863d33740920aec4133 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 82960
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8e0441aed43ec79e0a50ab149e2330d67b19c01a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8d15485faea8c41256ec017758a85e85734b7381cdc9a7ad7f9c572c2507dd88 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 87717
</span>
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# see https://savannah.gnu.org/bugs/?53549
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-anonymous.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-fuzzy-logic-toolkit/files/patch-anonymous.diff b/math/octave-fuzzy-logic-toolkit/files/patch-anonymous.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 44ba35c4779..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-fuzzy-logic-toolkit/files/patch-anonymous.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,61 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- inst/defuzz.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ inst/defuzz.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--## Copyright (C) 2011-2014 L. Markowsky <lmarkov@users.sourceforge.net>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+## Copyright (C) 2011-2018 L. Markowsky <lmarkov@users.sourceforge.net>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ##
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ## This file is part of the fuzzy-logic-toolkit.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ##
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -162,7 +162,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- function crisp_x = mom (x, y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y = max (y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- y_val = @(y_val) if (y_val == max_y) 1 else 0 endif;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function y_val = calc_yval(y_val)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (y_val == max_y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endfunction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = @(y_val) calc_yval(y_val);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y_locations = arrayfun (y_val, y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crisp_x = sum (x .* max_y_locations) / sum (max_y_locations);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -185,7 +194,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- function crisp_x = som (x, y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y = max (y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- y_val = @(y_val) if (y_val == max_y) 1 else (NaN) endif;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function y_val = calc_yval(y_val)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (y_val == max_y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = (NaN);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endfunction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = @(y_val) calc_yval(y_val);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y_locations = arrayfun (y_val, y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crisp_x = min (x .* max_y_locations);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -207,7 +225,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- function crisp_x = lom (x, y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y = max (y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- y_val = @(y_val) if (y_val == max_y) 1 else (NaN) endif;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function y_val = calc_yval(y_val)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (y_val == max_y)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = (NaN);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endfunction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ y_val = @(y_val) calc_yval(y_val);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- max_y_locations = arrayfun (y_val, y);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crisp_x = max (x .* max_y_locations);
</span></pre><pre style='margin:0'>
</pre>