pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/py-empyrical py-empyrical: updated to 0.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d221126cfe3
branches:  trunk
changeset: 397148:2d221126cfe3
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 17 15:24:34 2019 +0000

description:
py-empyrical: updated to 0.5.0

0.5.0
DEP: Deprecate all data reading functionality via pandas-datareader
* DEP: Deprecate all functions using pandas-datareader
* DOC: Update README with deprecation documentation
* STY: Markdown style
* STY: Markdown style again
* REV: revert previous commit
* STY: typo
* STY: consistent naming convention
* DEP: also deprecate any cacheing of data
* DEP: forgot to deprecate additional funcs
* REV: get_utc_timestamp should not be deprecated
* ENH: add function to compute returns from prices
* BUG: wrap import in try-except
* MAINT: update deprecation warning
* MAINT: move `simple_returns` func to `stats` module
* MAINT: don't raise deprecation warning for _1_bday_ago
* DOC: remove suggestions
* TST: added test for simple_returns
* MAINT: add simple_returns to init
* TST: fixed simple_returns test
* STY: use size, not shape
* TST: tests passing
* DOC: 1_bday_ago no longer deprecated

diffstat:

 finance/py-empyrical/Makefile |  20 ++++++++++++--------
 finance/py-empyrical/PLIST    |  12 +++++++++++-
 finance/py-empyrical/distinfo |  10 +++++-----
 3 files changed, 28 insertions(+), 14 deletions(-)

diffs (87 lines):

diff -r 0b16b8e3a995 -r 2d221126cfe3 finance/py-empyrical/Makefile
--- a/finance/py-empyrical/Makefile     Mon Jun 17 15:23:34 2019 +0000
+++ b/finance/py-empyrical/Makefile     Mon Jun 17 15:24:34 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/09/13 16:10:21 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2019/06/17 15:24:34 adam Exp $
 
-DISTNAME=      empyrical-0.3.2
+DISTNAME=      empyrical-0.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    finance
+CATEGORIES=    finance python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/empyrical/}
 
 MAINTAINER=    minskim%NetBSD.org@localhost
@@ -10,11 +10,15 @@
 COMMENT=       Common financial risk and performance metrics
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-bottleneck-[0-9]*:../../math/py-bottleneck
-DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
-DEPENDS+=      ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
-DEPENDS+=      ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-bottleneck>=1.0.0:../../math/py-bottleneck
+DEPENDS+=      ${PYPKGPREFIX}-numpy>=1.9.2:../../math/py-numpy
+DEPENDS+=      ${PYPKGPREFIX}-pandas>=0.16.1:../../math/py-pandas
+DEPENDS+=      ${PYPKGPREFIX}-pandas-datareader>=0.2:../../math/py-pandas-datareader
+DEPENDS+=      ${PYPKGPREFIX}-scipy>=0.15.1:../../math/py-scipy
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-scipy
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0b16b8e3a995 -r 2d221126cfe3 finance/py-empyrical/PLIST
--- a/finance/py-empyrical/PLIST        Mon Jun 17 15:23:34 2019 +0000
+++ b/finance/py-empyrical/PLIST        Mon Jun 17 15:24:34 2019 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/13 16:10:21 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/06/17 15:24:34 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/empyrical/__init__.py
@@ -10,6 +11,12 @@
 ${PYSITELIB}/empyrical/_version.py
 ${PYSITELIB}/empyrical/_version.pyc
 ${PYSITELIB}/empyrical/_version.pyo
+${PYSITELIB}/empyrical/deprecate.py
+${PYSITELIB}/empyrical/deprecate.pyc
+${PYSITELIB}/empyrical/deprecate.pyo
+${PYSITELIB}/empyrical/perf_attrib.py
+${PYSITELIB}/empyrical/perf_attrib.pyc
+${PYSITELIB}/empyrical/perf_attrib.pyo
 ${PYSITELIB}/empyrical/periods.py
 ${PYSITELIB}/empyrical/periods.pyc
 ${PYSITELIB}/empyrical/periods.pyo
@@ -19,6 +26,9 @@
 ${PYSITELIB}/empyrical/tests/__init__.py
 ${PYSITELIB}/empyrical/tests/__init__.pyc
 ${PYSITELIB}/empyrical/tests/__init__.pyo
+${PYSITELIB}/empyrical/tests/test_perf_attrib.py
+${PYSITELIB}/empyrical/tests/test_perf_attrib.pyc
+${PYSITELIB}/empyrical/tests/test_perf_attrib.pyo
 ${PYSITELIB}/empyrical/tests/test_stats.py
 ${PYSITELIB}/empyrical/tests/test_stats.pyc
 ${PYSITELIB}/empyrical/tests/test_stats.pyo
diff -r 0b16b8e3a995 -r 2d221126cfe3 finance/py-empyrical/distinfo
--- a/finance/py-empyrical/distinfo     Mon Jun 17 15:23:34 2019 +0000
+++ b/finance/py-empyrical/distinfo     Mon Jun 17 15:24:34 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/09/13 16:10:21 minskim Exp $
+$NetBSD: distinfo,v 1.2 2019/06/17 15:24:34 adam Exp $
 
-SHA1 (empyrical-0.3.2.tar.gz) = 34593901a04694785e9173c07b71be2a04e06005
-RMD160 (empyrical-0.3.2.tar.gz) = 54e1be05ce4789cfa51b110b4f17f692a4302139
-SHA512 (empyrical-0.3.2.tar.gz) = c79ff3210c19317bc51bdf331ffab8a599ae3e9d41b88acaffe83d1bba47587d9199d3811e4abfdec75245e08c51c2a6ae2eda6164736e4d1cc55e975df2c162
-Size (empyrical-0.3.2.tar.gz) = 37741 bytes
+SHA1 (empyrical-0.5.0.tar.gz) = 81ed040a605a08cbf60e0a4f3bc7f223d8224611
+RMD160 (empyrical-0.5.0.tar.gz) = 23ea59a927291050cef2b9528bf90a45b317116b
+SHA512 (empyrical-0.5.0.tar.gz) = 0715414e7781b9593aba4e748ad6198c4a9694423727286a437c5b8d68d11797d7b7ce475a96aa56a05916d10bc303effea964c3254a4fda3a8d9d26f3eacaaf
+Size (empyrical-0.5.0.tar.gz) = 49802 bytes



Home | Main Index | Thread Index | Old Index