diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Finance-YahooQuote | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Finance-YahooQuote')
4 files changed, 94 insertions, 0 deletions
diff --git a/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0-r1.ebuild b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0-r1.ebuild new file mode 100644 index 000000000000..8316703dcd8c --- /dev/null +++ b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=EDD +DIST_VERSION=0.25 +inherit perl-module + +DESCRIPTION="Get stock quotes from Yahoo! Finance" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + dev-perl/libwww-perl + virtual/perl-MIME-Base64 + >=dev-perl/HTML-Parser-2.200.0 + >=virtual/perl-Text-ParseWords-3.100.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" +src_test() { + local MODULES=( + "Finance::YahooQuote ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + ewarn "Comprehensive tests require network access. For details, see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Finance-YahooQuote" + perl_rm_files "t/04custom.t" "t/02simple.t" "t/03extended.t" "t/05test.t"; + fi + perl-module_src_test +} diff --git a/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0.ebuild b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0.ebuild new file mode 100644 index 000000000000..448a55f8577f --- /dev/null +++ b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.250.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=EDD +MODULE_VERSION=0.25 +inherit perl-module + +DESCRIPTION="Get stock quotes from Yahoo! Finance" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + dev-perl/libwww-perl + virtual/perl-MIME-Base64 + >=dev-perl/HTML-Parser-2.200.0 + >=virtual/perl-Text-ParseWords-3.100.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" + +SRC_TEST=online diff --git a/dev-perl/Finance-YahooQuote/Manifest b/dev-perl/Finance-YahooQuote/Manifest new file mode 100644 index 000000000000..5d25bdeaf963 --- /dev/null +++ b/dev-perl/Finance-YahooQuote/Manifest @@ -0,0 +1,4 @@ +DIST Finance-YahooQuote-0.25.tar.gz 20650 BLAKE2B 5fb69ee7c82fc5f58218dae74fd7ea827a55c0cadf56db5ff744d28403998ca7ca6f65ce5b23a8dba9aec2ad397d2dc61e8f711226af82bfeab3bdae9a0ddf42 SHA512 be1d906187916a62b50775a42e6b7ead983e65d2d3738ff8c76e4fb3c4c67eb8c01f8c95f181547547ec7624119b6be41b4299731e6a8dc76ecfc1c38779bf72 +EBUILD Finance-YahooQuote-0.250.0-r1.ebuild 1243 BLAKE2B 9c76285df35f2b99c43adc3a39c24fa06fccc3a2e802f10b3a966e0133a7c2175e987d76b08565c6443af40e608f22b0c381d70888ac76d0080c9e5d29de49a7 SHA512 685132a00bc36d9007fb280755c917f7f5f47cf3b2d605a40c1dd6b102cec2a4bc1ea006b9e1087d0f9d059c18cc34783003114d4ff718e521fc0af3e63b2d94 +EBUILD Finance-YahooQuote-0.250.0.ebuild 490 BLAKE2B 7610cd032069a0743efd42e6b1673f6db9e237d7eb4c0682a4f5f210aa1c7e7d7d6cdf8bb8653e3fd3048a45982716f645e52e627afe5e118e4fbc5806ab4173 SHA512 94b0e42e4fc77d747ea8ee083c563f418c141cdf2cceaad0289d41ce6a9e02097410d22022689b73965e85662dc169b3b887e2e859ca9e065de093b79f5515fb +MISC metadata.xml 467 BLAKE2B abd033bd791fe1135f3a5504f4ea7070aa1181b80634aaee4e210d005cafc42d99bc174f22bc3f67c9e0a6ae9e9f4c6ca8fdb90e27c8b9558e8ff813a9f0b341 SHA512 edbea61456d99f3d4677bfd7e181a09c2c22f3ef2e161d35396ffdd70f0d957bad8bc13480457caaeb0d8c12a2726566f003eb45ea7ced9a83b888d7cf54d86a diff --git a/dev-perl/Finance-YahooQuote/metadata.xml b/dev-perl/Finance-YahooQuote/metadata.xml new file mode 100644 index 000000000000..2f6964bba636 --- /dev/null +++ b/dev-perl/Finance-YahooQuote/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Finance-YahooQuote</remote-id> + <remote-id type="cpan-module">Finance::YahooQuote</remote-id> + <remote-id type="cpan-module">RequestAgent</remote-id> + </upstream> +</pkgmetadata> |