pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-fix-yahoo-finance: Import version 0.0.19



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Mon Sep 18 17:04:24 2017 -0700
Changeset:	9e7efd4dea7d24cc894d74354428c635410d27a3

Modified Files:
	Makefile
Added Files:
	py-fix-yahoo-finance/DESCR
	py-fix-yahoo-finance/Makefile
	py-fix-yahoo-finance/PLIST
	py-fix-yahoo-finance/distinfo

Log Message:
py-fix-yahoo-finance: Import version 0.0.19

fix-yahoo-finance offers a temporary fix to the problem by scraping
the data from Yahoo! finance using and return a Pandas DataFrame/Panel
in the same format as pandas_datareader's get_data_yahoo().

By basically "hijacking" pandas_datareader.data.get_data_yahoo()
method, fix-yahoo-finance's implantation is easy and only requires to
import fix_yahoo_finance into your code.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e7efd4dea7d24cc894d74354428c635410d27a3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                      |  1 +
 py-fix-yahoo-finance/DESCR    |  7 +++++++
 py-fix-yahoo-finance/Makefile | 25 +++++++++++++++++++++++++
 py-fix-yahoo-finance/PLIST    | 10 ++++++++++
 py-fix-yahoo-finance/distinfo |  6 ++++++
 5 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 975c0800dd..4429df8a88 100644
--- a/Makefile
+++ b/Makefile
@@ -3111,6 +3111,7 @@ SUBDIR+=	py-filelock
 SUBDIR+=	py-fiona
 SUBDIR+=	py-fipy
 SUBDIR+=	py-fitsarray
+SUBDIR+=	py-fix-yahoo-finance
 SUBDIR+=	py-fjd
 SUBDIR+=	py-flavio
 SUBDIR+=	py-flipper
diff --git a/py-fix-yahoo-finance/DESCR b/py-fix-yahoo-finance/DESCR
new file mode 100644
index 0000000000..25f0ce969c
--- /dev/null
+++ b/py-fix-yahoo-finance/DESCR
@@ -0,0 +1,7 @@
+fix-yahoo-finance offers a temporary fix to the problem by scraping
+the data from Yahoo! finance using and return a Pandas DataFrame/Panel
+in the same format as pandas_datareader's get_data_yahoo().
+
+By basically "hijacking" pandas_datareader.data.get_data_yahoo()
+method, fix-yahoo-finance's implantation is easy and only requires to
+import fix_yahoo_finance into your code.
diff --git a/py-fix-yahoo-finance/Makefile b/py-fix-yahoo-finance/Makefile
new file mode 100644
index 0000000000..46c294a977
--- /dev/null
+++ b/py-fix-yahoo-finance/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	fix-yahoo-finance-0.0.19
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	finance
+MASTER_SITES=	${MASTER_SITE_PYPI:=f/fix-yahoo-finance/}
+
+MAINTAINER=	minskim%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/ranaroussi/fix-yahoo-finance
+COMMENT=	Yahoo! Finance Fix for py-pandas_datareader
+LICENSE=	gnu-lgpl-v3
+
+DEPENDS+=	${PYPKGPREFIX}-multitasking>=0.0.3:../../wip/py-multitasking
+DEPENDS+=	${PYPKGPREFIX}-numpy>=1.11.1:../../math/py-numpy
+DEPENDS+=	${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
+DEPENDS+=	${PYPKGPREFIX}-requests>=2.14.2:../../devel/py-requests
+
+USE_LANGUAGES=	# empty
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+	${RM} ${DESTDIR}${PREFIX}/bin/sample
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-fix-yahoo-finance/PLIST b/py-fix-yahoo-finance/PLIST
new file mode 100644
index 0000000000..c31b0ef86f
--- /dev/null
+++ b/py-fix-yahoo-finance/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/fix_yahoo_finance/__init__.py
+${PYSITELIB}/fix_yahoo_finance/__init__.pyo
+${PYSITELIB}/fix_yahoo_finance/__init__.pyc
diff --git a/py-fix-yahoo-finance/distinfo b/py-fix-yahoo-finance/distinfo
new file mode 100644
index 0000000000..cc54c17869
--- /dev/null
+++ b/py-fix-yahoo-finance/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/11/09 18:14:45 jihbed Exp $
+
+SHA1 (fix-yahoo-finance-0.0.19.tar.gz) = 964f7ab4b360b33c42ae23017c1fe8e196d39613
+RMD160 (fix-yahoo-finance-0.0.19.tar.gz) = fc54fd8e42abdfd968048e5e9de08b594d5156f4
+SHA512 (fix-yahoo-finance-0.0.19.tar.gz) = 5174d5c194c4375bb62c4640604d1e0ca9aefd7352035e8b7e9af3ea8682fb11df879287bd6ce93611ee026369b56bbe041079a110485666dbe698c7d205211b
+Size (fix-yahoo-finance-0.0.19.tar.gz) = 10352 bytes


Home | Main Index | Thread Index | Old Index