aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-pysal/Makefile
blob: 340bbd22832373b125c05163e16f26eda9ce31ae (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pysal
PORTVERSION=    1.11.2
CATEGORIES= science python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   PySAL-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Cross-platform library of spatial analysis functions

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}numpy>=1.3,1:math/py-numpy \
        ${PYTHON_PKGNAMEPREFIX}scipy>=0.7:science/py-scipy
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose

NO_ARCH=    yes
USE_PYTHON= autoplist concurrent distutils
USES=       python

post-patch:
    @${REINPLACE_CMD} -e '/check_stable=/ s|True|False|' ${WRKSRC}/pysal/config.py

.include <bsd.port.mk>