svn commit: r421379 - in head/devel: . py-numba
Kurt Jaeger
pi at FreeBSD.org
Mon Sep 5 17:19:23 UTC 2016
Author: pi
Date: Mon Sep 5 17:19:21 2016
New Revision: 421379
URL: https://svnweb.freebsd.org/changeset/ports/421379
Log:
New port: devel/py-numba
Numba gives you the power to speed up your applications with high performance
functions written directly in Python. With a few annotations, array-oriented
and math-heavy Python code can be just-in-time compiled to native machine
instructions, similar in performance to C, C++ and Fortran, without having to
switch languages or Python interpreters.
WWW: http://numba.pydata.org/
PR: 211347
Submitted by: David Kalliecharan <dave at dal.ca>
Added:
head/devel/py-numba/
head/devel/py-numba/Makefile (contents, props changed)
head/devel/py-numba/distinfo (contents, props changed)
head/devel/py-numba/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Sep 5 17:09:18 2016 (r421378)
+++ head/devel/Makefile Mon Sep 5 17:19:21 2016 (r421379)
@@ -4273,6 +4273,7 @@
SUBDIR += py-noseofyeti
SUBDIR += py-notifier
SUBDIR += py-notify
+ SUBDIR += py-numba
SUBDIR += py-ocempgui
SUBDIR += py-ode
SUBDIR += py-odfpy
Added: head/devel/py-numba/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-numba/Makefile Mon Sep 5 17:19:21 2016 (r421379)
@@ -0,0 +1,33 @@
+# Created by: David Kalliecharan <dave at dal.ca>
+# $FreeBSD$
+
+PORTNAME= numba
+PORTVERSION= 0.28.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dave at 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>
Added: head/devel/py-numba/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-numba/distinfo Mon Sep 5 17:19:21 2016 (r421379)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473095923
+SHA256 (numba-0.28.1.tar.gz) = d77d58a60acef5e52fb19c724084307f806e5b66d5a05499ae9f6a348c71ae24
+SIZE (numba-0.28.1.tar.gz) = 1124384
Added: head/devel/py-numba/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-numba/pkg-descr Mon Sep 5 17:19:21 2016 (r421379)
@@ -0,0 +1,7 @@
+Numba gives you the power to speed up your applications with high performance
+functions written directly in Python. With a few annotations, array-oriented
+and math-heavy Python code can be just-in-time compiled to native machine
+instructions, similar in performance to C, C++ and Fortran, without having to
+switch languages or Python interpreters.
+
+WWW: http://numba.pydata.org/
More information about the svn-ports-head
mailing list