commit octave-forge-nan for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2020-08-17 12:05:12

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new.3399 (New)


Package is "octave-forge-nan"

Mon Aug 17 12:05:12 2020 rev:10 rq:826837 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2019-12-09 21:38:16.806025926 +0100
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-nan.new.3399/octave-forge-nan.changes  
2020-08-17 12:05:49.734709261 +0200
@@ -1,0 +2,11 @@
+Tue Aug  4 22:26:54 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 3.5.0:
+  * ttest: support output arguments CI and STATS.
+  * fishers_exact_test:
+- Use VPA from symbolic pkg if available.
+- Add unit tests.
+- Improve help.
+- Remove exec bits from a file that isn't in executable path.
+
+---

Old:

  nan-3.4.5.tar.gz

New:

  nan-3.5.0.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.8mu8Fe/_old  2020-08-17 12:05:51.290710129 +0200
+++ /var/tmp/diff_new_pack.8mu8Fe/_new  2020-08-17 12:05:51.294710130 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-nan
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 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  nan
 Name:   octave-forge-%{octpkg}
-Version:3.4.5
+Version:3.5.0
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0-or-later
@@ -43,6 +43,9 @@
 %install
 %octave_pkg_install
 
+# Spurious exec bit
+chmod -x 
%{buildroot}%{_datadir}/octave/packages/nan-%{version}/fishers_exact_test.m
+
 %check
 %octave_pkg_test
 

++ nan-3.4.5.tar.gz -> nan-3.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.5/DESCRIPTION new/nan-3.5.0/DESCRIPTION
--- old/nan-3.4.5/DESCRIPTION   2019-11-21 13:54:16.0 +0100
+++ new/nan-3.5.0/DESCRIPTION   2020-07-12 23:58:03.0 +0200
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 3.4.5
-Date: 2019-11-21
+Version: 3.5.0
+Date: 2020-07-12
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.5/NEWS new/nan-3.5.0/NEWS
--- old/nan-3.4.5/NEWS  2019-11-21 13:54:16.0 +0100
+++ new/nan-3.5.0/NEWS  2020-07-12 23:58:03.0 +0200
@@ -1,3 +1,13 @@
+2020-07-12: Release of NaN-toolbox 3.5.0
+
+* ttest:
+  - support output arguments CI and STATS
+
+* fishers_exact_test:
+  - use VPA from symbolic pkg if available; 
+  - add unit tests; 
+  - improve help   
+
 
 2019-11-16:  Release of NaN-Tb v3.4.5
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.5/inst/fishers_exact_test.m 
new/nan-3.5.0/inst/fishers_exact_test.m
--- old/nan-3.4.5/inst/fishers_exact_test.m 2019-11-21 13:54:16.0 
+0100
+++ new/nan-3.5.0/inst/fishers_exact_test.m 2020-07-12 23:58:03.0 
+0200
@@ -7,11 +7,13 @@
 %  p = fishers_exact_test(a,b,c,d) 
 % 
 % with H being a 2x2 matrix representing a contincency table H = [[a,b];[c,d]]
-% and p is the resulting p-value. The implementation provides exact results
-% for small sample sizes, and might be subject to the limited accuracy of 
-% floating point numbers for large sample sizes (a warning might be shown).
+% and p is the resulting p-value. The implementation provides exact results,
+% when (1) the symbolic toolbox (with vpa) is loaded, or (2) for small sample
+% sizes. In the latter case, the result might be subject to the limited 
accuracy of
+% floating point numbers for large sample sizes (a warning might be shown);
+% in the case, the symbolic toolbox should be loaded.
 %
-% Reference:
+% References:
 % [1] https://en.wikipedia.org/wiki/Fisher%27s_exact_test
 % [2] https://en.wikipedia.org/wiki/Lady_tasting_tea
 % [3] Fisher, R. A. (1922). "On the interpretation of χ2 from contingency 
@@ -47,7 +49,7 @@
 % Boston, MA  02111-1307, USA.
 
 if (nargin==1) && isequal(size(a),[2,2]),
-   H = a; 
+   H = a;
a=H(1,1);
b=H(1,2);
c=H(2,1);
@@ -57,12 +59,26 @@
 else
error('invalid input argument')
 end
-n = sum(H(:));
+
+try
+   % use symbolic package if available
+   a = vpa(a);
+   b = vpa(b);
+   c = vpa(c);
+   d = vpa(d);
+end
 
 u = nchoosek(a+b,a);
 v = nchoose

commit octave-forge-nan for openSUSE:Factory

2019-12-09 Thread root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2019-12-09 21:37:36

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new.4691 (New)


Package is "octave-forge-nan"

Mon Dec  9 21:37:36 2019 rev:9 rq:755318 version:3.4.5

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2019-11-28 10:15:37.151638078 +0100
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-nan.new.4691/octave-forge-nan.changes  
2019-12-09 21:38:16.806025926 +0100
@@ -1,0 +2,18 @@
+Mon Dec  9 15:40:02 UTC 2019 - Stefan Brüns 
+
+- Update to version 3.4.5:
+  * fishers_exact_test: added  
+  * bug fixes for:
++ #57263: [octave forge] (nan) fails to build on a system
+  without libblas (Octave built with OpenBLAS)
++ #57232: [octave forge] (nan) Spelling error in message of
+  function str2array
++ #50248: [octave forge] (nan) Spelling error in the help
+  string of the train function
++ #57228 "[octave forge] (nan) fails to build with undefined
+  references in Octave 5 when LDFLAGS is set"
+  * gscatter: fix use of argument "doleg"
+  * address "warning: no return statement in function returning non-void"
+- Drop fix_missing_return.patch, fixed upstream
+
+---

Old:

  fix_missing_return.patch
  nan-3.4.3.tar.gz

New:

  nan-3.4.5.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.Ok5pJ2/_old  2019-12-09 21:38:18.186025382 +0100
+++ /var/tmp/diff_new_pack.Ok5pJ2/_new  2019-12-09 21:38:18.190025381 +0100
@@ -18,14 +18,13 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:3.4.3
+Version:3.4.5
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0-or-later
 Group:  Productivity/Scientific/Math
-URL:https://octave.sourceforge.io
+URL:https://octave.sourceforge.io/%{octpkg}/index.html
 Source0:
https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-Patch0: fix_missing_return.patch
 BuildRequires:  libsvm-devel
 BuildRequires:  octave-devel >= 3.8.0
 Requires:   octave-cli >= 3.8.0
@@ -36,10 +35,6 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-pushd %{octpkg}-%{version}
-%patch0 -p1
-popd
-sed -i 's/-lblas/-l%{octave_blas}/g' %{octpkg}-%{version}/src/Makefile.in
 %octave_pkg_src
 
 %build

++ nan-3.4.3.tar.gz -> nan-3.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.3/DESCRIPTION new/nan-3.4.5/DESCRIPTION
--- old/nan-3.4.3/DESCRIPTION   2019-10-27 23:26:24.0 +0100
+++ new/nan-3.4.5/DESCRIPTION   2019-11-21 13:54:16.0 +0100
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 3.4.3
-Date: 2019-10-27
+Version: 3.4.5
+Date: 2019-11-21
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.3/INDEX new/nan-3.4.5/INDEX
--- old/nan-3.4.3/INDEX 2019-10-27 23:26:24.0 +0100
+++ new/nan-3.4.5/INDEX 2019-11-21 13:54:16.0 +0100
@@ -13,5 +13,6 @@
  bland_altman cumsumskipnan range signrank histo
  histo2 histo3 histo4 kolmogorov_smirnov kstest2 roc
  kappa load_cifar100 load_cifar10 load_mnist
+ fishers_exact_test
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.3/NEWS new/nan-3.4.5/NEWS
--- old/nan-3.4.3/NEWS  2019-10-27 23:26:24.0 +0100
+++ new/nan-3.4.5/NEWS  2019-11-21 13:54:16.0 +0100
@@ -1,3 +1,16 @@
+
+2019-11-16:  Release of NaN-Tb v3.4.5
+
+- fishers_exact_test: added  
+
+- bug fixes for:
+  #57263: [octave forge] (nan) fails to build on a system without libblas 
(Octave built with OpenBLAS)
+  #57232: [octave forge] (nan) Spelling error in message of function str2array
+  #50248: [octave forge] (nan) Spelling error in the help string of the train 
function
+  #57228 "[octave forge] (nan) fails to build with undefined references in 
Octave 5 when LDFLAGS is set"
+- gscatter: fix use of argument "doleg"
+- address "warning: no return statement in function returning non-void"
+
 2019-10-27:  Release of NaN-Tb v3.4.3
 
 - Makefile.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.4.3/inst/fishers_exact_test.m 
new/nan-3.4.5/inst/fishers_exact_test.m
--- old/nan-3.4.3/inst/fishers_exact_test.m 1970-01-01 01:00:00.0 
+0100
+++ new/nan-3.4.5/inst/fishers_exact_test.m 2019-11-21 13:54:16.0 
+0100
@@

commit octave-forge-nan for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2019-11-28 10:15:03

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new.26869 (New)


Package is "octave-forge-nan"

Thu Nov 28 10:15:03 2019 rev:8 rq:751373 version:3.4.3

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2017-08-28 15:14:57.379348621 +0200
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-nan.new.26869/octave-forge-nan.changes 
2019-11-28 10:15:37.151638078 +0100
@@ -1,0 +2,51 @@
+Wed Nov 27 12:26:28 UTC 2019 - Stefan Brüns 
+
+- Update to version 3.4.3:
+  + Makefile.*
+Add missing copyright/licenses
+  + liblinear, libsvm:
+add license from original author
+  + roc.m: number of data points limited to about 5000
+add final data point at (1,1).
+- Update to version 3.4.0:
+  + quadratic classifiers:
+check for positive-definiteness of covariance matrix
+and return no classification (encoded as NaN), if not.
+  + mad, meandev:
+make sure source is ascii/utf-8 compliant
+- Update to version 3.3.0:
+  + detrend: the 2nd output (trend) can be interpolated and should
+not contain NaNs.
+  + train_sc: some supported classifiers should not be used
+with the short-cut for two-class problems.
+  + xval: report also results w/o crossvaliation
+  + ecdf: fix ylim in case data contains missing values.
+- Update to version 3.2.3:
+  +  ROC is included. ROC is derived
+from the implementation in "biosig for octave and matlab"
+   biosig-code/biosig4matlab/t490_EvaluationCriteria/
+
https://sourceforge.net/p/biosig/code/ci/master/tree/biosig4matlab/t490_EvaluationCriteria/
+  +  load_cifar100 load_cifar10 load_mnist:
+loading of various machine-learning databases
+  +  kolmogorov_smirnov:
+ Multiple two-sample Kolmogorov-Smirnov test
+  +  kstest2:
+ wrapper for kolmogorov_smirnov
+  + requires Octave 3.8 or later
+  + histo2, histo3:
+bug fix for case when whole column contains NaNs
+  +  inst/signrank.m: add Wilcoxon signred rank test
+Unlike Octave's wilcoxon_test, this works also for
+sample sizes smaller than N=25
+  + corrcoef: improve documentation on one-
+and two- pass algorithm
+  + histogram functions (histo.m) included
+  + upgrade to liblinear 2.2.1
+weightening of samples not supported anymore
+  + upgrade to libsvm 3.2.3
+weightening of samples not supported anymore
+  + minor changes
+- Fix missing return value for non-void function, add
+  fix_missing_return.patch
+
+---

Old:

  nan-3.1.4.tar.gz

New:

  fix_missing_return.patch
  nan-3.4.3.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.x0VnZj/_old  2019-11-28 10:15:37.855638085 +0100
+++ /var/tmp/diff_new_pack.x0VnZj/_new  2019-11-28 10:15:37.863638085 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-nan
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:3.1.4
+Version:3.4.3
 Release:0
 Summary:A statistics and machine learning toolbox
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Productivity/Scientific/Math
-Url:http://octave.sourceforge.net
-Source0:
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-BuildRequires:  octave-devel
-Requires:   octave-cli >= 3.2.0
+URL:https://octave.sourceforge.io
+Source0:
https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Patch0: fix_missing_return.patch
+BuildRequires:  libsvm-devel
+BuildRequires:  octave-devel >= 3.8.0
+Requires:   octave-cli >= 3.8.0
 
 %description
 A statistics and machine learning toolbox for data with and w/o missing values.
@@ -34,7 +36,10 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-sed -i 's/-lblas/-l%{octave_blas}/g' %{octpkg}-%{version}/src/Makefile
+pushd %{octpkg}-%{version}
+%patch0 -p1
+popd
+sed -i 's/-lblas/-l%{octave_blas}/g' %{octpkg}-%{version}/src/Makefile.in
 %octave_pkg_src
 
 %build

++ fix_missing_r

commit octave-forge-nan for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2017-08-28 15:13:16

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Mon Aug 28 15:13:16 2017 rev:7 rq:518454 version:3.1.4

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2016-09-21 18:48:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2017-08-28 15:14:57.379348621 +0200
@@ -1,0 +2,9 @@
+Wed Aug 23 15:34:29 UTC 2017 - dmitr...@opensuse.org
+
+- Update to version 3.1.4
+  * Minor changes and fixes, see `news nan` for details
+- Drop oblosete:
+  * nan-cpp11.patch
+  * nan_xpt2d_add_return_for_BE.patch
+
+---

Old:

  nan-3.0.3.tar.gz
  nan-cpp11.patch
  nan_xpt2d_add_return_for_BE.patch

New:

  nan-3.1.4.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.RrHZHJ/_old  2017-08-28 15:14:59.059112606 +0200
+++ /var/tmp/diff_new_pack.RrHZHJ/_new  2017-08-28 15:14:59.063112044 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-nan
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,13 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:3.0.3
+Version:3.1.4
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0+
 Group:  Productivity/Scientific/Math
 Url:http://octave.sourceforge.net
 Source0:
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-Patch1: nan_xpt2d_add_return_for_BE.patch
-# PATCH-FIX-OPENSUSE nan-cpp11.patch -- Fix build with GCC 4.8
-Patch2: nan-cpp11.patch
-BuildRequires:  blas-devel
-BuildRequires:  gcc-c++
 BuildRequires:  octave-devel
 Requires:   octave-cli >= 3.2.0
 
@@ -39,10 +34,7 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-%patch1 -p0
-%if 0%{?suse_version} <= 1320
-%patch2 -p0
-%endif
+sed -i 's/-lblas/-l%{octave_blas}/g' %{octpkg}-%{version}/src/Makefile
 %octave_pkg_src
 
 %build

++ nan-3.0.3.tar.gz -> nan-3.1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.0.3/DESCRIPTION new/nan-3.1.4/DESCRIPTION
--- old/nan-3.0.3/DESCRIPTION   2016-08-10 00:16:09.0 +0200
+++ new/nan-3.1.4/DESCRIPTION   2017-08-23 11:01:57.685205054 +0200
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 3.0.3
-Date: 2016-08-10
+Version: 3.1.4
+Date: 2017-08-23
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nan-3.0.3/Makefile new/nan-3.1.4/Makefile
--- old/nan-3.0.3/Makefile  1970-01-01 01:00:00.0 +0100
+++ new/nan-3.1.4/Makefile  2017-08-23 11:01:57.685205054 +0200
@@ -0,0 +1,235 @@
+## Copyright 2015-2016 Carnë Draug
+## Copyright 2015-2016 Oliver Heimlich
+## Copyright 2017 Julien Bect 
+## Copyright 2017 Olaf Till 
+##
+## Copying and distribution of this file, with or without modification,
+## are permitted in any medium without royalty provided the copyright
+## notice and this notice are preserved.  This file is offered as-is,
+## without any warranty.
+
+## Some basic tools (can be overriden using environment variables)
+SED ?= sed
+TAR ?= tar
+GREP ?= grep
+CUT ?= cut
+TR ?= tr
+
+## Note the use of ':=' (immediate set) and not just '=' (lazy set).
+## http://stackoverflow.com/a/448939/1609556
+package := $(shell $(GREP) "^Name: " DESCRIPTION | $(CUT) -f2 -d" " | \
+$(TR) '[:upper:]' '[:lower:]')
+version := $(shell $(GREP) "^Version: " DESCRIPTION | $(CUT) -f2 -d" ")
+
+## This are the paths that will be created for the releases. Using
+## $(realpath ...) avoids problems with symlinks.
+target_dir   := $(realpath .)/target
+release_dir  := $(target_dir)/$(package)-$(version)
+release_tarball  := $(target_dir)/$(package)-$(version).tar.gz
+html_dir := $(target_dir)/$(package)-html
+html_tarball := $(target_dir)/$(package)-html.tar.gz
+installation_dir := $(target_dir)/.installation
+package_list := $(installation_dir)/.octave_packages
+install_stamp:= $(installation_dir)/.install_stamp
+
+## These can be set by environment variables which allow to easily
+## test with different Octave versions.
+ifndef OCTAVE
+OCTAVE :

commit octave-forge-nan for openSUSE:Factory

2016-09-21 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2016-09-21 18:48:41

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2016-06-14 23:07:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2016-09-21 18:48:43.0 +0200
@@ -1,0 +2,8 @@
+Sat Sep 17 18:45:29 UTC 2016 - dmitr...@opensuse.org
+
+- Update to version 3.0.3
+  * Bug fixes
+- Fix build with GCC 4.8
+  * nan-cpp11.patch
+
+---

Old:

  nan-3.0.1.tar.gz

New:

  nan-3.0.3.tar.gz
  nan-cpp11.patch



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.d0vGzW/_old  2016-09-21 18:48:45.0 +0200
+++ /var/tmp/diff_new_pack.d0vGzW/_new  2016-09-21 18:48:45.0 +0200
@@ -18,7 +18,7 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:3.0.1
+Version:3.0.3
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0+
@@ -26,6 +26,8 @@
 Url:http://octave.sourceforge.net
 Source0:
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
 Patch1: nan_xpt2d_add_return_for_BE.patch
+# PATCH-FIX-OPENSUSE nan-cpp11.patch -- Fix build with GCC 4.8
+Patch2: nan-cpp11.patch
 BuildRequires:  blas-devel
 BuildRequires:  gcc-c++
 BuildRequires:  octave-devel
@@ -37,7 +39,10 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-%patch1 -p1
+%patch1 -p0
+%if 0%{?suse_version} <= 1320
+%patch2 -p0
+%endif
 %octave_pkg_src
 
 %build

++ nan-3.0.1.tar.gz -> nan-3.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/DESCRIPTION new/nan-3.0.3/DESCRIPTION
--- old/NaN/DESCRIPTION 2016-02-26 16:09:14.0 +0100
+++ new/nan-3.0.3/DESCRIPTION   2016-08-10 00:16:09.0 +0200
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 3.0.1
-Date: 2016-02-26
+Version: 3.0.3
+Date: 2016-08-10
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/INDEX new/nan-3.0.3/INDEX
--- old/NaN/INDEX   2016-02-26 16:09:14.0 +0100
+++ new/nan-3.0.3/INDEX 2016-08-10 00:16:09.0 +0200
@@ -9,5 +9,5 @@
  var mean sem spearman trimean tpdf tcdf tinv zscore
  flag_implicit_significance xcovf train_sc test_sc
  xval classify train_lda_sparse decovm gscatter mahal
- cdfplot hist2res fss cat2bin ttest ttest2.m 
+ cdfplot hist2res fss cat2bin ttest ttest2 xptopen.m 
  bland_altman cumsumskipnan range
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/NEWS new/nan-3.0.3/NEWS
--- old/NaN/NEWS2016-02-26 16:07:46.0 +0100
+++ new/nan-3.0.3/NEWS  2016-08-10 00:16:09.0 +0200
@@ -1,3 +1,15 @@
+
+2016-08-10: Release of NaN-tb v3.0.3
+- tcdf: fix bug #48731 (thanks to Nir Krakauer)
+- coercoef: add comment on Matlab compatibiliy in help
+- test_fss, load_fisheriris: 
+  fix support on mingw platform (Windows)
+
+2016-07-30: Release of NaN-tb v3.0.2
+- Octave/Windows: setenv CC=gcc (fixes bug 47559)
+- no OpenMP for Octave/Windows and MacOSX
+
+
 2015-02-26: Release of NaN-tb v3.0.1
 
 - fixes version number 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/VERSION new/nan-3.0.3/VERSION
--- old/NaN/VERSION 2016-02-26 16:09:14.0 +0100
+++ new/nan-3.0.3/VERSION   1970-01-01 01:00:00.0 +0100
@@ -1,3 +0,0 @@
-# NaN-toolbox http://pub.ist.ac.at/~schloegl/matlab/NaN
-# Version:  3.0.1
-# Date: 2016-02-26
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/doc/INSTALL new/nan-3.0.3/doc/INSTALL
--- old/NaN/doc/INSTALL 2014-01-10 14:34:15.0 +0100
+++ new/nan-3.0.3/doc/INSTALL   2016-08-10 00:16:09.0 +0200
@@ -48,7 +48,7 @@
 
 ---
 
-  $Id: INSTALL 12492 2014-01-10 13:34:15Z schloegl $
+  $Id$
   Copyright (c) 2000-2003,2005,2006,2009,2010,2011,2014 by Alois Schloegl 

   This is part of the NaN-toolbox
   http://pub.ist.ac.at/~schloegl/matlab/NaN/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/doc/README.TXT new/nan-3.0.3/doc/README.TXT
--- old/NaN/doc/README.TXT  2014-01-10 14:34:15.0 +0100
+++ new/nan-3.0.3/doc/README.TXT2016-08-10 00:16:09.

commit octave-forge-nan for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2016-06-14 23:07:44

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2016-04-28 16:56:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2016-06-14 23:07:45.0 +0200
@@ -1,0 +2,9 @@
+Fri Jun 10 17:51:45 UTC 2016 - dmitr...@opensuse.org
+
+- Update to version 3.0.1
+  * no changelog available
+- Drop obsolete
+  * nan-openmp.patch
+  * nan-gcc.patch
+
+---

Old:

  nan-2.8.1.tar.gz
  nan-gcc.patch
  nan-openmp.patch

New:

  nan-3.0.1.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.lI64ev/_old  2016-06-14 23:07:46.0 +0200
+++ /var/tmp/diff_new_pack.lI64ev/_new  2016-06-14 23:07:46.0 +0200
@@ -18,18 +18,14 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:2.8.1
+Version:3.0.1
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0+
 Group:  Productivity/Scientific/Math
 Url:http://octave.sourceforge.net
 Source0:
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM nan-openmp.patch -- Fix build with OpenMP support
-Patch1: nan-openmp.patch
-# PATCH-FIX-UPSTREAM nan-gcc.patch -- Fix GCC warnings
-Patch2: nan-gcc.patch
-Patch3: nan_xpt2d_add_return_for_BE.patch
+Patch1: nan_xpt2d_add_return_for_BE.patch
 BuildRequires:  blas-devel
 BuildRequires:  gcc-c++
 BuildRequires:  octave-devel
@@ -41,9 +37,7 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-%patch1 -p0
-%patch2 -p1
-%patch3 -p1
+%patch1 -p1
 %octave_pkg_src
 
 %build

++ nan-2.8.1.tar.gz -> nan-3.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/DESCRIPTION new/NaN/DESCRIPTION
--- old/NaN/DESCRIPTION 2015-07-06 21:43:26.0 +0200
+++ new/NaN/DESCRIPTION 2016-02-26 16:09:14.0 +0100
@@ -1,7 +1,7 @@
 Name: NaN
-Version: 2.8.1
-Date: 2015-07-06
-Author: Alois Schloegl 
+Version: 3.0.1
+Date: 2016-02-26
+Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
 Description: A statistics and machine learning toolbox for data with and w/o 
missing values
@@ -9,4 +9,3 @@
 License: GPLv3+
 Url: http://pub.ist.ac.at/~schloegl/matlab/NaN
 Autoload: no
-SVNRelease: $Rev: 12813 $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/INDEX new/NaN/INDEX
--- old/NaN/INDEX   2012-04-02 20:16:48.0 +0200
+++ new/NaN/INDEX   2016-02-26 16:09:14.0 +0100
@@ -9,5 +9,5 @@
  var mean sem spearman trimean tpdf tcdf tinv zscore
  flag_implicit_significance xcovf train_sc test_sc
  xval classify train_lda_sparse decovm gscatter mahal
- cdfplot hist2res fss cat2bin ttest ttest2 xptopen 
+ cdfplot hist2res fss cat2bin ttest ttest2.m 
  bland_altman cumsumskipnan range
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/NEWS new/NaN/NEWS
--- old/NaN/NEWS2015-07-06 21:42:45.0 +0200
+++ new/NaN/NEWS2016-02-26 16:07:46.0 +0100
@@ -1,3 +1,18 @@
+2015-02-26: Release of NaN-tb v3.0.1
+
+- fixes version number 
+  two digit version number like 3.0 cannot be used in Octave-forge
+
+2015-09-12: Release of NaN-tb v2.8.3
+
+- ready for gcc/g++ v5 
+- honor environment variables CC and CXX
+- fix installer issue on OpenSuse
+- support debian hardening flags
+- internal improvents (in type and macro usage)
+- address a number of compiler warnings
+- bug fixes 
+
 2015-07-06: Release of NaN-tb v2.8.1
 
 - fix nantest to avoid crashing octave 4.0.0 on windows
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/VERSION new/NaN/VERSION
--- old/NaN/VERSION 2015-07-06 21:43:26.0 +0200
+++ new/NaN/VERSION 2016-02-26 16:09:14.0 +0100
@@ -1,3 +1,3 @@
 # NaN-toolbox http://pub.ist.ac.at/~schloegl/matlab/NaN
-# Version:  2.8.1
-# Date: 2015-07-06
+# Version:  3.0.1
+# Date: 2016-02-26
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/inst/trimmean.m new/NaN/inst/trimmean.m
--- old/NaN/inst/trimmean.m 2011-11-03 12:00:50.0 +0100
+++ new/NaN/inst/trimmean.m 2015-12-16 09:58:57.0 +0100
@@ -15

commit octave-forge-nan for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2016-04-28 16:54:01

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2015-07-12 22:52:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2016-04-28 16:56:56.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 12 10:06:42 UTC 2016 - norm...@linux.vnet.ibm.com
+
+- new nan_xpt2d_add_return_for_BE.patch for ppc64 build
+
+---

New:

  nan_xpt2d_add_return_for_BE.patch



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.KPDcyn/_old  2016-04-28 16:56:57.0 +0200
+++ /var/tmp/diff_new_pack.KPDcyn/_new  2016-04-28 16:56:57.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-nan
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Patch1: nan-openmp.patch
 # PATCH-FIX-UPSTREAM nan-gcc.patch -- Fix GCC warnings
 Patch2: nan-gcc.patch
+Patch3: nan_xpt2d_add_return_for_BE.patch
 BuildRequires:  blas-devel
 BuildRequires:  gcc-c++
 BuildRequires:  octave-devel
@@ -42,6 +43,7 @@
 %setup -q -c %{name}-%{version}
 %patch1 -p0
 %patch2 -p1
+%patch3 -p1
 %octave_pkg_src
 
 %build

++ nan_xpt2d_add_return_for_BE.patch ++
From: Michel Normand 
Subject: nan xpt2d add return for BE
Date: Tue, 12 Apr 2016 12:02:48 +0200

for xpt2d and d2xpt  add return for BE, to avoid compilation warning
treated as error by OBS build process:
===
I: Program returns random data in a function
E: octave-forge-nan no-return-in-nonvoid-function xptopen.cpp:1062, 1112

I: Program returns random data in a function
E: octave-forge-nan no-return-in-nonvoid-function xptopen.cpp:1062, 1112
===

Signed-off-by: Michel Normand 
---
 NaN/src/xptopen.cpp |   17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

Index: octave-forge-nan-2.8.1/NaN/src/xptopen.cpp
===
--- octave-forge-nan-2.8.1.orig/NaN/src/xptopen.cpp
+++ octave-forge-nan-2.8.1/NaN/src/xptopen.cpp
@@ -1027,15 +1027,16 @@ if present.
 
 double xpt2d(uint64_t x) {
// x is little-endian 64bit IBM floating point format
-   char c = *((char*)&x+7) & 0x7f;
-   uint64_t u = x;
-   *((char*)&u+7)=0;
-
 #if __BYTE_ORDER == __BIG_ENDIAN
 
mexErrMsgTxt("IEEE-to-IBM conversion on big-endian platform not 
supported, yet");
+   return(NaN);
 
 #elif __BYTE_ORDER==__LITTLE_ENDIAN
+   char c = *((char*)&x+7) & 0x7f;
+   uint64_t u = x;
+   *((char*)&u+7)=0;
+
 
 #if DEBUG
mexPrintf("xpt2d(%016Lx): [0x%x]\n",x,c);
@@ -1067,15 +1068,15 @@ double xpt2d(uint64_t x) {
 */
 
 uint64_t d2xpt(double x) {
-   uint64_t s,m;
-   int e;
-
 #if __BYTE_ORDER == __BIG_ENDIAN
 
mexErrMsgTxt("IEEE-to-IBM conversion on big-endian platform not 
supported, yet");
-
+   return(0x2eLL << 56);   // NaN - not a number
 
 #elif __BYTE_ORDER==__LITTLE_ENDIAN
+   uint64_t s,m;
+   int e;
+
 
if (x != x) return(0x2eLL << 56);   // NaN - not a number
 



commit octave-forge-nan for openSUSE:Factory

2015-07-12 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2015-07-12 22:52:58

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2015-06-30 10:18:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2015-07-12 22:52:59.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul  7 18:08:41 UTC 2015 - dmitr...@opensuse.org
+
+- Update to version 2.8.1
+  * Bugfix release
+
+---

Old:

  nan-2.8.0.tar.gz

New:

  nan-2.8.1.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.lipXXn/_old  2015-07-12 22:53:00.0 +0200
+++ /var/tmp/diff_new_pack.lipXXn/_new  2015-07-12 22:53:00.0 +0200
@@ -18,7 +18,7 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:2.8.0
+Version:2.8.1
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0+

++ nan-2.8.0.tar.gz -> nan-2.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/DESCRIPTION new/NaN/DESCRIPTION
--- old/NaN/DESCRIPTION 2015-06-24 14:53:57.0 +0200
+++ new/NaN/DESCRIPTION 2015-07-06 21:43:26.0 +0200
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 2.8.0
-Date: 2015-06-24
+Version: 2.8.1
+Date: 2015-07-06
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/NEWS new/NaN/NEWS
--- old/NaN/NEWS2015-06-24 14:53:35.0 +0200
+++ new/NaN/NEWS2015-07-06 21:42:45.0 +0200
@@ -1,4 +1,6 @@
-2015-06-18: Releae of NaN v2.7.7
+2015-07-06: Release of NaN-tb v2.8.1
+
+- fix nantest to avoid crashing octave 4.0.0 on windows
 
 2015-06-24: Release of NaN-tb v2.8.0
 
@@ -6,9 +8,9 @@
   (fixes #45363 and #44859)
 
 - check for sparse input matrices and
-  convert to full if needed
+  convert to full when needed
 
-2015-06-01: Release of NaN v2.7.6
+2015-06-01: Release of NaN v.2.7.6
 
 - improve accuracy of normcdf (bug #38170) 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/VERSION new/NaN/VERSION
--- old/NaN/VERSION 2015-06-24 14:53:57.0 +0200
+++ new/NaN/VERSION 2015-07-06 21:43:26.0 +0200
@@ -1,3 +1,3 @@
 # NaN-toolbox http://pub.ist.ac.at/~schloegl/matlab/NaN
-# Version:  2.8.0
-# Date: 2015-06-24
+# Version:  2.8.1
+# Date: 2015-07-06
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/inst/nantest.m new/NaN/inst/nantest.m
--- old/NaN/inst/nantest.m  2015-01-14 20:05:11.0 +0100
+++ new/NaN/inst/nantest.m  2015-07-02 23:04:17.0 +0200
@@ -24,7 +24,7 @@
 %You should have received a copy of the GNU General Public License
 %along with this program; If not, see .
 
-%  $Id: nantest.m 12734 2015-01-14 19:05:11Z schloegl $
+%  $Id: nantest.m 12844 2015-07-02 21:04:17Z schloegl $
 %  Copyright (C) 2000-2004,2009 by Alois Schloegl 

 %   This script is part of the NaN-toolbox
 %   http://pub.ist.ac.at/~schloegl/matlab/NaN/
@@ -227,16 +227,23 @@
 %(roots([2e-37,-2,2])-[1e37;1])
 % check nan/nan   %% this test addresses a problem in Matlab 5.3, 6.1 & 6.5
 p= 4;
+tmp1 = repmat(nan, 4);
+tmp2 = repmat(nan, 4);
+if ispc
+% Octave 4.0.0 on Windows crashes, therefore the test is disabled
+   warning('mrdivide (repmat(nan,4), repmat(nan,4)) and mldivide 
(repmat(nan,4), repmat(nan,4)) not tested because it might crash Octave on 
Windows.\n');  
+else
 try
-   tmp1 = repmat(nan,p)/repmat(nan,p);
-catch   % exception error in Octave 3.8.2 of debian wheezy
-   tmp1 = repmat(nan, 4);
+   tmp1 = repmat(nan,p) / repmat(nan,p);
+catch   % exception error in Octave 3.8.2 and later of debian wheezy
+   fprintf(2,'mrdivide (repmat(nan,4), repmat(nan,4)) fails with an 
exception\n'); 
 end;
 try
-   tmp2 = repmat(nan,p)\repmat(nan,p);
-catch   % exception error in Octave 3.8.2 of debian wheezy
-   tmp2 = repmat(nan, 4); 
+   tmp2 = repmat(nan,p) \ repmat(nan,p);
+catch   % exception error in Octave 3.8.2 and later of debian wheezy
+   fprintf(2,'mldivide (repmat(nan,4), repmat(nan,4)) fails with an 
exception\n');
 end
+end;
 tmp3 = repmat(0,p)/repmat(0,p);
 tmp4 = repmat(0,p)\repmat(0

commit octave-forge-nan for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2015-06-30 10:18:06

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

--- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes
2015-06-16 15:12:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2015-06-30 10:18:07.0 +0200
@@ -1,0 +2,9 @@
+Sat Jun 27 08:05:25 UTC 2015 - dmitr...@opensuse.org
+
+- Update to version 2.8.0
+  * check for sparse input matrices and convert to full if needed
+  * improve accuracy of normcdf (bug #38170) 
+  * fix compiler issue with __isnan
+  * do not display diagnostic messages
+
+---

Old:

  nan-2.7.4.tar.gz

New:

  nan-2.8.0.tar.gz



Other differences:
--
++ octave-forge-nan.spec ++
--- /var/tmp/diff_new_pack.noymOz/_old  2015-06-30 10:18:08.0 +0200
+++ /var/tmp/diff_new_pack.noymOz/_new  2015-06-30 10:18:08.0 +0200
@@ -18,7 +18,7 @@
 
 %define octpkg  nan
 Name:   octave-forge-%{octpkg}
-Version:2.7.4
+Version:2.8.0
 Release:0
 Summary:A statistics and machine learning toolbox
 License:GPL-3.0+
@@ -40,7 +40,7 @@
 
 %prep
 %setup -q -c %{name}-%{version}
-%patch1 -p1
+%patch1 -p0
 %patch2 -p1
 %octave_pkg_src
 

++ nan-2.7.4.tar.gz -> nan-2.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/DESCRIPTION new/NaN/DESCRIPTION
--- old/NaN/DESCRIPTION 2015-04-13 10:01:56.0 +0200
+++ new/NaN/DESCRIPTION 2015-06-24 14:53:57.0 +0200
@@ -1,6 +1,6 @@
 Name: NaN
-Version: 2.7.4
-Date: 2015-04-13
+Version: 2.8.0
+Date: 2015-06-24
 Author: Alois Schloegl 
 Maintainer: Alois Schloegl
 Title: The NaN-toolbox
@@ -9,4 +9,4 @@
 License: GPLv3+
 Url: http://pub.ist.ac.at/~schloegl/matlab/NaN
 Autoload: no
-SVNRelease: $Rev: 12780 $
+SVNRelease: $Rev: 12813 $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/NEWS new/NaN/NEWS
--- old/NaN/NEWS2015-04-06 14:01:45.0 +0200
+++ new/NaN/NEWS2015-06-24 14:53:35.0 +0200
@@ -1,5 +1,25 @@
-2015-04-06
-- use libsvm and liblinear of target system, instead of outdated copy
+2015-06-18: Releae of NaN v2.7.7
+
+2015-06-24: Release of NaN-tb v2.8.0
+
+- fix Makefile for Octave4 on windows
+  (fixes #45363 and #44859)
+
+- check for sparse input matrices and
+  convert to full if needed
+
+2015-06-01: Release of NaN v2.7.6
+
+- improve accuracy of normcdf (bug #38170) 
+
+2015-04-23: Release of NaN v2.7.5
+
+- fix compiler issue with __isnan
+- do not display diagnostic messages
+
+2015-04-12
+
+- upgrade to libsvm-3.12
 - fix multi-threaded build (make -j) 
 - improve some tests
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/VERSION new/NaN/VERSION
--- old/NaN/VERSION 2015-04-13 10:01:56.0 +0200
+++ new/NaN/VERSION 2015-06-24 14:53:57.0 +0200
@@ -1,3 +1,3 @@
 # NaN-toolbox http://pub.ist.ac.at/~schloegl/matlab/NaN
-# Version:  2.7.4
-# Date: 2015-04-13
+# Version:  2.8.0
+# Date: 2015-06-24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/inst/covm.m new/NaN/inst/covm.m
--- old/NaN/inst/covm.m 2011-11-08 21:25:36.0 +0100
+++ new/NaN/inst/covm.m 2015-06-18 17:09:49.0 +0200
@@ -33,7 +33,7 @@
 %
 % see also: DECOVM, XCOVF
 
-%  $Id: covm.m 9032 2011-11-08 20:25:36Z schloegl $
+%  $Id: covm.m 12826 2015-06-18 15:09:49Z schloegl $
 %  Copyright (C) 2000-2005,2009 by Alois Schloegl 
   
 %   This function is part of the NaN-toolbox
 %   http://pub.ist.ac.at/~schloegl/matlab/NaN/
@@ -143,6 +143,12 @@
 end;
end;
 
+   if issparse(X) || issparse(Y), 
+   fprintf(2,'sumskipnan: sparse matrix converted to full 
matrix\n');
+   X=full(X); 
+   Y=full(Y); 
+   end;
+
[CC,NN] = covm_mex(real(X), real(Y), FLAG_NANS_OCCURED, W);
%% complex matrices 
if ~isreal(X) && ~isreal(Y)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NaN/inst/normcdf.m new/NaN/inst/normcdf.m
--- old/NaN/inst/normcdf.m  2011-11-08 21:58:07.0 +0100
+++ new/NaN/inst/normcdf.m  2015-06-01 08:10:55.0 +0200
@@ -12,7 +12,7 @@
 
 % Reference(s):
 
-%$Id: normcdf.m 9033 2011-11-08 20:58:07Z schloegl $
+%$Id: n

commit octave-forge-nan for openSUSE:Factory

2015-06-16 Thread h_root
Hello community,

here is the log from the commit of package octave-forge-nan for 
openSUSE:Factory checked in at 2015-06-16 15:12:42

Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old)
 and  /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New)


Package is "octave-forge-nan"

Changes:

New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes   
2015-06-16 15:12:42.0 +0200
@@ -0,0 +1,19 @@
+---
+Thu Apr 16 22:21:07 UTC 2015 - dmitr...@opensuse.org
+
+- Update to version 2.7.4
+  * use libsvm and liblinear of target system, instead of outdated copy
+  * fix multi-threaded build (make -j) 
+  * improve some tests
+  * bug fix in nanstd.m 
+  * minor issues (some compiler warnings are addressed)
+
+---
+Thu Feb 26 16:06:43 UTC 2015 - dmitr...@opensuse.org
+
+- Split from octave-forge package, version 2.7.1
+- Fix build with OpenMP support
+  * nan-openmp.patch
+- Fix GCC warnings
+  * nan-gcc.patch
+

New:

  nan-2.7.4.tar.gz
  nan-gcc.patch
  nan-openmp.patch
  octave-forge-nan.changes
  octave-forge-nan.spec



Other differences:
--
++ octave-forge-nan.spec ++
#
# spec file for package octave-forge-nan
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define octpkg  nan
Name:   octave-forge-%{octpkg}
Version:2.7.4
Release:0
Summary:A statistics and machine learning toolbox
License:GPL-3.0+
Group:  Productivity/Scientific/Math
Url:http://octave.sourceforge.net
Source0:
http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM nan-openmp.patch -- Fix build with OpenMP support
Patch1: nan-openmp.patch
# PATCH-FIX-UPSTREAM nan-gcc.patch -- Fix GCC warnings
Patch2: nan-gcc.patch
BuildRequires:  blas-devel
BuildRequires:  gcc-c++
BuildRequires:  octave-devel
Requires:   octave-cli >= 3.2.0

%description
A statistics and machine learning toolbox for data with and w/o missing values.
This is part of Octave-Forge project.

%prep
%setup -q -c %{name}-%{version}
%patch1 -p1
%patch2 -p1
%octave_pkg_src

%build
%octave_pkg_build

%install
%octave_pkg_install

%check
%octave_pkg_test

%post
%octave --eval "pkg rebuild"

%postun
%octave --eval "pkg rebuild"

%files
%defattr(-,root,root)
%{octpackages_dir}/%{octpkg}-%{version}
%{octlib_dir}/%{octpkg}-%{version}

%changelog
++ nan-gcc.patch ++
Index: octave-forge-nan/NaN/src/str2array.cpp
===
--- octave-forge-nan.orig/NaN/src/str2array.cpp
+++ octave-forge-nan/NaN/src/str2array.cpp
@@ -126,6 +126,7 @@ int str2val(char *s, double *r, double *
// conversion failed 
return(0); 
}
+   return (0);
 }
 
 
++ nan-openmp.patch ++
Index: octave-forge-nan/NaN/src/Makefile
===
--- octave-forge-nan.orig/NaN/src/Makefile
+++ octave-forge-nan/NaN/src/Makefile
@@ -33,8 +33,8 @@ GNUMEX64 = $(HOME)/bin/win64/gnumex
 
 CC  = gcc
 CXX = g++
-CFLAGS = -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC 
-OCTMEX = mkoctfile$(OCTAVE_VERSION) --mex
+CFLAGS = -fopenmp -Wall -Wextra -Wconversion -O2 -fPIC -lgomp
+OCTMEX = mkoctfile$(OCTAVE_VERSION) --mex -lgomp
 RM  = rm
 
 ifneq (Darwin,$(shell uname))