aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-pandas/Makefile
blob: cdbb79fe1ff4f6861b190944d723602b77e6f3f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $FreeBSD$

PORTNAME=   pandas
PORTVERSION=    0.12.0
CATEGORIES= math devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= john@saltant.com
COMMENT=    Flexible, high-performance data analysis in Python

LICENSE=    BSD

BUILD_DEPENDS=  ${PYNUMPY}
RUN_DEPENDS:=   ${BUILD_DEPENDS} \
        ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil \
        ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
        ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
TEST_DEPENDS=   nosetests:${PORTSDIR}/devel/py-nose \
        ${PYTHON_PKGNAMEPREFIX}numexpr>0:${PORTSDIR}/math/py-numexpr \
        ${PYTHON_PKGNAMEPREFIX}tables>0:${PORTSDIR}/devel/py-tables \
        ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy \
        ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
        ${PYTHON_PKGNAMEPREFIX}xlrd>0:${PORTSDIR}/textproc/py-xlrd \
        ${PYTHON_PKGNAMEPREFIX}xlwt>0:${PORTSDIR}/textproc/py-xlwt \
        ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup \
        ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib \
        ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml

SUB_FILES=  pkg-message

USE_PYTHON=     yes
USE_PYDISTUTILS=    easy_install
PYEASYINSTALL_ARCHDEP=  yes

# Uncomment the following line to enable regression-test
# on a headless (X11-less) host (eg: RedPorts)
#USES=      display:regression-test

regression-test: build
    @(cd ${WRKSRC} && \
        ${PYTHON_CMD} ${PYSETUP} build_ext --inplace && \
        ${PYTHON_CMD} ${PYSETUP} nosetests \
    )

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>