Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv30695/stable/main/finkinfo/libs/perlmods

Modified Files:
        finance-quote-pm.info 
Added Files:
        finance-quote-pm.patch 
Log Message:
latest finance-quote-pmXXX to stable


Index: finance-quote-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/finance-quote-pm.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- finance-quote-pm.info       23 Aug 2009 04:24:13 -0000      1.8
+++ finance-quote-pm.info       8 Jan 2012 08:19:57 -0000       1.9
@@ -1,8 +1,7 @@
 Info2: <<
 Package: finance-quote-pm%type_pkg[perl]
-Version: 1.15
+Version: 1.17
 Revision: 1
-Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5
 Depends: <<
   perl%type_pkg[perl]-core,
   libwww-pm%type_pkg[perl],
@@ -10,10 +9,13 @@
   crypt-ssleay-pm%type_pkg[perl] (>= 0.51-1),
   html-tree-pm%type_pkg[perl] (>=3.23-1)
 <<
-BuildDepends: fink (>= 0.20.1-1)
+BuildDepends: fink (>= 0.24.12-1)
 Source: mirror:cpan:authors/id/E/EC/ECOCODE/Finance-Quote-%v.tar.gz
-Source-MD5: 8d99f7dc5a574477d07aeb219c3f3982
-Type: perl (5.8.6 5.8.8)
+Source-MD5: 446dba3837ffa395bffdea268824e0c1
+PatchFile: %{ni}.patch
+PatchFile-MD5: 85eb52dcb1a28f6fc87d98e675af14ff
+Type: perl (5.8.6 5.8.8 5.10.0 5.12.3)
+Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, 
(%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] 
= 5123) 10.7, (%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, 
(%type_pkg[perl] = 588) 10.6
 UpdatePOD: True
 DocFiles: MANIFEST Documentation/FAQ Documentation/Hackers-Guide 
Documentation/README Documentation/License INSTALL
 InfoTest: <<
@@ -26,11 +28,9 @@
 Description: Perl module to get stock quotes
 DescDetail: <<
 Provides access to time-delayed stockquotes from a number of sources.  After 
-you've installed the pacakage, try 'perldoc Finance::Quote'. This version makes
+you've installed the package, try 'perldoc Finance::Quote'. This version makes
 use of https for several quote sources.
 
-1.14 updates many retrieval modules. European mutual funds identified by ISIN
-don't work 100% with yahoo_europe yet.
 <<
 License: GPL
 Maintainer: Dave Reiser <dbrei...@users.sourceforge.net>

--- NEW FILE: finance-quote-pm.patch ---
diff -Nurd old/Base.pm new/Base.pm
--- old/lib/Finance/Quote/Yahoo/Base.pm 2009-10-05 13:39:57.000000000 -0400
+++ new/lib/Finance/Quote/Yahoo/Base.pm 2009-10-05 22:21:15.000000000 -0400
@@ -275,6 +275,17 @@
         }
         # Other exchanges here as needed.
       }
+      #need to account for GBp values returned for funds without exchange set
+      if (!defined($exchange)) {
+        if ($info{$symbol,"currency"} eq "GBp") {
+          foreach my $field ($quoter->default_currency_fields) {
+            next unless ($info{$symbol,$field});
+            $info{$symbol,$field} =
+             $quoter->scale_field($info{$symbol,$field},0.01);
+           }
+         }
+       }
+
 
                        if (defined($info{$symbol,"currency"})) {
         # Having converted London prices to GBP above we


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to