finance/py-ta-lib: Update to 0.4.25

- Change MASTER_SITES to CHEESESHOP
- Update COMMENT
- Remove PYNUMPY
- Update pkg-descr
- Take maintainership

Changes:	https://github.com/mrjbq7/ta-lib/blob/master/CHANGELOG
This commit is contained in:
Po-Chuan Hsieh 2022-09-10 20:53:31 +08:00
parent e414d91050
commit 2bc6062e5d
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 28 additions and 19 deletions

View file

@ -1,29 +1,25 @@
PORTNAME= ta-lib
DISTVERSIONPREFIX= TA_Lib-
DISTVERSION= 0.4.24
PORTVERSION= 0.4.25
CATEGORIES= finance python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TA-Lib-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python wrapper for ta-lib (tools for market analysis)
COMMENT= Python wrapper for TA-Lib (Technical Analysis Library)
WWW= https://mrjbq7.github.io/ta-lib/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= libta_lib.so:devel/ta-lib
RUN_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python:3.6+
MAKE_ENV= TA_INCLUDE_PATH="${LOCALBASE}/include"
USE_GITHUB= yes
GH_ACCOUNT= mrjbq7
USE_PYTHON= distutils cython autoplist
USES= localbase python:3.7+
USE_PYTHON= autoplist concurrent cython distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/talib/_ta_lib*.so
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1644165462
SHA256 (mrjbq7-ta-lib-TA_Lib-0.4.24_GH0.tar.gz) = 63733a3fde73b0ecea3af931c90b0ff95589e9fdb3af5991058933622d6e5434
SIZE (mrjbq7-ta-lib-TA_Lib-0.4.24_GH0.tar.gz) = 339618
TIMESTAMP = 1662558054
SHA256 (TA-Lib-0.4.25.tar.gz) = 6c51c09fcc138367483bcce6db81329ae6851e6ca1a8ac1e50732e443d15602b
SIZE (TA-Lib-0.4.25.tar.gz) = 271960

View file

@ -1,4 +1,17 @@
py-ta-lib is a Python wrapper for TA-LIB (a marketing analysis library)
based on Cython.
This is a Python wrapper for TA-LIB based on Cython instead of SWIG. From the
homepage:
It is intended to perform marketing analysis in Python programs.
TA-Lib is widely used by trading software developers requiring to perform
technical analysis of financial market data.
- Includes 150+ indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands,
etc.
- Candlestick pattern recognition
- Open-source API for C/C++, Java, Perl, Python and 100% Managed .NET
The original Python bindings included with TA-Lib use SWIG which unfortunately
are difficult to install and aren't as efficient as they could be. Therefore
this project uses Cython and Numpy to efficiently and cleanly bind to TA-Lib --
producing results 2-4 times faster than the SWIG interface.
In addition, this project also supports the use of the Polars and Pandas
libraries.