freebsd-ports/finance/py-alpha-vantage/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

32 lines
861 B
Makefile

PORTNAME= alpha-vantage
DISTVERSION= 2.3.1
CATEGORIES= finance python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Module to get stock data from the Alpha Vantage Api
WWW= https://github.com/RomelTorres/alpha_vantage
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python:3.8+
USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/RomelTorres/alpha_vantage/issues/340
USE_GITHUB= yes
GH_ACCOUNT= RomelTorres
GH_PROJECT= alpha_vantage
NO_ARCH= yes
TEST_WRLSRC= ${WRKSRC}/test_alpha_vantage
.include <bsd.port.mk>