From 08ba2249225f5644f9dabf6cfdc4baf2405e1cad Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 31 Dec 2023 14:58:12 -0800 Subject: [PATCH] finance/py-stocksera: New port: Official Stocksera API --- finance/Makefile | 1 + finance/py-stocksera/Makefile | 24 ++++++++++++++++++++++++ finance/py-stocksera/distinfo | 3 +++ finance/py-stocksera/pkg-descr | 6 ++++++ 4 files changed, 34 insertions(+) create mode 100644 finance/py-stocksera/Makefile create mode 100644 finance/py-stocksera/distinfo create mode 100644 finance/py-stocksera/pkg-descr diff --git a/finance/Makefile b/finance/Makefile index 3a2c5faf5f36..3dfa7e5f605e 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -125,6 +125,7 @@ SUBDIR += py-python-bitcoinlib SUBDIR += py-python-obelisk SUBDIR += py-quantecon + SUBDIR += py-stocksera SUBDIR += py-stripe SUBDIR += py-ta-lib SUBDIR += py-technical diff --git a/finance/py-stocksera/Makefile b/finance/py-stocksera/Makefile new file mode 100644 index 000000000000..db871ebf9404 --- /dev/null +++ b/finance/py-stocksera/Makefile @@ -0,0 +1,24 @@ +PORTNAME= stocksera +DISTVERSION= 0.1.21 +CATEGORIES= finance python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Official Stocksera API +WWW= https://stocksera-api.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include diff --git a/finance/py-stocksera/distinfo b/finance/py-stocksera/distinfo new file mode 100644 index 000000000000..2a5394b9280f --- /dev/null +++ b/finance/py-stocksera/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704055104 +SHA256 (stocksera-0.1.21.tar.gz) = 3280137cfd3c02765c9450344e940f31d887f519433ac5a3709ce86710dd5cd8 +SIZE (stocksera-0.1.21.tar.gz) = 5360 diff --git a/finance/py-stocksera/pkg-descr b/finance/py-stocksera/pkg-descr new file mode 100644 index 000000000000..f85108d164c1 --- /dev/null +++ b/finance/py-stocksera/pkg-descr @@ -0,0 +1,6 @@ +The stocksera module is the official API for Stocksera. + +It provides access to sata sources: +Yahoo Finance, Finviz, Finnhub, FinancialModellingPrep, IBKR, Reddit, Finra, +SEC, CompaniesMarketCap, SenateStockWatcher, HouseStockWatcher, Polygon, +ARKFunds.io, Stocktwits, Twitter, Federal Reserve and much more...