[Pkg-octave-commit] [SCM] Debian packaging for octave-financial branch, master, updated. debian/0.3.2-3-11-gb9ab8a4

Sébastien Villemot sebastien.villemot at ens.fr
Sat Apr 28 21:03:04 UTC 2012


The following commit has been merged in the master branch:
commit d7d0a8e86f77b644149cf4b2c13198f277d1ec9e
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date:   Sat Apr 28 22:09:08 2012 +0200

    /google-stock-fetch.patch: remove patch, applied upstream

diff --git a/debian/patches/google-stock-fetch.patch b/debian/patches/google-stock-fetch.patch
deleted file mode 100644
index 5e6d43f..0000000
--- a/debian/patches/google-stock-fetch.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Description: Fix several issues in __fetch_google__.m
- - Strip byte order mark (BOM) from downloaded CSV file
- - Make sure Google does not return extra historical data in weekly mode
- - Fix the expected volumes in test for weekly data
-Author: Sébastien Villemot <sebastien.villemot at ens.fr>
-Forwarded: no
-Last-Update: 2012-04-01
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/inst/__fetch_google__.m
-+++ b/inst/__fetch_google__.m
-@@ -63,6 +63,7 @@
-               "\n%s\nURL was:\n%s"], msg, geturl)
-     endif
-     d = csv2cell (f);
-+    d{1,1} = d{1,1}(4:end); # Remove byte order mark (BOM)
-     unlink(f);
-     ## Pull off the header
-     fields = d(1,:);
-@@ -70,13 +71,10 @@
-     ## Put the dates into datenum format
-     data = [datenum(datevec(d(:,1), "dd-mmm-yy")), \
-             cell2mat(d(:,2:end))];
--    if (period == "d")
--      ## Note that google appears to have an off-by-one error in
--      ## returning historical data, so make sure that we only return the
--      ## requested data and not what Google sent.  This is only done if
--      ## the period is daily because
--      data((data(:,1) < fromdate) | (data(:,1) > todate), :) = [];
--    endif
-+    ## Note that google appears to have an off-by-one error in
-+    ## returning historical data, so make sure that we only return the
-+    ## requested data and not what Google sent.
-+    data((data(:,1) < fromdate) | (data(:,1) > todate), :) = [];
-   else
-     error ("Non-google connection passed to google fetch")
-   endif
-@@ -90,8 +88,8 @@
- %!          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];
-+%! wgood = [732501,34.25,35.08,33.72,34.62,60859400;
-+%!          732494,35.88,36.24,34.22,34.44,67132100];
- %!test
- %! [d f] = __fetch_google__ (google(), "yhoo", 732494, 732501, "d");
- %! assert(d, dgood, eps);
diff --git a/debian/patches/series b/debian/patches/series
index 835b644..8d1c8b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
  
-google-stock-fetch.patch

-- 
Debian packaging for octave-financial



More information about the Pkg-octave-commit mailing list