summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Villemot <sebastien@debian.org>2018-06-17 15:11:33 +0200
committerSébastien Villemot <sebastien@debian.org>2018-06-17 15:11:33 +0200
commit87a153d0f51726e2b791165850a6ab35353ef932 (patch)
treecc36be31b756f3ac861a46a38b39c0290ac26783
parent1aee39f07100164a6a16e264fb813765f0b9c574 (diff)
octave-statistics is now a dependency since octave 4.4
+ depends-on-statistics.patch: new patch + add octave-statistics to B-D Gbp-Dch: Full
-rw-r--r--debian/control1
-rw-r--r--debian/patches/depends-on-statistics.patch19
-rw-r--r--debian/patches/series1
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 1e4ec35..766a051 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Section: math
Priority: optional
Build-Depends: debhelper (>= 11),
octave-io,
+ octave-statistics,
dh-octave
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/pkg-octave-team/octave-financial
diff --git a/debian/patches/depends-on-statistics.patch b/debian/patches/depends-on-statistics.patch
new file mode 100644
index 0000000..930cdce
--- /dev/null
+++ b/debian/patches/depends-on-statistics.patch
@@ -0,0 +1,19 @@
+Description: financial now depends on the statistics package
+ Several functions use normcdf(). This function is no longer in Octave core
+ since 4.4, and has moved to the statistics package
+Author: Sébastien Villemot <sebastien@debian.org>
+Bug: https://savannah.gnu.org/bugs/index.php?54132
+Last-Update: 2018-06-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/DESCRIPTION
++++ b/DESCRIPTION
+@@ -6,7 +6,7 @@ Maintainer: Parsiad Azimzadeh <parsiad.a
+ Title: Financial
+ Description: Monte Carlo simulation, options pricing routines, financial
+ manipulation, plotting functions and additional date manipulation tools.
+-Depends: octave (>= 4.0.0), io (>= 1.0.18)
++Depends: octave (>= 4.0.0), io (>= 1.0.18), statistics
+ Autoload: no
+ License: GPLv3+
+ Url: http://octave.sf.net
diff --git a/debian/patches/series b/debian/patches/series
index 3da90b8..d60e80c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
disable-network-test.patch
+depends-on-statistics.patch