1 |
commit: 8b8e33eaedd9c689573175db992000d69ae7baa4 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 13 02:17:13 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 13 02:17:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8e33ea |
7 |
|
8 |
dev-perl/Finance-YahooQuote: Bump to version 0.260.0 |
9 |
|
10 |
- EAPI7 |
11 |
- Remove unused/empty variable assignments |
12 |
- Nuke network-testing logic as the upstream code is gone due to Yahoo |
13 |
API being gone. |
14 |
|
15 |
Upstream: |
16 |
- Indicate Yahoo no longer supports this API |
17 |
- Nuke API dependent tests |
18 |
|
19 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
20 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
21 |
|
22 |
.../Finance-YahooQuote-0.260.0.ebuild | 44 ++++++++++++++++++++++ |
23 |
dev-perl/Finance-YahooQuote/Manifest | 1 + |
24 |
2 files changed, 45 insertions(+) |
25 |
|
26 |
diff --git a/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.260.0.ebuild b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.260.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..52967e2a862 |
29 |
--- /dev/null |
30 |
+++ b/dev-perl/Finance-YahooQuote/Finance-YahooQuote-0.260.0.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DIST_AUTHOR=EDD |
38 |
+DIST_VERSION=0.26 |
39 |
+inherit perl-module |
40 |
+ |
41 |
+DESCRIPTION="Get stock quotes from Yahoo! Finance" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-perl/HTML-Parser-2.200.0 |
49 |
+ >=dev-perl/HTTP-Message-1.230.0 |
50 |
+ >=dev-perl/libwww-perl-1.620.0 |
51 |
+ >=virtual/perl-Text-ParseWords-3.100.0 |
52 |
+" |
53 |
+BDEPEND="${RDEPEND} |
54 |
+ virtual/perl-ExtUtils-MakeMaker |
55 |
+" |
56 |
+src_test() { |
57 |
+ local MODULES=( |
58 |
+ "Finance::YahooQuote ${DIST_VERSION}" |
59 |
+ ) |
60 |
+ local failed=() |
61 |
+ for dep in "${MODULES[@]}"; do |
62 |
+ ebegin "Compile testing ${dep}" |
63 |
+ perl -Mblib="${S}" -M"${dep} ()" -e1 |
64 |
+ eend $? || failed+=( "$dep" ) |
65 |
+ done |
66 |
+ if [[ ${failed[@]} ]]; then |
67 |
+ echo |
68 |
+ eerror "One or more modules failed compile:"; |
69 |
+ for dep in "${failed[@]}"; do |
70 |
+ eerror " ${dep}" |
71 |
+ done |
72 |
+ die "Failing due to module compilation errors"; |
73 |
+ fi |
74 |
+ perl-module_src_test |
75 |
+} |
76 |
|
77 |
diff --git a/dev-perl/Finance-YahooQuote/Manifest b/dev-perl/Finance-YahooQuote/Manifest |
78 |
index 35180e2d1d7..ee30fb161fe 100644 |
79 |
--- a/dev-perl/Finance-YahooQuote/Manifest |
80 |
+++ b/dev-perl/Finance-YahooQuote/Manifest |
81 |
@@ -1 +1,2 @@ |
82 |
DIST Finance-YahooQuote-0.25.tar.gz 20650 BLAKE2B 5fb69ee7c82fc5f58218dae74fd7ea827a55c0cadf56db5ff744d28403998ca7ca6f65ce5b23a8dba9aec2ad397d2dc61e8f711226af82bfeab3bdae9a0ddf42 SHA512 be1d906187916a62b50775a42e6b7ead983e65d2d3738ff8c76e4fb3c4c67eb8c01f8c95f181547547ec7624119b6be41b4299731e6a8dc76ecfc1c38779bf72 |
83 |
+DIST Finance-YahooQuote-0.26.tar.gz 21407 BLAKE2B 2fcf0051d5825b5c6eda50239222eed375082084e333d98bab8eb4ac8dc2cabff5775e0813fb8ed919b9ea8c41d137ed3036dc08e4620e473cb2610b93729203 SHA512 c0ac83f413566b7e9f6009256fcd60315140fcecc919b92865f10da314d181ae37a4e5ab7de8cd0a7e6af83ab03b5d5d96e0d51815065c554c581e0e3d82df2c |