From nobody Mon Dec 26 06:13:22 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 4NgSC707v3z1LjJT; Mon, 26 Dec 2022 06:13:23 +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 4NgSC66qzkz49vM; Mon, 26 Dec 2022 06:13:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672035203; 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=dZNxrumyF1vZWlWewsejYnh61vHrmAIVuyHAgsDnuQ0=; b=g3iCnqV6s/zxO6UC3A/uEwaeIFurqpZARYihzAzz6ALAxGTks20xHGbP6bpiXPicObKV6s e/IJiEUhaixOEShS1VsTjBEXsixaMG1LWTLWva74ddVkvnXIx1OPjHPV1tt7fvC5DcKbMW l9YRCzpAlFjcQ+c/DLPcB48v2ZeVL1vM9GAVxlfa1unoToNxVJGFWTGE91SYKdehBJx/0a FazomTdWOzGdcMEigWVpHHb6gfC+TVv8lSxQhjFtQwAISuHscKVYJZ3My+A3UjPs5kpebd Ey9dKxFSwUEgC+7x4UfeHlyoe8dTKfwTzSAWaAvZh0cgG94ODBoGkQOL4O8u1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672035203; 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=dZNxrumyF1vZWlWewsejYnh61vHrmAIVuyHAgsDnuQ0=; b=QZ6akjEP6U7LlT7fAa1uh56vi2/IAXmZpISD4Kif07LvUaNmnUzRhDlQzf0f63fkbbG4n2 6XG0qDT++27k41wU9mGyBCO7IZZovqmsor7uSpq+DvwZRwygTwdOXbXWov3L4++jrJO+qx VnlzlrzizzgUf7cRA2cfdQU4btNWXCxGoApt5hmqK6OEOX9x0xwQf2x/1KnOYmMtaPEvcZ OUxNNC6iYzgVHpA4zDS+cx58yEUVpCyfE3dvyP6Zx2kZ0uVbqHHuvRzxZbx7mHbZJHfjy+ 3CWFodeFfw5x40FQyd72xE9brRYCOhdE0oluQ6LDGdaGK+/k7Q7Jy8KsIFBoAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672035203; a=rsa-sha256; cv=none; b=u4/M2LZ68wroji+BNfZODJ66GF9tThua0Hcg4Al1pdjLNbC+sc/eyhvU0n34jxEVscPza7 mCoU2FHToXhyOTZF6+MqseiCJHrwzQu7B9wfiVtityJ9DDYC0xMhizRm2RlP7XMdvhB7Zk 15DSaVoqWeBr9powu+ODR7UHxoQRz4KQ8eAiP0SBOJapkMkmZuiqW00/+dLCWnOAlfD8S/ +7ULmKh2HXkhJbsmyVtzR4kszbgFSBMeiAHFzPxIMV3056LWlmnZARerdIAOoyiZbgoEPe Erh0GSrb/I9i23FpbRzkW8Y4Iq6n9pr3SHS2dBMsTYhJRwKv5X42Wz2Au3hgvg== 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 4NgSC65YfhzLYt; Mon, 26 Dec 2022 06:13:22 +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 2BQ6DMmi099867; Mon, 26 Dec 2022 06:13:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQ6DM7m099866; Mon, 26 Dec 2022 06:13:22 GMT (envelope-from git) Date: Mon, 26 Dec 2022 06:13:22 GMT Message-Id: <202212260613.2BQ6DM7m099866@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b63fed6cf6b8 - main - finance/py-TA-Lib: New port: Python wrapper for TA-LIB based on Cython 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b63fed6cf6b8338e6fa2df9c864b67d5b3504351 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b63fed6cf6b8338e6fa2df9c864b67d5b3504351 commit b63fed6cf6b8338e6fa2df9c864b67d5b3504351 Author: Yuri Victorovich AuthorDate: 2022-12-26 06:04:20 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-26 06:13:14 +0000 finance/py-TA-Lib: New port: Python wrapper for TA-LIB based on Cython --- finance/Makefile | 1 + finance/py-TA-Lib/Makefile | 28 ++++++++++++++++++++++++++++ finance/py-TA-Lib/distinfo | 3 +++ finance/py-TA-Lib/pkg-descr | 8 ++++++++ 4 files changed, 40 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 6935f53bd964..706d444c0c6f 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -96,6 +96,7 @@ SUBDIR += pear_Payment_DTA SUBDIR += prestashop SUBDIR += py-Nasdaq-Data-Link + SUBDIR += py-TA-Lib SUBDIR += py-backtrader SUBDIR += py-bitcoin SUBDIR += py-ebaysdk diff --git a/finance/py-TA-Lib/Makefile b/finance/py-TA-Lib/Makefile new file mode 100644 index 000000000000..daedb2d94f4d --- /dev/null +++ b/finance/py-TA-Lib/Makefile @@ -0,0 +1,28 @@ +PORTNAME= TA-Lib # provides Python namespace 'talib' +DISTVERSION= 0.4.25 +CATEGORIES= finance python +MASTER_SITES= CHEESESHOP +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 diff --git a/finance/py-TA-Lib/distinfo b/finance/py-TA-Lib/distinfo new file mode 100644 index 000000000000..f3a5ea859701 --- /dev/null +++ b/finance/py-TA-Lib/distinfo @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..464200212852 --- /dev/null +++ b/finance/py-TA-Lib/pkg-descr @@ -0,0 +1,8 @@ +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