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
This commit is contained in:
Kent Fredric
2017-11-25 15:26:34 +13:00
parent 3b7d176131
commit a0fde3824e
3 changed files with 77 additions and 2 deletions

View File

@@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=ECOCODE
DIST_VERSION=1.47
DIST_EXAMPLES=( "Examples/*" )
inherit perl-module
DESCRIPTION="Get stock and mutual fund quotes from various exchanges"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
# virtual/perl-Data-Dumper currently commented out in the code
RDEPEND="
dev-perl/CGI
virtual/perl-Carp
dev-perl/DateTime
virtual/perl-Encode
virtual/perl-Exporter
dev-perl/HTML-Parser
dev-perl/HTML-TableExtract
dev-perl/HTML-Tree
dev-perl/HTTP-Cookies
dev-perl/HTTP-Message
dev-perl/JSON
dev-perl/LWP-Protocol-https
dev-perl/libwww-perl
dev-perl/Mozilla-CA
virtual/perl-Time-Piece
dev-perl/URI
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Data-Dumper
virtual/perl-File-Spec
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files t/01-pod.t t/02-pod-coverage.t t/03-kwalitee.t \
t/04-critic.t t/author-pod-syntax.t
if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
einfo "Disabling network tests without DIST_TEST_OVERRIDE=~network"
else
export ONLINE_TEST=1
fi
perl-module_src_test
}
mydoc=("Documentation/*")
src_install() {
dodoc -r htdocs
perl-module_src_install
}

View File

@@ -1,2 +1,3 @@
DIST Finance-Quote-1.37.tar.gz 251374 SHA256 6e1147e2e13ee27b223dffecf2f3bda5f85e10e8900247942ecb99e30e5cd7ac SHA512 ed58d27d1c14f7818871af4906c1b6109b3d353586bc348140120597199ed72d57b8939cebc95fa534e86ad7b9f9bf69bc4315db1d1cc1da5796aa9771697c51 WHIRLPOOL ee676ffcdceec66e2f5a12ddae7c9ed48426141313eba2a419ef884a1bd8ca326ba2a89e2db86cea9b82e7956b73fd314f2c52003428cabfb27a0b3af76d8801
DIST Finance-Quote-1.38.tar.gz 327822 SHA256 a95427729e069095aab4cb7bcfa4072739417faa7c0a6d0eb1bd6de28f58187e SHA512 b55382d56ecf89eaf662f49ec6fd803e9e5e0163b63d3020ca3c875d4dff7607f502fa7600997c5db8d62fa671ea82e81597300443fc4b24bb3f94c80bd32439 WHIRLPOOL ef84399bf34541efebb74917f4e41db457e5949dfae71d27c55b8922b676dbbf5b3b8c53645e884f6d2b007ed75b1ca9e466f9b8c7e93d1478a9a707308dfd66
DIST Finance-Quote-1.37.tar.gz 251374 BLAKE2B b961789ee2e628eb1ef4860269a441302bcd732e844262459ef9eadb27cb68f0528a07b074bf911f64dbd8895efa71ddae0c954e052b673783127b74f69237b3 SHA512 ed58d27d1c14f7818871af4906c1b6109b3d353586bc348140120597199ed72d57b8939cebc95fa534e86ad7b9f9bf69bc4315db1d1cc1da5796aa9771697c51
DIST Finance-Quote-1.38.tar.gz 327822 BLAKE2B b8efe6c11d51d54a70b1830610ec5e0f9a1f18d8f0fc88c1d8bbbdf0f5d66d75d82b5aab1be5df7acaf4a2e93e0af89ac16d6ef4935342fabdc3db3a65c2a727 SHA512 b55382d56ecf89eaf662f49ec6fd803e9e5e0163b63d3020ca3c875d4dff7607f502fa7600997c5db8d62fa671ea82e81597300443fc4b24bb3f94c80bd32439
DIST Finance-Quote-1.47.tar.gz 270335 BLAKE2B 585ab3736b7ea448b083f4dbbed460ac442fb30285041b7b0bf2a52d6b2d533a8d1eb1d9bfa72cc1cd7a3d4664d2cb5104eb539ecd6b1042083548b8ef605333 SHA512 a900ed3e305edb8c713dc4a885b912ad9a9f873cb501d66d393a39aacd8a980af1bd4fb0fdf5bce8e2b2aeec744e811b861a2803a6fb0d5c71ab6b8d1c3a57f7

View File

@@ -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>