aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-numba/Makefile
blob: 99cce34c6be8b80013b0de5258098299cec5c0ca (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
# Created by: David Kalliecharan <dave@dal.ca>
# $FreeBSD$

PORTNAME=   numba
PORTVERSION=    0.29.0
CATEGORIES= devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= dave@dal.ca
COMMENT=    Optimizing compiler for Python using LLVM

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}numpy>1.7:math/py-numpy
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}llvmlite>=0.12:devel/py-llvmlite \
        ${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse

# Uses Python 2.7, 3.4+
USES=       python fortran
USE_PYTHON= distutils autoplist

.include <bsd.port.pre.mk>

# Requried for Python 2.7
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 \
        ${PYTHON_PKGNAMEPREFIX}singledispatch>0:devel/py-singledispatch \
        ${PYTHON_PKGNAMEPREFIX}funcsigs>0:devel/py-funcsigs
.endif

.include <bsd.port.post.mk>