Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Finance-QuoteHist
perl-Finance-QuoteHist.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Finance-QuoteHist.spec of Package perl-Finance-QuoteHist
# # spec file for package perl-Finance-QuoteHist # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Finance-QuoteHist Name: perl-Finance-QuoteHist Version: 1.32 Release: 0 Summary: Perl module for fetching historical stock quotes License: Artistic-1.0 OR GPL-1.0-or-later URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Date::Manip) BuildRequires: perl(HTML::TableExtract) >= 2.07 BuildRequires: perl(HTTP::Request) BuildRequires: perl(JSON) BuildRequires: perl(LWP::UserAgent) 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(Text::CSV) %{perl_requires} %description Finance::QuoteHist is a top level interface for fetching historical stock quotes from the web. It is actually a front end to modules based on Finance::QuoteHist::Generic, the main difference being that it has a default _lineup_ of web sites from which to attempt quote retrieval. If the prospect of mixing data from multiple sites seems scary to you, then use one of the site-specific modules directly. Unless otherwise defined via the _lineup_ attribute, this module will select a _lineup_ for you, the default being: Finance::QutoeHist::Yahoo Finance::QutoeHist::Google Once instantiated, this module behaves identically to the first module in the _lineup_, sharing all of that module's methods. Most queries will likely be handled by the first module in the lineup. If 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 Finance::QuoteHist::Generic(3) for gory details on all of the parameters and methods this module accepts. The basic interface is noted below. %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor