From nobody Mon Dec 26 06:13:24 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 4NgSC92GrXz1LjTB; Mon, 26 Dec 2022 06:13:25 +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 4NgSC91T63z49n7; Mon, 26 Dec 2022 06:13:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672035205; 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=NaKpTTir5bTOADNcK8LaR1Byhq2RP3HxH/V66M5tFtU=; b=HGVH63s+TjNMmxCKJ1c9dnxm20KNcdyLBk8y4T5UpM8JogC7lQ+UcJyWIzuvIVqvRFAlFg eRlP4KjLpbzjGQbhykkx8Pi0gNnLnbJ2hbK640TLpuiiaZTY8M4tcIBgkY7Dy83JHcRc/1 jtOCDY1sbWl5DOcRnyJd0/c8feu6t0ZQItoPOWMBRK0GysVgGDExFKfUviCHFCbWhz88YB u8u+cyrsQtF1lbFwfdKoDtEKy9+9u7gvbaABQoNm6bPHyBCNzeAQl+xGWd8rh+u4g6i90p KaOjpGIli+s2IxsBJpv77WK/NtM0tKx/ZVFM9zYMzke0pTxOq0xtXWF/j5xR7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672035205; 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=NaKpTTir5bTOADNcK8LaR1Byhq2RP3HxH/V66M5tFtU=; b=NoIxqNd+d688bSqxTcp4darC/wlDN30WxO/SYXxyZe0U4tCJNqqlF6f3m1ilzZqWwZWoY1 kzjsX+8jagIxUZdcgJ0AvtRzdeGDvMkWx9gxjO/rzCAjChSuxiuYJNFSR4cQ7gx/QXgPYy amiDq41EaZHS8j+8+B6iXNWSxUl2oKU2SdimDhZKWdHiWE6zen9dv1f+ZQ+gHcjsRBWq7q bx9iFT5bL5pTH+sQJSJmiPhpOA4gR0C9TUs3Ah9QkhhjrhIFJ0gpPDpVNwlsaWi0UlDVGe 7/7pRBczB6noYG2OnppxSpYKv8fTEUAbxkyC4w8lDX5ck5SU7FsWzA1pROpfMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672035205; a=rsa-sha256; cv=none; b=k5E8wvFV3bS9QUfRMkjj5qT7+fDzv9+RzFsB18Ti51o6ni4xGqe14nqc8Q8XgKsWQl6fqf jxVPzgXPpjHKLmDYNr3yeMx06f59TSGPjXfEfNXjOwZMRsRxjqCZgAnVZTvMUpC6lWKASt loDmIZVKcbpV+wSsoApferwBkWUNunP3GUAoJSB4iy8bLhaq9qP3pDq54rOrkmfxkptwuj KJLGiLimq94Wr8QjKJ83O5H9lb0GAB+SacBV6X3dEyOpgyfG4r5exvIfvsahJQdvjrMqLr OjkXVIMPkUlillLdKTammimZpW5HmNBxeaaRyLO9czjS8l9yZDzJ9V9c6d8/gg== 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 4NgSC90M4RzLYv; Mon, 26 Dec 2022 06:13:25 +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 2BQ6DOqH099915; Mon, 26 Dec 2022 06:13:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQ6DO2i099914; Mon, 26 Dec 2022 06:13:24 GMT (envelope-from git) Date: Mon, 26 Dec 2022 06:13:24 GMT Message-Id: <202212260613.2BQ6DO2i099914@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: 423285aa50d3 - main - finance/py-pandas-ta: New port: Market Technical Analysis indicators in Python and Pandas 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: 423285aa50d311fa092860586e676953c7920306 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=423285aa50d311fa092860586e676953c7920306 commit 423285aa50d311fa092860586e676953c7920306 Author: Yuri Victorovich AuthorDate: 2022-12-26 06:12:44 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-26 06:13:15 +0000 finance/py-pandas-ta: New port: Market Technical Analysis indicators in Python and Pandas --- finance/Makefile | 1 + finance/py-pandas-ta/Makefile | 32 ++++++++++++++++++++++++++++++++ finance/py-pandas-ta/distinfo | 3 +++ finance/py-pandas-ta/pkg-descr | 7 +++++++ 4 files changed, 43 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 706d444c0c6f..e595d128ce5e 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -111,6 +111,7 @@ SUBDIR += py-mplfinance SUBDIR += py-ofxparse SUBDIR += py-pandas-market-calendars + SUBDIR += py-pandas-ta SUBDIR += py-pycoin SUBDIR += py-python-bitcoinlib SUBDIR += py-python-obelisk diff --git a/finance/py-pandas-ta/Makefile b/finance/py-pandas-ta/Makefile new file mode 100644 index 000000000000..99a9a518145b --- /dev/null +++ b/finance/py-pandas-ta/Makefile @@ -0,0 +1,32 @@ +PORTNAME= pandas-ta +DISTVERSION= 0.3.14 +CATEGORIES= finance python +#MASTER_SITES= CHEESESHOP # 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}dateutil>0:devel/py-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:3.6+ +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 diff --git a/finance/py-pandas-ta/distinfo b/finance/py-pandas-ta/distinfo new file mode 100644 index 000000000000..9aa39af76979 --- /dev/null +++ b/finance/py-pandas-ta/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672029264 +SHA256 (twopirllc-pandas-ta-0.3.14_GH0.tar.gz) = 7f6e22d30b363711865c6d4a314e4b9cff475c3e5cd3c5d31435f9041e2fb27c +SIZE (twopirllc-pandas-ta-0.3.14_GH0.tar.gz) = 3057395 diff --git a/finance/py-pandas-ta/pkg-descr b/finance/py-pandas-ta/pkg-descr new file mode 100644 index 000000000000..35ca65dce808 --- /dev/null +++ b/finance/py-pandas-ta/pkg-descr @@ -0,0 +1,7 @@ +Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages +the Pandas package with more than 130 Indicators and Utility functions and more +than 60 TA Lib Candlestick Patterns. Many commonly used indicators are included, +such as: Candle Pattern(cdl_pattern), Simple Moving Average (sma) Moving Average +Convergence Divergence (macd), Hull Exponential Moving Average (hma), Bollinger +Bands (bbands), On-Balance Volume (obv), Aroon & Aroon Oscillator (aroon), +Squeeze (squeeze) and many more.