Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638530 - dev-perl/Finance-Quote-1.470.0 version bump
Summary: dev-perl/Finance-Quote-1.470.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 02:54 UTC by Jason Zaman
Modified: 2017-11-25 02:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Zaman gentoo-dev 2017-11-23 02:54:12 UTC
http://search.cpan.org/dist/Finance-Quote/
There is a bump to 1.47, it adds support for AlphaVantage since the Yahoo API is gone.


cp Finance-Quote-1.380.0.ebuild Finance-Quote-1.470.0.ebuild
and changing the version inside the ebuild makes it work for me.

The patch to fix metadata.xml:


diff --git a/dev-perl/Finance-Quote/metadata.xml b/dev-perl/Finance-Quote/metadata.xml
index 2df05919109..7643a0bf5ee 100644
--- a/dev-perl/Finance-Quote/metadata.xml
+++ b/dev-perl/Finance-Quote/metadata.xml
@@ -12,16 +12,21 @@
     <remote-id type="cpan-module">Finance::Quote::AIAHK</remote-id>
     <remote-id type="cpan-module">Finance::Quote::ASEGR</remote-id>
     <remote-id type="cpan-module">Finance::Quote::ASX</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::AlphaVantage</remote-id>
     <remote-id type="cpan-module">Finance::Quote::BMONesbittBurns</remote-id>
     <remote-id type="cpan-module">Finance::Quote::BSERO</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Bourso</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::CSE</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Cdnfundlibrary</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::Citywire</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Cominvest</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Currencies</remote-id>
     <remote-id type="cpan-module">Finance::Quote::DWS</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Deka</remote-id>
     <remote-id type="cpan-module">Finance::Quote::FTPortfolios</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::FTfunds</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Fidelity</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::FidelityFixed</remote-id>
     <remote-id type="cpan-module">Finance::Quote::FinanceCanada</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Finanzpartner</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Fool</remote-id>
@@ -30,14 +35,17 @@
     <remote-id type="cpan-module">Finance::Quote::HU</remote-id>
     <remote-id type="cpan-module">Finance::Quote::IndiaMutual</remote-id>
     <remote-id type="cpan-module">Finance::Quote::LeRevenu</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::MStaruk</remote-id>
     <remote-id type="cpan-module">Finance::Quote::ManInvestments</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Morningstar</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::MorningstarJP</remote-id>
     <remote-id type="cpan-module">Finance::Quote::NZX</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Platinum</remote-id>
     <remote-id type="cpan-module">Finance::Quote::SEB</remote-id>
     <remote-id type="cpan-module">Finance::Quote::SIXfunds</remote-id>
     <remote-id type="cpan-module">Finance::Quote::SIXshares</remote-id>
     <remote-id type="cpan-module">Finance::Quote::StockHouseCanada</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::TNetuk</remote-id>
     <remote-id type="cpan-module">Finance::Quote::TSP</remote-id>
     <remote-id type="cpan-module">Finance::Quote::TSX</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Tdefunds</remote-id>
@@ -56,6 +64,9 @@
     <remote-id type="cpan-module">Finance::Quote::Yahoo::Europe</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Yahoo::NZ</remote-id>
     <remote-id type="cpan-module">Finance::Quote::Yahoo::USA</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::YahooJSON</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::YahooYQL</remote-id>
     <remote-id type="cpan-module">Finance::Quote::ZA</remote-id>
+    <remote-id type="cpan-module">Finance::Quote::ZA_UnitTrusts</remote-id>
   </upstream>
 </pkgmetadata>



I'm not very good at perl so double check this :P
Comment 1 Larry the Git Cow gentoo-dev 2017-11-25 02:28:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fde3824ef2eec2fc7d40439dec8396bba19705

commit a0fde3824ef2eec2fc7d40439dec8396bba19705
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-11-25 02:26:34 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-11-25 02:27:38 +0000

    dev-perl/Finance-Quote: Bump to version 1.470.0 re bug #638530
    
    - Add USE=examples
    - Install more documentation
    - Duct-tape together some assistance for running network tests (NB:
         these tests all fail so prolifically I don't have any energy to
         look into them, and upstream has heaps of open bugs)
    
    Upstream:
    - Add AlphaVantage, CSE, CityWire, FTfunds, FidelityFixed, MStaruk,
      MorningstarJP, TNetuk, YahooJSON, YahooYQL and ZA_UnitTrusts modules
    - Use AlphaVantage instead of Yahoo for currency quotes
    - Remove time from $last_refresh when markets are open
    - Fix currency determination regex
    - Add Currency for .DE, .SA, .TO  markets
    
    Closes: https://bugs.gentoo.org/638530
    Package-Manager: Portage-2.3.14, Repoman-2.3.6

 .../Finance-Quote/Finance-Quote-1.470.0.ebuild     | 63 ++++++++++++++++++++++
 dev-perl/Finance-Quote/Manifest                    |  5 +-
 dev-perl/Finance-Quote/metadata.xml                | 11 ++++
 3 files changed, 77 insertions(+), 2 deletions(-)