diff options
Diffstat (limited to 'dev-perl/Finance-Quote/Finance-Quote-1.570.0.ebuild')
-rw-r--r-- | dev-perl/Finance-Quote/Finance-Quote-1.570.0.ebuild | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/dev-perl/Finance-Quote/Finance-Quote-1.570.0.ebuild b/dev-perl/Finance-Quote/Finance-Quote-1.570.0.ebuild new file mode 100644 index 000000000000..58d9a05318d2 --- /dev/null +++ b/dev-perl/Finance-Quote/Finance-Quote-1.570.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=BPSCHUCK +DIST_VERSION=1.57 +DIST_EXAMPLES=( "Examples/*" ) +inherit perl-module + +DESCRIPTION="Get stock and mutual fund quotes from various exchanges" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-perl/CGI + virtual/perl-Carp + dev-perl/Date-Manip + dev-perl/DateTime + dev-perl/DateTime-Format-Strptime + virtual/perl-Encode + virtual/perl-Exporter + dev-perl/HTML-TableExtract + dev-perl/HTML-Parser + dev-perl/HTML-TokeParser-Simple + dev-perl/HTML-Tree + dev-perl/HTTP-Cookies + dev-perl/HTTP-Message + dev-perl/IO-String + dev-perl/JSON + dev-perl/JSON-Parse + dev-perl/LWP-Protocol-https + dev-perl/libwww-perl + >=virtual/perl-Module-Load-0.360.0-r2 + dev-perl/Mozilla-CA + dev-perl/Readonly + virtual/perl-Scalar-List-Utils + dev-perl/Spreadsheet-XLSX + dev-perl/String-Util + dev-perl/Text-Template + virtual/perl-Time-Piece + dev-perl/Try-Tiny + dev-perl/URI + dev-perl/Web-Scraper + dev-perl/XML-LibXML + virtual/perl-if +" +BDEPEND=" + ${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-Data-Dumper + dev-perl/Date-Range + dev-perl/Date-Simple + dev-perl/DateTime-Format-ISO8601 + virtual/perl-File-Spec + virtual/perl-Test-Simple + ) +" +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 + lib/GPATH + lib/GRTAGS + lib/GTAGS +) + +src_test() { + 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 +} |