diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-08-16 12:59:30 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-08-16 13:00:16 -0700 |
commit | 05014c95ec14834d4116ca0b1e3f02a4f06c65c4 (patch) | |
tree | 54043a099ae577223d03e4cfd9d33372cdbea2f0 /finance | |
parent | www/firefox: update to 104.0 (rc2) (diff) |
finance/py-Nasdaq-Data-Link: New port: Package for Nasdaq Data Link API access
Diffstat (limited to 'finance')
-rw-r--r-- | finance/Makefile | 1 | ||||
-rw-r--r-- | finance/py-Nasdaq-Data-Link/Makefile | 36 | ||||
-rw-r--r-- | finance/py-Nasdaq-Data-Link/distinfo | 3 | ||||
-rw-r--r-- | finance/py-Nasdaq-Data-Link/pkg-descr | 3 |
4 files changed, 43 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile index f1b566cff38f..44f66db5e402 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -93,6 +93,7 @@ SUBDIR += p5-PayflowPro SUBDIR += pear_Payment_DTA SUBDIR += prestashop + SUBDIR += py-Nasdaq-Data-Link SUBDIR += py-backtrader SUBDIR += py-bitcoin SUBDIR += py-ebaysdk diff --git a/finance/py-Nasdaq-Data-Link/Makefile b/finance/py-Nasdaq-Data-Link/Makefile new file mode 100644 index 000000000000..48f7730bdb3a --- /dev/null +++ b/finance/py-Nasdaq-Data-Link/Makefile @@ -0,0 +1,36 @@ +PORTNAME= Nasdaq-Data-Link +DISTVERSION= 1.0.2 +CATEGORIES= finance +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Package for Nasdaq Data Link API access + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.14:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpretty>0:www/py-httpretty@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}factory-boy>0:devel/py-factory-boy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-flake8>0:devel/py-pytest-flake8@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils pytest # tests are broken, see https://github.com/Nasdaq/data-link-python/issues/24 + +USE_GITHUB= yes +GH_ACCOUNT= Nasdaq +GH_PROJECT= data-link-python + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/finance/py-Nasdaq-Data-Link/distinfo b/finance/py-Nasdaq-Data-Link/distinfo new file mode 100644 index 000000000000..e271d26fc892 --- /dev/null +++ b/finance/py-Nasdaq-Data-Link/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660063619 +SHA256 (Nasdaq-data-link-python-1.0.2_GH0.tar.gz) = 596fa89b61c6a42376562f2819563e27c7516efe2b36a3d42a0eaf63e75bb762 +SIZE (Nasdaq-data-link-python-1.0.2_GH0.tar.gz) = 40100 diff --git a/finance/py-Nasdaq-Data-Link/pkg-descr b/finance/py-Nasdaq-Data-Link/pkg-descr new file mode 100644 index 000000000000..12632a10ee21 --- /dev/null +++ b/finance/py-Nasdaq-Data-Link/pkg-descr @@ -0,0 +1,3 @@ +Python library for Nasdaq Data Link's RESTful API. + +WWW: https://github.com/Nasdaq/data-link-python |