2018-02-22 07:17:40 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ta-lib
|
|
|
|
DISTVERSIONPREFIX= TA_Lib-
|
|
|
|
DISTVERSION= 0.4.16
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 01:35:33 +00:00
|
|
|
PORTREVISION= 2
|
2018-02-22 07:17:40 +00:00
|
|
|
CATEGORIES= finance python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
|
|
|
COMMENT= Python wrapper for ta-lib (tools for market analysis)
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
|
|
LIB_DEPENDS= libta_lib.so:devel/ta-lib
|
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
|
|
|
|
MAKE_ENV= TA_INCLUDE_PATH="${LOCALBASE}/include"
|
|
|
|
|
|
|
|
USES= python
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= mrjbq7
|
|
|
|
USE_PYTHON= distutils cython autoplist
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/talib/_ta_lib.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|