Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package octave-forge-generate_html for
openSUSE:Factory checked in at 2022-05-12 22:58:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-generate_html (Old)
and /work/SRC/openSUSE:Factory/.octave-forge-generate_html.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-generate_html"
Thu May 12 22:58:28 2022 rev:7 rq:976138 version:0.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/octave-forge-generate_html/octave-forge-generate_html.changes
2020-08-13 10:26:40.194898242 +0200
+++
/work/SRC/openSUSE:Factory/.octave-forge-generate_html.new.1538/octave-forge-generate_html.changes
2022-05-12 22:58:58.000684530 +0200
@@ -1,0 +2,7 @@
+Fri May 6 18:31:23 UTC 2022 - Atri Bhattacharya <[email protected]>
+
+- Update to version 0.3.3:
+ * Fix non-cuddling ++ operators to work with Octave >= 7..
+ * Dont duplicate demo figures in following non figure demos.
+
+-------------------------------------------------------------------
Old:
----
generate_html-0.3.2.tar.gz
New:
----
generate_html-0.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ octave-forge-generate_html.spec ++++++
--- /var/tmp/diff_new_pack.G3Wliq/_old 2022-05-12 22:58:58.508685213 +0200
+++ /var/tmp/diff_new_pack.G3Wliq/_new 2022-05-12 22:58:58.512685218 +0200
@@ -1,7 +1,7 @@
#
# spec file for package octave-forge-generate_html
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define octpkg generate_html
Name: octave-forge-%{octpkg}
-Version: 0.3.2
+Version: 0.3.3
Release: 0
Summary: Generate HTML web page from help texts
License: GPL-3.0-or-later
++++++ generate_html-0.3.2.tar.gz -> generate_html-0.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generate_html-0.3.2/DESCRIPTION
new/generate_html-0.3.3/DESCRIPTION
--- old/generate_html-0.3.2/DESCRIPTION 2020-05-18 15:58:54.000000000 +0200
+++ new/generate_html-0.3.3/DESCRIPTION 2022-05-03 19:31:55.000000000 +0200
@@ -1,6 +1,6 @@
Name: generate_html
-Version: 0.3.2
-Date: 2020-05-18
+Version: 0.3.3
+Date: 2022-05-03
Author: S??ren Hauberg <[email protected]> and others
Maintainer: Octave-Forge community <[email protected]>
Title: Generate HTML web page from help texts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generate_html-0.3.2/Makefile
new/generate_html-0.3.3/Makefile
--- old/generate_html-0.3.2/Makefile 2020-05-18 15:58:54.000000000 +0200
+++ new/generate_html-0.3.3/Makefile 2022-05-03 19:31:55.000000000 +0200
@@ -190,22 +190,17 @@
## https://octave.sourceforge.io/doctest/index.html
doctest: $(install_stamp)
$(run_in_place) --eval 'pkg load doctest;'
\
- --eval "targets = '$(shell (ls inst; ls src | $(GREP) .oct) | $(CUT)
-f2 -d@ | $(CUT) -f1 -d.)';" \
- --eval "targets = strsplit (targets, ' '); doctest (targets);"
+ --eval "targets = pkg('list', '$(package)'){1}.dir;" \
+ --eval "doctest (targets);"
## Test package.
octave_test_commands = \
-' args = {"inst", "src"}; \
- args(cellfun (@ (x) ! isdir (x), args)) = []; \
- if (isempty (args)) error ("no \"inst\" or \"src\" directory"); exit (1); \
- else cellfun(@runtests, args); endif '
+ ' pkgs = pkg("list","$(package)"); dirs = { pkgs{1}.dir }; \
+ __run_test_suite__ (dirs, {}); '
check: $(install_stamp)
$(run_in_place) --eval $(octave_test_commands)
-#--eval '__run_test_suite__ ({"inst", "src"}, {});'
-
-
##
## CLEAN
##
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generate_html-0.3.2/NEWS new/generate_html-0.3.3/NEWS
--- old/generate_html-0.3.2/NEWS 2020-05-18 15:58:54.000000000 +0200
+++ new/generate_html-0.3.3/NEWS 2022-05-03 19:31:55.000000000 +0200
@@ -1,3 +1,10 @@
+Summary of important user-visible changes for generate_html 0.3.3:
+-------------------------------------------------------------------
+
+ ** Fix non-cuddling ++ operators to work with Octave >= 7..
+
+ ** Dont duplicate demo figures in following non figure demos. (Bug #58126)
+
Summary of important user-visible changes for generate_html 0.3.2:
-------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generate_html-0.3.2/inst/private/__html_help_text__.m
new/generate_html-0.3.3/inst/private/__html_help_text__.m
--- old/generate_html-0.3.2/inst/private/__html_help_text__.m 2020-05-18
15:58:54.000000000 +0200
+++ new/generate_html-0.3.3/inst/private/__html_help_text__.m 2022-05-03
19:31:55.000000000 +0200
@@ -79,10 +79,10 @@
endif
## Create text
- demo_num ++;
+ demo_num++;
demo_header = sprintf ("<h2>Demonstration %d</h2>\n<div
class=\"demo\">\n", demo_num);
demo_footer = "</div>\n";
-
+ demo_k = {};
demo_k{1} = "<p>The following code</p>\n";
demo_k{2} = sprintf ("<pre class=\"example\">%s</pre>\n", code_k);
if (has_text && has_images)
@@ -95,7 +95,7 @@
demo_k{4} = sprintf ("<pre class=\"example\">%s</pre>\n", output);
elseif (has_images) # no text
demo_k{3} = sprintf ("<p>Produces the following %s</p>\n", ft);
- demo_k{6} = sprintf ("<p>%s</p>\n", images_in_html (images));
+ demo_k{4} = sprintf ("<p>%s</p>\n", images_in_html (images));
else # neither text nor images
demo_k{3} = sprintf ("<p>gives an example of how '%s' is
used.</p>\n", name);
endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generate_html-0.3.2/inst/txi2index.m
new/generate_html-0.3.3/inst/txi2index.m
--- old/generate_html-0.3.2/inst/txi2index.m 2020-05-18 15:58:54.000000000
+0200
+++ new/generate_html-0.3.3/inst/txi2index.m 2022-05-03 19:31:55.000000000
+0200
@@ -86,7 +86,7 @@
elseif (strncmpi (SECTION, line, length (SECTION)))
section = strtrim (line (length (SECTION)+1:end));
if (idx == 0 || !isempty (index.provides{idx}.functions))
- idx ++;
+ idx++;
endif
index.provides{idx} = struct ();
@@ -94,7 +94,7 @@
index.provides{idx}.functions = {};
elseif (strncmpi (DOCSTRING, line, length (DOCSTRING)))
if (idx == 0)
- idx ++;
+ idx++;
index.provides{idx} = struct ();
index.provides{idx}.category = default_section;