aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-08 22:19:34 +0800
committerwg <wg@FreeBSD.org>2013-12-08 22:19:34 +0800
commit717d1eebc6c72d671820936beadc81aa9324c5d0 (patch)
treeee2bfeb7e02f173f69188d404c39ca0c15407c74 /math
parent88831a8ac474728995978387c7e7f039f4912c37 (diff)
downloadfreebsd-ports-gnome-717d1eebc6c72d671820936beadc81aa9324c5d0.tar.gz
freebsd-ports-gnome-717d1eebc6c72d671820936beadc81aa9324c5d0.tar.zst
freebsd-ports-gnome-717d1eebc6c72d671820936beadc81aa9324c5d0.zip
math/py-bottleneck: Collection of fast NumPy array functions written in Cython
WWW: https://www.github.com/kwgoodman/bottleneck/ PR: ports/184584 Submitted by: Johannes Jost Meixner <xmj chaot.net>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-bottleneck/Makefile37
-rw-r--r--math/py-bottleneck/distinfo2
-rw-r--r--math/py-bottleneck/pkg-descr3
4 files changed, 43 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index ef19f581e943..924f32508080 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -541,6 +541,7 @@
SUBDIR += py-basemap
SUBDIR += py-basemap-data
SUBDIR += py-bitvector
+ SUBDIR += py-bottleneck
SUBDIR += py-ffc
SUBDIR += py-fiat
SUBDIR += py-fpconst
diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile
new file mode 100644
index 000000000000..fbb6816bbd13
--- /dev/null
+++ b/math/py-bottleneck/Makefile
@@ -0,0 +1,37 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME= bottleneck
+PORTVERSION= 0.7.0
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Bottleneck-${PORTVERSION}
+
+MAINTAINER= xmj@chaot.net
+COMMENT= Collection of fast NumPy array functions written in Cython
+
+LICENSE= BSD
+
+BUILD_DEPENDS= ${PYNUMPY} \
+ cython:${PORTSDIR}/lang/cython
+RUN_DEPENDS= ${PYNUMPY}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+OPTIONS_DEFINE= DOCS
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+PORTDOCS= *
+
+regression-test: build
+ @cd ${WRKSRC} && nosetests
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc/source/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/math/py-bottleneck/distinfo b/math/py-bottleneck/distinfo
new file mode 100644
index 000000000000..2b954031f897
--- /dev/null
+++ b/math/py-bottleneck/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Bottleneck-0.7.0.tar.gz) = 8d7bc7eac458632603fc10c71f26c0f9f976293ff394f48efae6ecd4c79b21fc
+SIZE (Bottleneck-0.7.0.tar.gz) = 1634309
diff --git a/math/py-bottleneck/pkg-descr b/math/py-bottleneck/pkg-descr
new file mode 100644
index 000000000000..763d82972b16
--- /dev/null
+++ b/math/py-bottleneck/pkg-descr
@@ -0,0 +1,3 @@
+Bottleneck is a collection of fast NumPy array functions written in Cython.
+
+WWW: https://www.github.com/kwgoodman/bottleneck/