Thursday, August 18, 2022

[UPDATE] math/octave 7.2.0

Seems to be fine on amd64. The test suite results somewhat improved.

PASS 16952
FAIL 18
REGRESSION 6
XFAIL (reported bug) 31
SKIP (missing feature) 226
SKIP (run-time condition) 42

With the previous release 7.1.0 I had

PASS 16927
FAIL 25
REGRESSION 6
XFAIL (reported bug) 28
SKIP (missing feature) 226
SKIP (run-time condition) 41


ok?


Index: Makefile
===================================================================
RCS file: /cvs/ports/math/octave/Makefile,v
retrieving revision 1.130
diff -u -p -u -r1.130 Makefile
--- Makefile 21 Jul 2022 13:04:33 -0000 1.130
+++ Makefile 18 Aug 2022 20:18:29 -0000
@@ -1,14 +1,13 @@
COMMENT = Scientific Programming Language

-VERSION = 7.1.0
+VERSION = 7.2.0
DISTNAME = octave-${VERSION}
EXTRACT_SUFX = .tar.xz
CATEGORIES = math
-REVISION = 1

-SHARED_LIBS += octave 14.0
-SHARED_LIBS += octgui 8.0
-SHARED_LIBS += octinterp 13.0
+SHARED_LIBS += octave 15.0
+SHARED_LIBS += octgui 9.0
+SHARED_LIBS += octinterp 14.0

HOMEPAGE = https://www.gnu.org/software/octave/

Index: distinfo
===================================================================
RCS file: /cvs/ports/math/octave/distinfo,v
retrieving revision 1.24
diff -u -p -u -r1.24 distinfo
--- distinfo 26 Apr 2022 14:47:40 -0000 1.24
+++ distinfo 18 Aug 2022 20:18:29 -0000
@@ -1,2 +1,2 @@
-SHA256 (octave-7.1.0.tar.xz) = P9RhXrurAsOMk+proxh1au3sONmKXHMtQJiZ6LQ1YnM=
-SIZE (octave-7.1.0.tar.xz) = 26208376
+SHA256 (octave-7.2.0.tar.xz) = Su94w8nUn3XWTM1VJn30CzAg5kFPaeqHV6GTliizAXE=
+SIZE (octave-7.2.0.tar.xz) = 26224708
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/math/octave/patches/patch-configure,v
retrieving revision 1.17
diff -u -p -u -r1.17 patch-configure
--- patches/patch-configure 26 Apr 2022 14:47:40 -0000 1.17
+++ patches/patch-configure 18 Aug 2022 20:18:29 -0000
@@ -3,7 +3,7 @@ Use GNU readline as our base readline la
Index: configure
--- configure.orig
+++ configure
-@@ -81074,7 +81074,7 @@ printf "%s\n" "$as_me: WARNING: $warn_rapidjson" >&2;}
+@@ -80591,7 +80591,7 @@ printf "%s\n" "$as_me: WARNING: $warn_rapidjson" >&2;}

fi

@@ -12,7 +12,7 @@ Index: configure


TERM_LIBS=
-@@ -81177,14 +81177,14 @@ fi
+@@ -80694,14 +80694,14 @@ fi

ac_octave_save_LIBS="$LIBS"
LIBS="$TERM_LIBS"
@@ -30,7 +30,7 @@ Index: configure
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

-@@ -81222,7 +81222,7 @@ fi
+@@ -80739,7 +80739,7 @@ fi
printf "%s\n" "$ac_cv_lib_readline_rl_set_keyboard_input_timeout" >&6; }
if test "x$ac_cv_lib_readline_rl_set_keyboard_input_timeout" = xyes
then :
Index: patches/patch-scripts_miscellaneous_memory_m
===================================================================
RCS file: /cvs/ports/math/octave/patches/patch-scripts_miscellaneous_memory_m,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-scripts_miscellaneous_memory_m
--- patches/patch-scripts_miscellaneous_memory_m 26 Apr 2022 14:47:40 -0000 1.1
+++ patches/patch-scripts_miscellaneous_memory_m 18 Aug 2022 20:18:29 -0000
@@ -4,7 +4,7 @@ Show warning/error and skip test
Index: scripts/miscellaneous/memory.m
--- scripts/miscellaneous/memory.m.orig
+++ scripts/miscellaneous/memory.m
-@@ -131,7 +131,7 @@
+@@ -151,7 +151,7 @@

function [userdata, systemdata] = memory ()

@@ -13,7 +13,7 @@ Index: scripts/miscellaneous/memory.m
if (nargout > 0)
error ("memory: function not yet implemented for this architecture");
else
-@@ -260,14 +260,14 @@ function [status, meminfo] = lmemory ()
+@@ -280,14 +280,14 @@ function [status, meminfo] = lmemory ()
endfunction


Index: patches/patch-test_mk-bc-overloads-tst_sh
===================================================================
RCS file: patches/patch-test_mk-bc-overloads-tst_sh
diff -N patches/patch-test_mk-bc-overloads-tst_sh
--- patches/patch-test_mk-bc-overloads-tst_sh 26 Apr 2022 14:47:40 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,65 +0,0 @@
-Upstream Patch https://hg.savannah.gnu.org/hgweb/octave/rev/3c3abe6dbe58
-Fixes
https://savannah.gnu.org/bugs/index.php?62295
-
-Index: test/mk-bc-overloads-tst.sh
---- test/mk-bc-overloads-tst.sh.orig
-+++ test/mk-bc-overloads-tst.sh
-@@ -48,16 +48,16 @@ if [ $# -eq 2 ]; then
- shift
- case "$1" in
- --list-files)
-- echo $output_dir/tbcover.m
-- echo $output_dir/bc-overloads.tst
-+ echo tbcover.m
-+ echo bc-overloads.tst
- for class in $CLASSES; do
-- echo $output_dir/@$class/tbcover.m
-+ echo @$class/tbcover.m
- done
- exit
- ;;
- --list-dirs)
- for class in $CLASSES; do
-- echo $output_dir/@$class
-+ echo @$class
- done
- exit
- ;;
-@@ -70,16 +70,16 @@ if [ $# -eq 2 ]; then
- ;;
- esac
- else
-- echo "usage: build-bc-overload-tests.sh output_dir option" 1>&2
-+ echo "usage: mk-bc-overload-tests.sh output_dir option" 1>&2
- exit 1
- fi
-
- for class in $CLASSES; do
-- DIR="$output_dir/@$class"
-+ DIR="@$class"
- test -d $DIR || mkdir $DIR || { echo "error: could not create $DIR"; exit; }
- cat > $DIR/tbcover.m << EOF
- % !!! DO NOT EDIT !!!
--% generated automatically by build-bc-overload-tests.sh
-+% generated automatically by mk-bc-overload-tests.sh
- function s = tbcover (x, y)
- s = '$class';
- EOF
-@@ -87,7 +87,7 @@ done
-
- cat > $output_dir/tbcover.m << EOF
- % !!! DO NOT EDIT !!!
--% generated automatically by build-bc-overload-tests.sh
-+% generated automatically by mk-bc-overload-tests.sh
- function s = tbcover (x, y)
- s = 'none';
- EOF
-@@ -99,7 +99,7 @@ fi
- cat > $output_dir/bc-overloads.tst << EOF
- ## !!! DO NOT EDIT !!!
- ## THIS IS AN AUTOMATICALLY GENERATED FILE
--## modify build-bc-overload-tests.sh to generate the tests you need.
-+## modify mk-bc-overload-tests.sh to generate the tests you need.
-
- %!shared ex
- %! ex.double = 1;

No comments:

Post a Comment