[Pkg-octave-commit] [SCM] octave-financial branch, master, updated. 04333120b4515d68d4a71ab7a0e8496592762236

Rafael Laboissiere rafael at debian.org
Sun May 24 11:17:53 UTC 2009


The following commit has been merged in the master branch:
commit 57c54cdd5e494a80b62b049dbc4570b25cca59ef
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 13:13:03 2009 +0200

    Add patch for autloading the package when Octave starts
    
    Also, add the Policy-required file README.source, build-depends on quilt,
    include patchsys-quilt.mk in debian/rules, and adjust the list of
    exclusions in .gitignore accordingly.

diff --git a/.gitignore b/.gitignore
index 6ec397b..e04c66a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.pc/
 COPYING
 ChangeLog
 DESCRIPTION
@@ -5,6 +6,7 @@ Makefile
 configure
 debian/files
 debian/octave-financial*
+debian/stamp-patched
 global-list
 inst/
 local-list
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..43ecc52
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+README.source for octave-financial
+==================================
+
+This package uses quilt to manage all modifications to the upstream sources.
+See `/usr/share/doc/quilt/README.source' to get more information on how to
+use it.
+
+ -- Rafael Laboissiere <rafael at debian.org>, Sun, 24 May 2009 13:07:10 +0200
diff --git a/debian/changelog b/debian/changelog
index 56ec53b..510ab1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,20 @@
 octave-financial (0.3.1-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * debian/patches/google-stock-data.diff: New patch with the correct data
+    for testing the __fetch_google__ function
   * debian/control:
+    + (Build-Depends): Add quilt
     + (Standards-Version): Bump to 3.8.1 (no changes needed)
     + (Depends): Add ${misc:Depends}
     + (Vcs-Git, Vcs-Browser): Adjust to new Git repository
+  * debian/rules: Include patchsys-quilt.mk
   * debian/copyright:
     + Use DEP5 URL in Format-Specification
     + Use separate License stanzas for instructing about the location of
       the different licenses used in the package
+  * debian/README.source: Add file explaining the quilt patch system, as
+    required by the Policy
 
  -- Rafael Laboissiere <rafael at debian.org>  Sun, 12 Apr 2009 17:50:54 +0200
 
diff --git a/debian/control b/debian/control
index dac85a1..0681f86 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Uploaders: Ólafur Jens Sigurðsson <ojsbug at gmail.com>,
  Thomas Weber <thomas.weber.mail at gmail.com>,
   Rafael Laboissiere <rafael at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 6), cdbs, octave-time, octave-miscellaneous, octave-pkg-dev (>= 0.6.4)
+Build-Depends: debhelper (>= 6), cdbs, octave-time, quilt,
+ octave-miscellaneous, octave-pkg-dev (>= 0.6.4),
 Standards-Version: 3.8.1
 Homepage: http://octave.sourceforge.net/financial
 Vcs-Git: git://git.debian.org/git/pkg-octave/octave-financial.git
diff --git a/debian/patches/google-stock-data.diff b/debian/patches/google-stock-data.diff
new file mode 100644
index 0000000..cacf4e3
--- /dev/null
+++ b/debian/patches/google-stock-data.diff
@@ -0,0 +1,23 @@
+Correct data for test __fetch_google__
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sun, 24 May 2009 13:10:03 +0200
+
+--- a/inst/__fetch_google__.m
++++ b/inst/__fetch_google__.m
+@@ -85,11 +85,11 @@
+ 
+ %!shared fgood, dgood, wgood
+ %! fgood = {"Date", "Open", "High", "Low", "Close", "Volume"};
+-%! dgood = [732501,34.77,34.87,34.25,34.62,15515400;
+-%!          732500,33.87,34.77,33.72,34.63,16354300;
+-%!          732499,34.64,34.97,34.03,34.12,13585700;
+-%!          732498,34.25,35.08,34.20,34.60,16086700;
+-%!          732494,34.76,34.85,34.22,34.44,9861600];
++%! dgood = [732501,34.77,34.87,34.25,34.62,15296900;
++%!          732500,33.87,34.77,33.72,34.63,16265900;
++%!          732499,34.64,34.97,34.03,34.12,13451500;
++%!          732498,34.25,35.08,34.20,34.60,15845100;
++%!          732494,34.76,34.85,34.22,34.44,9740300];
+ %! wgood = [732501,34.25,35.08,33.72,34.62,61542100;
+ %!          732494,35.88,36.24,34.22,34.44,68433900];
+ %!test
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..36e8711
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+google-stock-data.diff
diff --git a/debian/rules b/debian/rules
index 71fb86c..038c30c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,4 @@
 # -*- makefile -*-
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk

-- 
octave-financial



More information about the Pkg-octave-commit mailing list