git: a132e6c42f6d - main - finance/py-ta-lib: update 0.4.31 → 0.4.32

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 05:17:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a132e6c42f6d131bc3e237e29110f9095ec529f8

commit a132e6c42f6d131bc3e237e29110f9095ec529f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-13 01:48:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-13 05:17:44 +0000

    finance/py-ta-lib: update 0.4.31 → 0.4.32
    
    Reported by:    portscout
---
 finance/py-ta-lib/Makefile | 15 ++++++++++-----
 finance/py-ta-lib/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/finance/py-ta-lib/Makefile b/finance/py-ta-lib/Makefile
index 1a12e9c5ea7a..296c476c551c 100644
--- a/finance/py-ta-lib/Makefile
+++ b/finance/py-ta-lib/Makefile
@@ -1,13 +1,14 @@
 PORTNAME=	ta-lib # provides Python namespace 'talib'
-DISTVERSION=	0.4.31
+DISTVERSIONPREFIX=	TA_Lib-
+DISTVERSION=	0.4.32
 CATEGORIES=	finance python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # tests fail whe PYPI is used, see https://github.com/TA-Lib/ta-lib-python/issues/663
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	TA-Lib-${PORTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Python wrapper for TA-Lib (Technical Analysis Library)
-WWW=		https://mrjbq7.github.io/ta-lib/
+WWW=		https://ta-lib.github.io/ta-lib-python/
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -18,9 +19,13 @@ RUN_DEPENDS=	${PYNUMPY}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}polars>0:misc/py-polars@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils cython autoplist pytest # pytest fails to find the library, see https://github.com/pytest-dev/pytest/issues/10885
+USE_PYTHON=	distutils cython autoplist pytest
+ 
+USE_GITHUB=	yes
+GH_ACCOUNT=	TA-Lib
+GH_PROJECT=	ta-lib-python
 
-WRKSRC=		${WRKDIR}/ta_lib-${DISTVERSION}
+xWRKSRC=		${WRKDIR}/ta_lib-${DISTVERSION}
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/tests
diff --git a/finance/py-ta-lib/distinfo b/finance/py-ta-lib/distinfo
index 042777697409..92bf337315a2 100644
--- a/finance/py-ta-lib/distinfo
+++ b/finance/py-ta-lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719132052
-SHA256 (TA-Lib-0.4.31.tar.gz) = f2a5002ff2359c370316066f28d870d8bbbaf38bb5ada23167675fe231874c93
-SIZE (TA-Lib-0.4.31.tar.gz) = 368501
+TIMESTAMP = 1720830530
+SHA256 (TA-Lib-ta-lib-python-TA_Lib-0.4.32_GH0.tar.gz) = 34b03fa32465632b5eabdd2ea0278abf8270b0b07512d02e1e35443a09689abe
+SIZE (TA-Lib-ta-lib-python-TA_Lib-0.4.32_GH0.tar.gz) = 416946