From owner-dev-commits-ports-all@freebsd.org Mon Jun 14 17:46:10 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9FFAB6617B7; Mon, 14 Jun 2021 17:46:10 +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 4G3f4y3JQ0z3vKS; Mon, 14 Jun 2021 17:46:10 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3AA6D19283; Mon, 14 Jun 2021 17:46:10 +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 15EHkAnC052723; Mon, 14 Jun 2021 17:46:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15EHkAWF052722; Mon, 14 Jun 2021 17:46:10 GMT (envelope-from git) Date: Mon, 14 Jun 2021 17:46:10 GMT Message-Id: <202106141746.15EHkAWF052722@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: 5fe672cb886e - main - finance/py-yfinance: Add py-yfinance 0.1.59 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: 5fe672cb886e85503f3c98db1f3bedaae7031d09 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2021 17:46:10 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5fe672cb886e85503f3c98db1f3bedaae7031d09 commit 5fe672cb886e85503f3c98db1f3bedaae7031d09 Author: Po-Chuan Hsieh AuthorDate: 2021-06-14 17:32:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-06-14 17:32:33 +0000 finance/py-yfinance: Add py-yfinance 0.1.59 Ever since Yahoo! finance decommissioned their historical data API, many programs that relied on it to stop working. yfinance aimes to solve this problem by offering a reliable, threaded, and Pythonic way to download historical market data from Yahoo! finance. WWW: https://github.com/ranaroussi/yfinance --- finance/Makefile | 1 + finance/py-yfinance/Makefile | 26 ++++++++++++++++++++++++++ finance/py-yfinance/distinfo | 3 +++ finance/py-yfinance/pkg-descr | 6 ++++++ 4 files changed, 36 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 1e74de75b6fc..e1e690de2c2d 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -102,6 +102,7 @@ SUBDIR += py-stripe SUBDIR += py-ta-lib SUBDIR += py-vatnumber + SUBDIR += py-yfinance SUBDIR += py-ystockquote SUBDIR += qtbitcointrader SUBDIR += quantlib diff --git a/finance/py-yfinance/Makefile b/finance/py-yfinance/Makefile new file mode 100644 index 000000000000..9336a90ec680 --- /dev/null +++ b/finance/py-yfinance/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= yfinance +PORTVERSION= 0.1.59 +CATEGORIES= finance python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Yahoo! Finance market data downloader + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.5.1:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}multitasking>=0.0.7:devel/py-multitasking@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.15,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.24,1:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.20:www/py-requests@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/finance/py-yfinance/distinfo b/finance/py-yfinance/distinfo new file mode 100644 index 000000000000..c51b5986c0d1 --- /dev/null +++ b/finance/py-yfinance/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622213968 +SHA256 (yfinance-0.1.59.tar.gz) = fe4dc46807eceadc6604bf51ece7297b752dc5402a38a87385094fbfc7565fa0 +SIZE (yfinance-0.1.59.tar.gz) = 25783 diff --git a/finance/py-yfinance/pkg-descr b/finance/py-yfinance/pkg-descr new file mode 100644 index 000000000000..4295afb48ed7 --- /dev/null +++ b/finance/py-yfinance/pkg-descr @@ -0,0 +1,6 @@ +Ever since Yahoo! finance decommissioned their historical data API, many +programs that relied on it to stop working. yfinance aimes to solve this problem +by offering a reliable, threaded, and Pythonic way to download historical market +data from Yahoo! finance. + +WWW: https://github.com/ranaroussi/yfinance