diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-12-31 22:56:09 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-12-31 23:02:34 +0000 |
commit | 6a12c628c6858a776b60a8c55dafb04808978e80 (patch) | |
tree | 7b0fed86095074d42cf18bb31470ca057da5449c | |
parent | b1d7e1fda13a4753a7091fdfc23aae16c6000b7e (diff) | |
download | ports-6a12c628c6858a776b60a8c55dafb04808978e80.tar.gz ports-6a12c628c6858a776b60a8c55dafb04808978e80.zip |
finance/py-yahooquery: New port: Python wrapper for an unofficial Yahoo Finance API
-rw-r--r-- | finance/Makefile | 1 | ||||
-rw-r--r-- | finance/py-yahooquery/Makefile | 28 | ||||
-rw-r--r-- | finance/py-yahooquery/distinfo | 3 | ||||
-rw-r--r-- | finance/py-yahooquery/pkg-descr | 3 |
4 files changed, 35 insertions, 0 deletions
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. |