git: 38dfb18e110b - main - finance/py-TA-Lib: Remove duplicate in favor of finance/py-ta-lib

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 06:39:19 UTC
The branch main has been updated by yuri:

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

commit 38dfb18e110b7b4b9646228592d23ba899755f44
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-13 06:36:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-13 06:39:14 +0000

    finance/py-TA-Lib: Remove duplicate in favor of finance/py-ta-lib
    
    PR:             268751
    Reported by:    asomers@
---
 MOVED                         |  1 +
 finance/Makefile              |  1 -
 finance/py-TA-Lib/Makefile    | 28 ----------------------------
 finance/py-TA-Lib/distinfo    |  3 ---
 finance/py-TA-Lib/pkg-descr   |  8 --------
 finance/py-pandas-ta/Makefile |  3 ++-
 6 files changed, 3 insertions(+), 41 deletions(-)

diff --git a/MOVED b/MOVED
index d9a8cc1e856b..8095ef5a282d 100644
--- a/MOVED
+++ b/MOVED
@@ -17763,3 +17763,4 @@ x11-toolkits/gtkmathview||2023-01-30|Depends on EOLed gtk+20, not depended on in
 x11-toolkits/vdk||2023-01-30|Depends on EOLed gtk+20, not depended on in the ports tree
 audio/libgpod-sharp||2023-02-01|Depends on EOLed gtk+20, not depended on in the ports tree
 x11/plasma5-kwayland-server|x11-wm/plasma5-kwin|2023-02-07|Reintegrated into x11-wm/plasma5-kwin
+finance/py-TA-Lib|finance/py-ta-lib|2023-02-12|Remove duplicate port
diff --git a/finance/Makefile b/finance/Makefile
index d464035247c4..84f66ccadd4b 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -97,7 +97,6 @@
     SUBDIR += pear_Payment_DTA
     SUBDIR += prestashop
     SUBDIR += py-Nasdaq-Data-Link
-    SUBDIR += py-TA-Lib
     SUBDIR += py-alpha-vantage
     SUBDIR += py-backtrader
     SUBDIR += py-bitcoin
diff --git a/finance/py-TA-Lib/Makefile b/finance/py-TA-Lib/Makefile
deleted file mode 100644
index c9fbbadf28ab..000000000000
--- a/finance/py-TA-Lib/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME=	TA-Lib # provides Python namespace 'talib'
-DISTVERSION=	0.4.25
-CATEGORIES=	finance python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Python wrapper for TA-LIB based on Cython
-WWW=		https://mrjbq7.github.io/ta-lib/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	${PYNUMPY}
-LIB_DEPENDS=	libta_lib.so:devel/ta-lib
-RUN_DEPENDS=	${PYNUMPY}
-#TEST_DEPENDS=	misc/py-polars - fails to build, see https://github.com/rust-lang/hashbrown/issues/377
-
-USES=		python
-USE_PYTHON=	distutils cython autoplist pytest
-
-TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-TEST_WRKSRC=	${WRKSRC}/talib
-
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/talib/_ta_lib${PYTHON_EXT_SUFFIX}.so
-
-.include <bsd.port.mk>
diff --git a/finance/py-TA-Lib/distinfo b/finance/py-TA-Lib/distinfo
deleted file mode 100644
index f3a5ea859701..000000000000
--- a/finance/py-TA-Lib/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1672030248
-SHA256 (TA-Lib-0.4.25.tar.gz) = 6c51c09fcc138367483bcce6db81329ae6851e6ca1a8ac1e50732e443d15602b
-SIZE (TA-Lib-0.4.25.tar.gz) = 271960
diff --git a/finance/py-TA-Lib/pkg-descr b/finance/py-TA-Lib/pkg-descr
deleted file mode 100644
index 464200212852..000000000000
--- a/finance/py-TA-Lib/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Python-TA-Lib is a Python wrapper for TA-LIB based on Cython instead of SWIG.
-
-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
diff --git a/finance/py-pandas-ta/Makefile b/finance/py-pandas-ta/Makefile
index f8b602e3d64c..508202daef68 100644
--- a/finance/py-pandas-ta/Makefile
+++ b/finance/py-pandas-ta/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pandas-ta
 DISTVERSION=	0.3.14
+PORTREVISION=	1
 CATEGORIES=	finance python
 #MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,7 @@ PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${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}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ta-lib>0:finance/py-ta-lib@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	distutils autoplist pytest # 1 test fails, see https://github.com/twopirllc/pandas-ta/issues/631