finance/py-investiny: New port: Investiny is faster, lighter, and easier to use than investpy

This commit is contained in:
Yuri Victorovich 2022-12-24 17:01:09 -08:00
parent b983182b6e
commit 97671ac780
4 changed files with 34 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1671929270
SHA256 (investiny-0.7.2.tar.gz) = cdbcfea73f93df20fb3c9d7fd6ea58e5f7e248ba0d130167d27f606cc09e76bf
SIZE (investiny-0.7.2.tar.gz) = 9610

View File

@ -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.