34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
PORTNAME= pandas-market-calendars
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 4.3.1
|
|
CATEGORIES= finance python
|
|
#MASTER_SITES= PYPI # no tests
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Market and exchange trading calendars for pandas
|
|
WWW= https://github.com/rsheftel/pandas_market_calendars
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}exchange-calendars>=3.3:finance/py-exchange-calendars@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pandas>=1.1:math/py-pandas@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
|
|
${PY_DEPENDS}
|
|
RUN_DEPENDS= ${PY_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 autoplist pytest # 4 tests fail, see https://github.com/rsheftel/pandas_market_calendars/issues/294
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rsheftel
|
|
GH_PROJECT= ${PORTNAME:S/-/_/g}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|