pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Update py-bottleneck to 1.2.0
Module Name: pkgsrc-wip
Committed By: Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By: minskim
Date: Tue Mar 7 19:28:47 2017 -0800
Changeset: 1665447b8cb01ac21f61d35f8d009daeff61b2de
Modified Files:
py-bottleneck/DESCR
py-bottleneck/Makefile
py-bottleneck/PLIST
py-bottleneck/distinfo
Log Message:
Update py-bottleneck to 1.2.0
Changes since 1.0.0:
- Bottleneck is now written in C
- Cython is no longer a dependency
- Source tarball size reduced by 80%
- Build time reduced by 66%
- Install size reduced by 45%
- All Bottleneck functions release the GIL
- median is faster if the input array contains NaN
- move_median is faster for input arrays that contain lots of NaNs
- No speed penalty for median, nanmedian, nanargmin, nanargmax for Fortran
ordered input arrays when axis is None
- Function call overhead cut in half for reduction along all axes (axis=None)
if the input array satisfies at least one of the following properties: 1d,
C contiguous, F contiguous
- Reduction along all axes (axis=None) is more than twice as fast for long,
narrow input arrays such as a (1000000, 2) C contiguous array and a
(2, 1000000) F contiguous array
- The new function bench_detailed runs a detailed performance benchmark on
a single bottleneck function.
- Bottleneck can be installed on systems that do not yet have NumPy
installed. Previously that only worked on some systems.
- New functions:
- move_var
- move_argmin
- move_argmax
- move_rank
- push
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1665447b8cb01ac21f61d35f8d009daeff61b2de
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-bottleneck/DESCR | 1 +
py-bottleneck/Makefile | 8 ++---
py-bottleneck/PLIST | 92 +++++++++++++++++++++++---------------------------
py-bottleneck/distinfo | 7 ++--
4 files changed, 52 insertions(+), 56 deletions(-)
diffs:
diff --git a/py-bottleneck/DESCR b/py-bottleneck/DESCR
index e69de29bb2..02c9618433 100644
--- a/py-bottleneck/DESCR
+++ b/py-bottleneck/DESCR
@@ -0,0 +1 @@
+Bottleneck is a collection of fast NumPy array functions written in C.
diff --git a/py-bottleneck/Makefile b/py-bottleneck/Makefile
index b53bfa2da5..8aabed2d94 100644
--- a/py-bottleneck/Makefile
+++ b/py-bottleneck/Makefile
@@ -1,18 +1,18 @@
# $NetBSD$
-DISTNAME= Bottleneck-1.0.0
+DISTNAME= Bottleneck-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=B/Bottleneck/}
MAINTAINER= jihbed.research%gmail.com@localhost
HOMEPAGE= http://berkeleyanalytics.com/bottleneck/
-COMMENT= Fast, NumPy array functions written in Cython
+COMMENT= Fast NumPy array functions written in Cython
LICENSE= 2-clause-bsd
-#DEPENDS+= ${PYPKGPREFIX}-scipy>=0.15.1:../../math/py-scipy
+USE_LANGUAGES= c
-.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
+BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.9.1
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-bottleneck/PLIST b/py-bottleneck/PLIST
index 96ab2b8d30..31cf816805 100644
--- a/py-bottleneck/PLIST
+++ b/py-bottleneck/PLIST
@@ -6,78 +6,72 @@ ${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/bottleneck/LICENSE
${PYSITELIB}/bottleneck/__init__.py
-${PYSITELIB}/bottleneck/__init__.pyc
${PYSITELIB}/bottleneck/__init__.pyo
+${PYSITELIB}/bottleneck/__init__.pyc
+${PYSITELIB}/bottleneck/version.pyo
+${PYSITELIB}/bottleneck/version.pyc
${PYSITELIB}/bottleneck/benchmark/__init__.py
-${PYSITELIB}/bottleneck/benchmark/__init__.pyc
${PYSITELIB}/bottleneck/benchmark/__init__.pyo
-${PYSITELIB}/bottleneck/benchmark/autotimeit.py
-${PYSITELIB}/bottleneck/benchmark/autotimeit.pyc
+${PYSITELIB}/bottleneck/benchmark/__init__.pyc
${PYSITELIB}/bottleneck/benchmark/autotimeit.pyo
-${PYSITELIB}/bottleneck/benchmark/bench.py
-${PYSITELIB}/bottleneck/benchmark/bench.pyc
+${PYSITELIB}/bottleneck/benchmark/autotimeit.pyc
${PYSITELIB}/bottleneck/benchmark/bench.pyo
+${PYSITELIB}/bottleneck/benchmark/bench.pyc
+${PYSITELIB}/bottleneck/benchmark/bench_detailed.pyo
+${PYSITELIB}/bottleneck/benchmark/bench_detailed.pyc
+${PYSITELIB}/bottleneck/benchmark/autotimeit.py
+${PYSITELIB}/bottleneck/benchmark/bench.py
+${PYSITELIB}/bottleneck/benchmark/bench_detailed.py
${PYSITELIB}/bottleneck/move.so
${PYSITELIB}/bottleneck/nonreduce.so
${PYSITELIB}/bottleneck/nonreduce_axis.so
${PYSITELIB}/bottleneck/reduce.so
${PYSITELIB}/bottleneck/slow/__init__.py
-${PYSITELIB}/bottleneck/slow/__init__.pyc
${PYSITELIB}/bottleneck/slow/__init__.pyo
-${PYSITELIB}/bottleneck/slow/move.py
-${PYSITELIB}/bottleneck/slow/move.pyc
+${PYSITELIB}/bottleneck/slow/__init__.pyc
${PYSITELIB}/bottleneck/slow/move.pyo
-${PYSITELIB}/bottleneck/slow/nonreduce.py
-${PYSITELIB}/bottleneck/slow/nonreduce.pyc
+${PYSITELIB}/bottleneck/slow/move.pyc
${PYSITELIB}/bottleneck/slow/nonreduce.pyo
-${PYSITELIB}/bottleneck/slow/nonreduce_axis.py
-${PYSITELIB}/bottleneck/slow/nonreduce_axis.pyc
+${PYSITELIB}/bottleneck/slow/nonreduce.pyc
${PYSITELIB}/bottleneck/slow/nonreduce_axis.pyo
-${PYSITELIB}/bottleneck/slow/reduce.py
-${PYSITELIB}/bottleneck/slow/reduce.pyc
+${PYSITELIB}/bottleneck/slow/nonreduce_axis.pyc
${PYSITELIB}/bottleneck/slow/reduce.pyo
+${PYSITELIB}/bottleneck/slow/reduce.pyc
+${PYSITELIB}/bottleneck/slow/move.py
+${PYSITELIB}/bottleneck/slow/nonreduce.py
+${PYSITELIB}/bottleneck/slow/nonreduce_axis.py
+${PYSITELIB}/bottleneck/slow/reduce.py
${PYSITELIB}/bottleneck/src/__init__.py
-${PYSITELIB}/bottleneck/src/__init__.pyc
${PYSITELIB}/bottleneck/src/__init__.pyo
-${PYSITELIB}/bottleneck/src/auto_pyx/move_setup.py
-${PYSITELIB}/bottleneck/src/auto_pyx/move_setup.pyc
-${PYSITELIB}/bottleneck/src/auto_pyx/move_setup.pyo
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_axis_setup.py
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_axis_setup.pyc
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_axis_setup.pyo
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_setup.py
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_setup.pyc
-${PYSITELIB}/bottleneck/src/auto_pyx/nonreduce_setup.pyo
-${PYSITELIB}/bottleneck/src/auto_pyx/reduce_setup.py
-${PYSITELIB}/bottleneck/src/auto_pyx/reduce_setup.pyc
-${PYSITELIB}/bottleneck/src/auto_pyx/reduce_setup.pyo
-${PYSITELIB}/bottleneck/src/template/__init__.py
-${PYSITELIB}/bottleneck/src/template/__init__.pyc
-${PYSITELIB}/bottleneck/src/template/__init__.pyo
-${PYSITELIB}/bottleneck/src/template/template.py
-${PYSITELIB}/bottleneck/src/template/template.pyc
-${PYSITELIB}/bottleneck/src/template/template.pyo
+${PYSITELIB}/bottleneck/src/__init__.pyc
+${PYSITELIB}/bottleneck/src/template.pyo
+${PYSITELIB}/bottleneck/src/template.pyc
+${PYSITELIB}/bottleneck/src/template.py
${PYSITELIB}/bottleneck/tests/__init__.py
-${PYSITELIB}/bottleneck/tests/__init__.pyc
${PYSITELIB}/bottleneck/tests/__init__.pyo
-${PYSITELIB}/bottleneck/tests/input_modifcation_test.py
-${PYSITELIB}/bottleneck/tests/input_modifcation_test.pyc
+${PYSITELIB}/bottleneck/tests/__init__.pyc
${PYSITELIB}/bottleneck/tests/input_modifcation_test.pyo
-${PYSITELIB}/bottleneck/tests/list_input_test.py
-${PYSITELIB}/bottleneck/tests/list_input_test.pyc
+${PYSITELIB}/bottleneck/tests/input_modifcation_test.pyc
${PYSITELIB}/bottleneck/tests/list_input_test.pyo
-${PYSITELIB}/bottleneck/tests/move_test.py
-${PYSITELIB}/bottleneck/tests/move_test.pyc
+${PYSITELIB}/bottleneck/tests/list_input_test.pyc
${PYSITELIB}/bottleneck/tests/move_test.pyo
-${PYSITELIB}/bottleneck/tests/nonreduce_axis_test.py
-${PYSITELIB}/bottleneck/tests/nonreduce_axis_test.pyc
+${PYSITELIB}/bottleneck/tests/move_test.pyc
${PYSITELIB}/bottleneck/tests/nonreduce_axis_test.pyo
-${PYSITELIB}/bottleneck/tests/nonreduce_test.py
-${PYSITELIB}/bottleneck/tests/nonreduce_test.pyc
+${PYSITELIB}/bottleneck/tests/nonreduce_axis_test.pyc
${PYSITELIB}/bottleneck/tests/nonreduce_test.pyo
-${PYSITELIB}/bottleneck/tests/reduce_test.py
-${PYSITELIB}/bottleneck/tests/reduce_test.pyc
+${PYSITELIB}/bottleneck/tests/nonreduce_test.pyc
${PYSITELIB}/bottleneck/tests/reduce_test.pyo
+${PYSITELIB}/bottleneck/tests/reduce_test.pyc
+${PYSITELIB}/bottleneck/tests/scalar_input_test.pyo
+${PYSITELIB}/bottleneck/tests/scalar_input_test.pyc
+${PYSITELIB}/bottleneck/tests/util.pyo
+${PYSITELIB}/bottleneck/tests/util.pyc
+${PYSITELIB}/bottleneck/tests/input_modifcation_test.py
+${PYSITELIB}/bottleneck/tests/list_input_test.py
+${PYSITELIB}/bottleneck/tests/move_test.py
+${PYSITELIB}/bottleneck/tests/nonreduce_axis_test.py
+${PYSITELIB}/bottleneck/tests/nonreduce_test.py
+${PYSITELIB}/bottleneck/tests/reduce_test.py
+${PYSITELIB}/bottleneck/tests/scalar_input_test.py
+${PYSITELIB}/bottleneck/tests/util.py
${PYSITELIB}/bottleneck/version.py
-${PYSITELIB}/bottleneck/version.pyc
-${PYSITELIB}/bottleneck/version.pyo
diff --git a/py-bottleneck/distinfo b/py-bottleneck/distinfo
index 7016771ad9..10fc197fd6 100644
--- a/py-bottleneck/distinfo
+++ b/py-bottleneck/distinfo
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2011/04/02 22:35:05 jihbed Exp $
-SHA1 (Bottleneck-1.0.0.tar.gz) = a7a9549c018bde8fcdb471d0d70b03f8d40e4387
-RMD160 (Bottleneck-1.0.0.tar.gz) = 60a2f149bc9f695ebd09313507e7880a523096c9
-Size (Bottleneck-1.0.0.tar.gz) = 363223 bytes
+SHA1 (Bottleneck-1.2.0.tar.gz) = 9b1c1fe139cfe38ea9b3ecc321cb884d91528b6e
+RMD160 (Bottleneck-1.2.0.tar.gz) = a9e5cee81b7f4d317db72188628884ab8f748a27
+SHA512 (Bottleneck-1.2.0.tar.gz) = 2dce3626b33923b4ab08047910b38e5531090a58f63a380392b78352c3dc657b947dc6dcad306734beaf130855c10ff9fb0048c027821720660fc62a242daafb
+Size (Bottleneck-1.2.0.tar.gz) = 92504 bytes
Home |
Main Index |
Thread Index |
Old Index