Compare commits
10 Commits
8e7d339ed8
...
f7aba0cb64
Author | SHA256 | Date | |
---|---|---|---|
f7aba0cb64 | |||
7c597a1c9d | |||
1d716a3d86 | |||
6a9b056e44 | |||
|
d50250fa99 | ||
|
ac415be31e | ||
|
55e51ee404 | ||
|
417a1e3ce8 | ||
|
5abbd60e32 | ||
|
75130dcd67 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd5cc61f73fa8d484541504caef9536f7241769d992166c98c76671f099ad081
|
||||
size 39312
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41e6cf53a769625d26c27c1bd640a781adad1ddfeb5e7bab7916ffbde9e944b4
|
||||
size 55535
|
3
Finance-QuoteHist-1.32.tar.gz
Normal file
3
Finance-QuoteHist-1.32.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2df74b7e5c6175cd04ae409265b9dc7e0ef824402ca8d8e685132c1a52c82e88
|
||||
size 43483
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,121 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 03:06:16 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.32
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.32 Tue 09 Mar 2021 10:01:14 AM EST
|
||||
- patched to handle negative epochs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 20 03:06:15 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.30
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.30 Fri 19 Feb 2021 01:47:26 PM EST
|
||||
- Updated yahoo module to use json API
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 09:25:56 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.29
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.29 Wed Nov 13 10:27:10 EST 2019
|
||||
- Fixed (harmless) dependency on google module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 09:43:50 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.28
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.28 Wed Oct 23 12:11:32 EDT 2019
|
||||
- Updated yahoo test data again
|
||||
- Retired Finance::QuoteHist::Google (no data)
|
||||
- Retired Finance::QuoteHist::DailyFinance (no data)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 05:30:34 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.27
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.27 Tue Jul 18 10:46:49 EDT 2017
|
||||
- Updated yahoo test data
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 05:31:34 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.26
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.26 Tue Jun 27 14:19:13 EDT 2017
|
||||
- Fixed Yahoo module to handle the site's obfuscation
|
||||
- updated test data
|
||||
- removed defunct StockNod
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 20 15:55:31 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.24
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.24 Mon Aug 3 15:55:29 EDT 2015
|
||||
- removed some deprecated Date::Manip config statements
|
||||
- removed outmoded fetchers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 27 08:34:38 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.23
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.23 Thu May 21 11:48:11 EDT 2015
|
||||
- patched quotes test to properly skip tests
|
||||
without network connectivity (RT #104358)
|
||||
|
||||
1.22 Mon Apr 20 14:15:32 EDT 2015
|
||||
- fixed dividend/split entanglement on yahoo
|
||||
rt.cpan.org #103759
|
||||
|
||||
1.21 Fri Jan 9 11:25:10 EST 2015
|
||||
- fixed splits on yahoo
|
||||
- removed BusinessWeek
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 3 08:28:19 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.20
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.20 Tue Oct 8 14:54:48 EDT 2013
|
||||
- added DailyFinance
|
||||
- removed QuoteMedia, MSN, Investopedia
|
||||
|
||||
1.19 Mon Aug 29 11:08:08 EDT 2011
|
||||
- fixed test data window (1.17 was a little *too*
|
||||
recent for reliable monthly tests)
|
||||
- 1.18 skipped, CPAN version appeasement
|
||||
|
||||
1.17 Fri Aug 26 19:31:05 EDT 2011
|
||||
- Updated tests with more recent data
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 3 08:28:18 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.19
|
||||
see /usr/share/doc/packages/perl-Finance-QuoteHist/Changes
|
||||
|
||||
1.19 Mon Aug 29 11:08:08 EDT 2011
|
||||
- fixed test data window (1.17 was a little *too*
|
||||
recent for reliable monthly tests)
|
||||
- 1.18 skipped, CPAN version appeasement
|
||||
|
||||
1.17 Fri Aug 26 19:31:05 EDT 2011
|
||||
- Updated tests with more recent data
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 08:39:38 UTC 2011 - coolo@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Finance-QuoteHist (Version 1.16)
|
||||
# spec file for package perl-Finance-QuoteHist
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,37 +12,40 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-Finance-QuoteHist
|
||||
Version: 1.16
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
|
||||
%define cpan_name Finance-QuoteHist
|
||||
Summary: Perl module for fetching historical stock quotes.
|
||||
Url: http://search.cpan.org/dist/Finance-QuoteHist/
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-Finance-QuoteHist
|
||||
Version: 1.320.0
|
||||
Release: 0
|
||||
# 1.32 -> normalize -> 1.320.0
|
||||
%define cpan_version 1.32
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Perl module for fetching historical stock quotes
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Date::Manip)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(HTML::TableExtract) >= 2.07
|
||||
BuildRequires: perl(HTTP::Request)
|
||||
BuildRequires: perl(JSON)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
BuildRequires: perl(Regexp::Common)
|
||||
BuildRequires: perl(Text::CSV)
|
||||
Requires: perl(Date::Manip)
|
||||
Requires: perl(HTML::TableExtract) >= 2.07
|
||||
Requires: perl(HTTP::Request)
|
||||
Requires: perl(JSON)
|
||||
Requires: perl(LWP::UserAgent)
|
||||
Requires: perl(MIME::Base64)
|
||||
Requires: perl(Regexp::Common)
|
||||
Requires: perl(Text::CSV)
|
||||
Provides: perl(Finance::QuoteHist) = %{version}
|
||||
Provides: perl(Finance::QuoteHist::Generic) = 1.220.0
|
||||
Provides: perl(Finance::QuoteHist::Yahoo) = 1.260.0
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -60,8 +63,6 @@ select a _lineup_ for you, the default being:
|
||||
|
||||
Finance::QutoeHist::Yahoo
|
||||
Finance::QutoeHist::Google
|
||||
Finance::QuoteHist::QuoteMedia
|
||||
Finance::QutoeHist::MSN
|
||||
|
||||
Once instantiated, this module behaves identically to the first module in
|
||||
the _lineup_, sharing all of that module's methods.
|
||||
@@ -71,30 +72,27 @@ the site is down for some reason, or perhaps that site does not provide
|
||||
quotes for defunct ticker symbols, then the other sites in the lineup will
|
||||
be attempted.
|
||||
|
||||
See the Finance::QuoteHist::Generic(3) manpage for gory details on all of
|
||||
the parameters and methods this module accepts. The basic interface is
|
||||
noted below.
|
||||
See Finance::QuoteHist::Generic(3) for gory details on all of the
|
||||
parameters and methods this module accepts. The basic interface is noted
|
||||
below.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user