Hi, ports@:
Here is a patch for misc/p5-Finance-Quote:
i) Update to 1.57
ii) Update RUN_DEPENDS
iii) Add some TEST_DEPENDS
It build and run well on amd64-current system. Without ONLINE_TEST it passed
all tests.
Five new ports should be imported before commit this patch.
Regards,
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/p5-Finance-Quote/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile 11 Mar 2022 19:38:15 -0000 1.27
+++ Makefile 9 Jul 2023 09:29:28 -0000
@@ -2,19 +2,29 @@ COMMENT= module to obtain financial quot
MODULES= cpan
PKG_ARCH= *
-DISTNAME = Finance-Quote-1.38
+DISTNAME = Finance-Quote-1.57
CATEGORIES= misc
HOMEPAGE= http://finance-quote.sourceforge.net
BUILD_DEPENDS = ${RUN_DEPENDS}
-RUN_DEPENDS= converters/p5-JSON \
+RUN_DEPENDS= converters/p5-DateManip \
+ converters/p5-JSON \
devel/p5-DateTime \
+ devel/p5-DateTime-Format-Strptime \
+ misc/p5-Spreadsheet-XLSX \
+ textproc/p5-String-Util \
+ textproc/p5-Text-Template \
www/p5-LWP-Protocol-https \
www/p5-HTML-TableExtract \
+ www/p5-HTML-TokeParser-Simple \
www/p5-HTML-Tree \
- www/p5-libwww \
- www/p5-LWP-Protocol-https
+ www/p5-Web-Scraper \
+ www/p5-libwww
+TEST_DEPENDS= devel/p5-Date-Range \
+ devel/p5-Date-Simple \
+ devel/p5-DateTime-Format-ISO8601 \
+ devel/p5-Test-Perl-Critic
MODCPAN_EXAMPLES = Yes
MODCPAN_EXAMPLES_DIST = Examples
@@ -23,7 +33,7 @@ MODCPAN_EXAMPLES_DIST = Examples
PERMIT_PACKAGE= Yes
# pod tests too many failures leave disabled
-#MAKE_ENV += TEST_POD=Yes
+MAKE_ENV += TEST_POD=Yes
#TEST_FLAGS = TEST_AUTHOR=Tester
# uncomment for online checks, too many failures because of site changes, lot
of downloads.
#TEST_FLAGS += ONLINE_TEST=true
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/p5-Finance-Quote/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo 26 Aug 2015 06:20:21 -0000 1.12
+++ distinfo 9 Jul 2023 09:29:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (Finance-Quote-1.38.tar.gz) =
qVQncp4GkJWqtMt7z6QHJzlBf6p8Cm0Osb1t4o9YGH4=
-SIZE (Finance-Quote-1.38.tar.gz) = 327822
+SHA256 (Finance-Quote-1.57.tar.gz) =
dm7dUw+RRp+MGiU6nVs4jX167PTMiihFL0SHASOTQs4=
+SIZE (Finance-Quote-1.57.tar.gz) = 256933
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/misc/p5-Finance-Quote/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- pkg/PLIST 11 Mar 2022 19:38:15 -0000 1.13
+++ pkg/PLIST 9 Jul 2023 09:29:28 -0000
@@ -2,121 +2,118 @@ ${P5SITE}/Finance/
${P5SITE}/Finance/Quote/
${P5SITE}/Finance/Quote.pm
${P5SITE}/Finance/Quote/AEX.pm
-${P5SITE}/Finance/Quote/AIAHK.pm
${P5SITE}/Finance/Quote/ASEGR.pm
${P5SITE}/Finance/Quote/ASX.pm
-${P5SITE}/Finance/Quote/BMONesbittBurns.pm
-${P5SITE}/Finance/Quote/BSERO.pm
+${P5SITE}/Finance/Quote/AlphaVantage.pm
+${P5SITE}/Finance/Quote/BSEIndia.pm
+${P5SITE}/Finance/Quote/BVB.pm
+${P5SITE}/Finance/Quote/Bloomberg.pm
${P5SITE}/Finance/Quote/Bourso.pm
${P5SITE}/Finance/Quote/CSE.pm
${P5SITE}/Finance/Quote/Cdnfundlibrary.pm
-${P5SITE}/Finance/Quote/Citywire.pm
-${P5SITE}/Finance/Quote/Cominvest.pm
+${P5SITE}/Finance/Quote/Comdirect.pm
${P5SITE}/Finance/Quote/Currencies.pm
+${P5SITE}/Finance/Quote/CurrencyRates/
+${P5SITE}/Finance/Quote/CurrencyRates/AlphaVantage.pm
+${P5SITE}/Finance/Quote/CurrencyRates/ECB.pm
+${P5SITE}/Finance/Quote/CurrencyRates/Fixer.pm
+${P5SITE}/Finance/Quote/CurrencyRates/OpenExchange.pm
+${P5SITE}/Finance/Quote/CurrencyRates/YahooJSON.pm
${P5SITE}/Finance/Quote/DWS.pm
${P5SITE}/Finance/Quote/Deka.pm
-${P5SITE}/Finance/Quote/FTPortfolios.pm
${P5SITE}/Finance/Quote/FTfunds.pm
${P5SITE}/Finance/Quote/Fidelity.pm
-${P5SITE}/Finance/Quote/FidelityFixed.pm
-${P5SITE}/Finance/Quote/FinanceCanada.pm
${P5SITE}/Finance/Quote/Finanzpartner.pm
+${P5SITE}/Finance/Quote/Fondsweb.pm
${P5SITE}/Finance/Quote/Fool.pm
+${P5SITE}/Finance/Quote/Fundata.pm
${P5SITE}/Finance/Quote/GoldMoney.pm
-${P5SITE}/Finance/Quote/HEX.pm
+${P5SITE}/Finance/Quote/GoogleWeb.pm
${P5SITE}/Finance/Quote/HU.pm
+${P5SITE}/Finance/Quote/IEXCloud.pm
${P5SITE}/Finance/Quote/IndiaMutual.pm
-${P5SITE}/Finance/Quote/LeRevenu.pm
-${P5SITE}/Finance/Quote/MStaruk.pm
-${P5SITE}/Finance/Quote/ManInvestments.pm
-${P5SITE}/Finance/Quote/Morningstar.pm
+${P5SITE}/Finance/Quote/MarketWatch.pm
+${P5SITE}/Finance/Quote/MorningstarAU.pm
+${P5SITE}/Finance/Quote/MorningstarCH.pm
${P5SITE}/Finance/Quote/MorningstarJP.pm
+${P5SITE}/Finance/Quote/MorningstarUK.pm
+${P5SITE}/Finance/Quote/NSEIndia.pm
${P5SITE}/Finance/Quote/NZX.pm
-${P5SITE}/Finance/Quote/Platinum.pm
+${P5SITE}/Finance/Quote/OnVista.pm
+${P5SITE}/Finance/Quote/Oslobors.pm
${P5SITE}/Finance/Quote/SEB.pm
-${P5SITE}/Finance/Quote/SIXfunds.pm
-${P5SITE}/Finance/Quote/SIXshares.pm
-${P5SITE}/Finance/Quote/StockHouseCanada.pm
-${P5SITE}/Finance/Quote/TNetuk.pm
+${P5SITE}/Finance/Quote/SIX.pm
+${P5SITE}/Finance/Quote/Sinvestor.pm
+${P5SITE}/Finance/Quote/TMX.pm
${P5SITE}/Finance/Quote/TSP.pm
-${P5SITE}/Finance/Quote/TSX.pm
-${P5SITE}/Finance/Quote/Tdefunds.pm
-${P5SITE}/Finance/Quote/Tdwaterhouse.pm
+${P5SITE}/Finance/Quote/TesouroDireto.pm
${P5SITE}/Finance/Quote/Tiaacref.pm
+${P5SITE}/Finance/Quote/Tradegate.pm
+${P5SITE}/Finance/Quote/TreasuryDirect.pm
${P5SITE}/Finance/Quote/Troweprice.pm
-${P5SITE}/Finance/Quote/Trustnet.pm
-${P5SITE}/Finance/Quote/USFedBonds.pm
+${P5SITE}/Finance/Quote/TwelveData.pm
${P5SITE}/Finance/Quote/Union.pm
${P5SITE}/Finance/Quote/UserAgent.pm
-${P5SITE}/Finance/Quote/VWD.pm
-${P5SITE}/Finance/Quote/Yahoo/
-${P5SITE}/Finance/Quote/Yahoo/Asia.pm
-${P5SITE}/Finance/Quote/Yahoo/Australia.pm
-${P5SITE}/Finance/Quote/Yahoo/Base.pm
-${P5SITE}/Finance/Quote/Yahoo/Brasil.pm
-${P5SITE}/Finance/Quote/Yahoo/Europe.pm
-${P5SITE}/Finance/Quote/Yahoo/NZ.pm
-${P5SITE}/Finance/Quote/Yahoo/USA.pm
+${P5SITE}/Finance/Quote/XETRA.pm
${P5SITE}/Finance/Quote/YahooJSON.pm
-${P5SITE}/Finance/Quote/YahooYQL.pm
+${P5SITE}/Finance/Quote/YahooWeb.pm
${P5SITE}/Finance/Quote/ZA.pm
-${P5SITE}/Finance/Quote/ZA_UnitTrusts.pm
@man man/man3p/Finance::Quote.3p
@man man/man3p/Finance::Quote::AEX.3p
-@man man/man3p/Finance::Quote::AIAHK.3p
@man man/man3p/Finance::Quote::ASEGR.3p
@man man/man3p/Finance::Quote::ASX.3p
-@man man/man3p/Finance::Quote::BMONesbittBurns.3p
-@man man/man3p/Finance::Quote::BSERO.3p
+@man man/man3p/Finance::Quote::AlphaVantage.3p
+@man man/man3p/Finance::Quote::BSEIndia.3p
+@man man/man3p/Finance::Quote::BVB.3p
+@man man/man3p/Finance::Quote::Bloomberg.3p
@man man/man3p/Finance::Quote::Bourso.3p
@man man/man3p/Finance::Quote::CSE.3p
@man man/man3p/Finance::Quote::Cdnfundlibrary.3p
-@man man/man3p/Finance::Quote::Citywire.3p
-@man man/man3p/Finance::Quote::Cominvest.3p
+@man man/man3p/Finance::Quote::Comdirect.3p
@man man/man3p/Finance::Quote::Currencies.3p
+@man man/man3p/Finance::Quote::CurrencyRates::AlphaVantage.3p
+@man man/man3p/Finance::Quote::CurrencyRates::ECB.3p
+@man man/man3p/Finance::Quote::CurrencyRates::Fixer.3p
+@man man/man3p/Finance::Quote::CurrencyRates::OpenExchange.3p
+@man man/man3p/Finance::Quote::CurrencyRates::YahooJSON.3p
@man man/man3p/Finance::Quote::DWS.3p
@man man/man3p/Finance::Quote::Deka.3p
-@man man/man3p/Finance::Quote::FTPortfolios.3p
@man man/man3p/Finance::Quote::FTfunds.3p
@man man/man3p/Finance::Quote::Fidelity.3p
-@man man/man3p/Finance::Quote::FidelityFixed.3p
-@man man/man3p/Finance::Quote::FinanceCanada.3p
@man man/man3p/Finance::Quote::Finanzpartner.3p
+@man man/man3p/Finance::Quote::Fondsweb.3p
@man man/man3p/Finance::Quote::Fool.3p
+@man man/man3p/Finance::Quote::Fundata.3p
@man man/man3p/Finance::Quote::GoldMoney.3p
-@man man/man3p/Finance::Quote::HEX.3p
+@man man/man3p/Finance::Quote::GoogleWeb.3p
@man man/man3p/Finance::Quote::HU.3p
+@man man/man3p/Finance::Quote::IEXCloud.3p
@man man/man3p/Finance::Quote::IndiaMutual.3p
-@man man/man3p/Finance::Quote::LeRevenu.3p
-@man man/man3p/Finance::Quote::MStaruk.3p
-@man man/man3p/Finance::Quote::ManInvestments.3p
-@man man/man3p/Finance::Quote::Morningstar.3p
+@man man/man3p/Finance::Quote::MarketWatch.3p
+@man man/man3p/Finance::Quote::MorningstarAU.3p
+@man man/man3p/Finance::Quote::MorningstarCH.3p
@man man/man3p/Finance::Quote::MorningstarJP.3p
+@man man/man3p/Finance::Quote::MorningstarUK.3p
+@man man/man3p/Finance::Quote::NSEIndia.3p
@man man/man3p/Finance::Quote::NZX.3p
-@man man/man3p/Finance::Quote::Platinum.3p
+@man man/man3p/Finance::Quote::OnVista.3p
+@man man/man3p/Finance::Quote::Oslobors.3p
@man man/man3p/Finance::Quote::SEB.3p
-@man man/man3p/Finance::Quote::TNetuk.3p
+@man man/man3p/Finance::Quote::SIX.3p
+@man man/man3p/Finance::Quote::Sinvestor.3p
+@man man/man3p/Finance::Quote::TMX.3p
@man man/man3p/Finance::Quote::TSP.3p
-@man man/man3p/Finance::Quote::TSX.3p
-@man man/man3p/Finance::Quote::Tdefunds.3p
-@man man/man3p/Finance::Quote::Tdwaterhouse.3p
+@man man/man3p/Finance::Quote::TesouroDireto.3p
@man man/man3p/Finance::Quote::Tiaacref.3p
+@man man/man3p/Finance::Quote::Tradegate.3p
+@man man/man3p/Finance::Quote::TreasuryDirect.3p
@man man/man3p/Finance::Quote::Troweprice.3p
-@man man/man3p/Finance::Quote::Trustnet.3p
-@man man/man3p/Finance::Quote::USFedBonds.3p
+@man man/man3p/Finance::Quote::TwelveData.3p
@man man/man3p/Finance::Quote::Union.3p
-@man man/man3p/Finance::Quote::VWD.3p
-@man man/man3p/Finance::Quote::Yahoo::Asia.3p
-@man man/man3p/Finance::Quote::Yahoo::Australia.3p
-@man man/man3p/Finance::Quote::Yahoo::Base.3p
-@man man/man3p/Finance::Quote::Yahoo::Brasil.3p
-@man man/man3p/Finance::Quote::Yahoo::Europe.3p
-@man man/man3p/Finance::Quote::Yahoo::NZ.3p
-@man man/man3p/Finance::Quote::Yahoo::USA.3p
+@man man/man3p/Finance::Quote::XETRA.3p
@man man/man3p/Finance::Quote::YahooJSON.3p
-@man man/man3p/Finance::Quote::YahooYQL.3p
+@man man/man3p/Finance::Quote::YahooWeb.3p
@man man/man3p/Finance::Quote::ZA.3p
-@man man/man3p/Finance::Quote::ZA_UnitTrusts.3p
share/examples/p5-Finance-Quote/
share/examples/p5-Finance-Quote/Quote_example.pl
share/examples/p5-Finance-Quote/chkshares.pl