ports/finance/py-pandas-ta/Makefile
Po-Chuan Hsieh 84a372ad5f
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of PKGNAMEPREFIX for *_DEPENDS
2024-04-13 22:47:51 +08:00

33 lines
1 KiB
Makefile

PORTNAME= pandas-ta
DISTVERSION= 0.3.14
PORTREVISION= 3
CATEGORIES= finance python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Market Technical Analysis indicators in Python and Pandas
WWW= https://twopirllc.github.io/pandas-ta/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=2021.1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ta-lib>0:finance/py-ta-lib@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/twopirllc/pandas-ta/issues/631
USE_GITHUB= yes
GH_ACCOUNT= twopirllc
NO_ARCH= yes
.include <bsd.port.mk>