mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
finance/py-backtrader: add ta-lib support
PR: 238972 Submitted by: m.tsatsenko@gmail.com (maintainer)
This commit is contained in:
parent
110b1d864b
commit
0e897f6f30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506019
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= backtrader
|
||||
PORTVERSION= 1.9.74.123
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= finance python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
|
@ -18,11 +19,13 @@ USES= python
|
|||
USE_GITHUB= yes # Does not distribute sdist via PyPI
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
OPTIONS_DEFINE= PLOTTING
|
||||
OPTIONS_DEFINE= PLOTTING TALIB
|
||||
|
||||
PLOTTING_DESC= Support graphical plotting output
|
||||
TALIB_DESC= ta-lib support via finance/py-ta-lib
|
||||
|
||||
PLOTTING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
|
||||
TALIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ta-lib>0:finance/py-ta-lib@${PY_FLAVOR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue