pkgsrc/math/py-pandas/Makefile

33 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2018/01/30 09:21:44 adam Exp $
DISTNAME= pandas-0.22.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/}
MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://pandas.pydata.org/
COMMENT= Python Data Analysis Library
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-bottleneck-[0-9]*:../../math/py-bottleneck
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
DEPENDS+= ${PYPKGPREFIX}-numexpr-[0-9]*:../../math/py-numexpr
DEPENDS+= ${PYPKGPREFIX}-pytables>=2.2:../../math/py-pytables
DEPENDS+= ${PYPKGPREFIX}-pytz>=1.5:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.7:../../math/py-scipy
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
# 20 test failures as of 0.18.1, see
# https://github.com/pydata/pandas/issues/12337
# https://github.com/pydata/pandas/issues/14043
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
USE_LANGUAGES= c c++
.include "../../lang/python/egg.mk"
BUILDLINK_API_DEPENDS.pynumpy+= ${PYPKGPREFIX}-numpy>=1.7.0
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"