svn commit: r463867 - in head/math: . py-pandas-datareader
Yuri Victorovich
yuri at FreeBSD.org
Thu Mar 8 05:28:21 UTC 2018
Author: yuri
Date: Thu Mar 8 05:28:19 2018
New Revision: 463867
URL: https://svnweb.freebsd.org/changeset/ports/463867
Log:
New port: math/py-pandas-datareader: Data readers previously found in Pandas
PR: 226440
Submitted by: Shane <FreeBSD at ShaneWare.Biz>
Approved by: tcberner (mentor, implicit)
Added:
head/math/py-pandas-datareader/
head/math/py-pandas-datareader/Makefile (contents, props changed)
head/math/py-pandas-datareader/distinfo (contents, props changed)
head/math/py-pandas-datareader/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Thu Mar 8 05:19:30 2018 (r463866)
+++ head/math/Makefile Thu Mar 8 05:28:19 2018 (r463867)
@@ -655,6 +655,7 @@
SUBDIR += py-numpy
SUBDIR += py-nzmath
SUBDIR += py-pandas
+ SUBDIR += py-pandas-datareader
SUBDIR += py-patsy
SUBDIR += py-plastex
SUBDIR += py-probstat
Added: head/math/py-pandas-datareader/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pandas-datareader/Makefile Thu Mar 8 05:28:19 2018 (r463867)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= pandas-datareader
+DISTVERSION= 0.6.0
+CATEGORIES= math finance python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= FreeBSD at Shaneware.biz
+COMMENT= Data readers previously found in Pandas
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>0.19.2:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.3.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-file>0:www/py-requests-file@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-ftp>0:ftp/py-requests-ftp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+do-test: # some testcases are known to fail: https://github.com/pydata/pandas-datareader/issues/500
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest pandas_datareader/tests
+
+.include <bsd.port.mk>
Added: head/math/py-pandas-datareader/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pandas-datareader/distinfo Thu Mar 8 05:28:19 2018 (r463867)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1519808941
+SHA256 (pandas-datareader-0.6.0.tar.gz) = 47681336a3f6e6953b024bd73f8bb005f36e8df831ccce336e9fc601c587e3db
+SIZE (pandas-datareader-0.6.0.tar.gz) = 175013
Added: head/math/py-pandas-datareader/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pandas-datareader/pkg-descr Thu Mar 8 05:28:19 2018 (r463867)
@@ -0,0 +1,10 @@
+Extract financial data from a wide range of Internet sources into a Pandas
+DataFrame. This was previously found in Pandas (https://pandas.pydata.org) in
+pandas.io.data and pandas.io.wb.
+
+Where you previously used
+ from pandas.io import data, wb
+Now you should use
+ from pandas_datareader import data, wb
+
+WWW: https://github.com/pydata/pandas-datareader
More information about the svn-ports-all
mailing list