git: 6a12c628c685 - main - finance/py-yahooquery: New port: Python wrapper for an unofficial Yahoo Finance API
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Dec 2023 23:02:42 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a12c628c6858a776b60a8c55dafb04808978e80 commit 6a12c628c6858a776b60a8c55dafb04808978e80 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-31 22:56:09 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-31 23:02:34 +0000 finance/py-yahooquery: New port: Python wrapper for an unofficial Yahoo Finance API --- finance/Makefile | 1 + finance/py-yahooquery/Makefile | 28 ++++++++++++++++++++++++++++ finance/py-yahooquery/distinfo | 3 +++ finance/py-yahooquery/pkg-descr | 3 +++ 4 files changed, 35 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 196415199fc0..3a2c5faf5f36 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -131,6 +131,7 @@ SUBDIR += py-tradingview-ta SUBDIR += py-valinvest SUBDIR += py-vatnumber + SUBDIR += py-yahooquery SUBDIR += py-yfinance SUBDIR += py-ystockquote SUBDIR += qtbitcointrader diff --git a/finance/py-yahooquery/Makefile b/finance/py-yahooquery/Makefile new file mode 100644 index 000000000000..25ca0a70c6b6 --- /dev/null +++ b/finance/py-yahooquery/Makefile @@ -0,0 +1,28 @@ +PORTNAME= yahooquery +DISTVERSION= 2.3.7 +CATEGORIES= finance python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python wrapper for an unofficial Yahoo Finance API +WWW= https://yahooquery.dpguthrie.com/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.12.2:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=4.9.3:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=2.0.3:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-futures>=1.0.1:www/py-requests-futures@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=4.65.0:misc/py-tqdm@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/finance/py-yahooquery/distinfo b/finance/py-yahooquery/distinfo new file mode 100644 index 000000000000..02c569eb77f0 --- /dev/null +++ b/finance/py-yahooquery/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704051491 +SHA256 (yahooquery-2.3.7.tar.gz) = edb0db22316be7b0f4cdb051c3dfacaeaafef810ace92622cf8254cf5bb81b06 +SIZE (yahooquery-2.3.7.tar.gz) = 50164 diff --git a/finance/py-yahooquery/pkg-descr b/finance/py-yahooquery/pkg-descr new file mode 100644 index 000000000000..40368d77da5a --- /dev/null +++ b/finance/py-yahooquery/pkg-descr @@ -0,0 +1,3 @@ +Yahooquery is a python interface to unofficial Yahoo Finance API endpoints. +The package allows a user to retrieve nearly all the data visible via the +Yahoo Finance front-end.