diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-12-25 01:01:09 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-12-25 01:22:58 +0000 |
| commit | 97671ac7802682b95181b0174af4ede0afa05e0a (patch) | |
| tree | 24790510b49af427ee90b62393313bb6b769989b | |
| parent | b983182b6e98672226815b864fe3948da00026ad (diff) | |
finance/py-investiny: New port: Investiny is faster, lighter, and easier to use than investpy
| -rw-r--r-- | finance/Makefile | 1 | ||||
| -rw-r--r-- | finance/py-investiny/Makefile | 27 | ||||
| -rw-r--r-- | finance/py-investiny/distinfo | 3 | ||||
| -rw-r--r-- | finance/py-investiny/pkg-descr | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile index b28c824bca36..3eca5c92f442 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -100,6 +100,7 @@ SUBDIR += py-bitcoin SUBDIR += py-ebaysdk SUBDIR += py-fundamentalanalysis + SUBDIR += py-investiny SUBDIR += py-mplfinance SUBDIR += py-ofxparse SUBDIR += py-pycoin diff --git a/finance/py-investiny/Makefile b/finance/py-investiny/Makefile new file mode 100644 index 000000000000..581ccb54d56d --- /dev/null +++ b/finance/py-investiny/Makefile @@ -0,0 +1,27 @@ +PORTNAME= investiny +PORTVERSION= 0.7.2 +CATEGORIES= finance python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Investiny is faster, lighter, and easier to use than investpy +WWW= https://alvarobartt.github.io/investiny/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.15.0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=1.10.2:devel/py-pydantic@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +post-patch: + @${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/finance/py-investiny/distinfo b/finance/py-investiny/distinfo new file mode 100644 index 000000000000..788a60a2af5b --- /dev/null +++ b/finance/py-investiny/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1671929270 +SHA256 (investiny-0.7.2.tar.gz) = cdbcfea73f93df20fb3c9d7fd6ea58e5f7e248ba0d130167d27f606cc09e76bf +SIZE (investiny-0.7.2.tar.gz) = 9610 diff --git a/finance/py-investiny/pkg-descr b/finance/py-investiny/pkg-descr new file mode 100644 index 000000000000..bcd8a7d7cfeb --- /dev/null +++ b/finance/py-investiny/pkg-descr @@ -0,0 +1,3 @@ +investiny has been created due to the latest Investing.com changes +in their API protection protocols, as now their main APIs are +Cloudflare V2 protected. |
