From nobody Sat Sep 10 13:04:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MPtNR726Zz4c0gL; Sat, 10 Sep 2022 13:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPtNR5sy8z3pt0; Sat, 10 Sep 2022 13:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662815047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s8P7CvdFPnm0nW+dprEc6y5VZsG1oZJNbhDpR55e9dU=; b=fU3ujEG2s0lQAR8QgEw48UFHDfuA3xO6wsotTTwlsJGUMe3t/VfIf/DqqBXHqIZX8bbIsb t7WW+ZpZ4QP7Wm/E9LNRnYYQA2lOUn+j/wWcuOrStxgKAEdypToJCwxKxiWNVq7DzgQckK SzaWDuTq9Y1a4rb2GaO28QIZyl9IPwZ6AvuVvOLVJvhZcko8Nlb6bloQcAXlSvOORLmK8Q Lek9Nn5DhOxh6AvKDCvi/4hACp8LNqVJLKwqctTZVziUjs8kLjzScLsV+9yytu8vDxQ0ic V3A7K/Xk/I/37RSqdQ6y9RQWBZPK99L1hGGWkZ3GQb94wXLWwtW7Hf3L2Y4T4Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MPtNR4Tw2zJpK; Sat, 10 Sep 2022 13:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28AD47rt027912; Sat, 10 Sep 2022 13:04:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28AD47Ru027911; Sat, 10 Sep 2022 13:04:07 GMT (envelope-from git) Date: Sat, 10 Sep 2022 13:04:07 GMT Message-Id: <202209101304.28AD47Ru027911@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2bc6062e5d37 - main - finance/py-ta-lib: Update to 0.4.25 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2bc6062e5d37ee9204e07fce8b86ba8a7e11dcfa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662815047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s8P7CvdFPnm0nW+dprEc6y5VZsG1oZJNbhDpR55e9dU=; b=Qm4a0ptWug5xc6hwXE0OOo+Cgvc7eo6BpujEFv6F/NYi8hwpfoH+qXR2J75wuRCfTJtiv0 Rma/+22tI5Gadi64rX/H5eDUfO6PTOdObR2mb8msRGHrQZNVpyCNsfCJh7P+ZfNw8XXQgQ rRvu4Kbd5dc0JDEmQaA8BRGXBHGnhUDNtnnCU1aULemVPbiFnfMqTgis84debCcvBuJMcs jaw2cD2PtDJUNV4icC1PSTIQ1OCgpHeXN6sQR9rolo8uAezXnvXBVsMnLduL7R4jciue1E mUDoa5z12kHuynCYKUgB4BDCP1Gc0vESslUYeB76PthZ5ygxNRa9tj5jxkJoFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662815047; a=rsa-sha256; cv=none; b=c1RcLtGJ69Z3HBQuB09mkJHa2eYZQ2YD4F6131KWeYqN+Mu6nzcVqyNVZezVira8OQhM7M 2koGuzRXsi2SepSOAsD3Lmo6jv9Yv26AIyDe+5Z6T3A2h8ZLCImTlxNFBAQ46RQ7jG+x7W /DTorJJcGMnMqNv8AeQEfI+GLNMSnyQz3XvNYwAI2vF5zkZf54B5NdjMS5xhL1xM+29VKq ecei04R12KJs6Bx6jETkwjvjHLjuNNfxigCmDVXEWGQWTlDgabhGVDOIkqIV2dkyl5Mk9Z otOVYm9kFwEcjAAvw83Cn5QRplpy0S2sDVrT3SFQvgDc89So9UyjPhrRcRE4rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bc6062e5d37ee9204e07fce8b86ba8a7e11dcfa commit 2bc6062e5d37ee9204e07fce8b86ba8a7e11dcfa Author: Po-Chuan Hsieh AuthorDate: 2022-09-10 12:53:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-09-10 13:02:46 +0000 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 --- finance/py-ta-lib/Makefile | 22 +++++++++------------- finance/py-ta-lib/distinfo | 6 +++--- finance/py-ta-lib/pkg-descr | 19 ++++++++++++++++--- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/finance/py-ta-lib/Makefile b/finance/py-ta-lib/Makefile index 80437308c9da..650af6fa98d6 100644 --- a/finance/py-ta-lib/Makefile +++ b/finance/py-ta-lib/Makefile @@ -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 diff --git a/finance/py-ta-lib/distinfo b/finance/py-ta-lib/distinfo index c982206f20a2..7267ccc251a8 100644 --- a/finance/py-ta-lib/distinfo +++ b/finance/py-ta-lib/distinfo @@ -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 diff --git a/finance/py-ta-lib/pkg-descr b/finance/py-ta-lib/pkg-descr index c5fee2daaef8..3b8987f36de1 100644 --- a/finance/py-ta-lib/pkg-descr +++ b/finance/py-ta-lib/pkg-descr @@ -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.