Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
27 lines
641 B
Makefile
27 lines
641 B
Makefile
PORTNAME= fredapi
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.5.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= finance python
|
|
#MASTER_SITES= PYPI # no tests
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python API for Federal Reserve Economic Data (FRED) from St. Louis Fed
|
|
WWW= https://github.com/mortada/fredapi
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/mortada/fredapi/issues/60
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mortada
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|