From 717d1eebc6c72d671820936beadc81aa9324c5d0 Mon Sep 17 00:00:00 2001 From: wg Date: Sun, 8 Dec 2013 14:19:34 +0000 Subject: 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 --- math/Makefile | 1 + math/py-bottleneck/Makefile | 37 +++++++++++++++++++++++++++++++++++++ math/py-bottleneck/distinfo | 2 ++ math/py-bottleneck/pkg-descr | 3 +++ 4 files changed, 43 insertions(+) create mode 100644 math/py-bottleneck/Makefile create mode 100644 math/py-bottleneck/distinfo create mode 100644 math/py-bottleneck/pkg-descr (limited to 'math') 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 +# $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 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/ -- cgit