diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-01-21 20:19:57 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-01-21 20:19:57 +0000 |
commit | 0f1fa13690d6085ccb322c0bd295eae463b902f8 (patch) | |
tree | 315c1c3f5f9147bd8edffbc83f4fc1a050593d7f | |
parent | Update to 4.13 (diff) |
New port: misc/py-fast-histogram: Fast simple 1D and 2D histograms
Notes
Notes:
svn path=/head/; revision=490893
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/py-fast-histogram/Makefile | 21 | ||||
-rw-r--r-- | misc/py-fast-histogram/distinfo | 3 | ||||
-rw-r--r-- | misc/py-fast-histogram/pkg-descr | 9 |
4 files changed, 34 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index f4c7394bcc4f..b8b23eda3529 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -367,6 +367,7 @@ SUBDIR += py-colorbrewer SUBDIR += py-crudini SUBDIR += py-emoji + SUBDIR += py-fast-histogram SUBDIR += py-fuzzy SUBDIR += py-glance SUBDIR += py-kartograph diff --git a/misc/py-fast-histogram/Makefile b/misc/py-fast-histogram/Makefile new file mode 100644 index 000000000000..ce104f88d426 --- /dev/null +++ b/misc/py-fast-histogram/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= fast-histogram +DISTVERSION= 0.7 +CATEGORIES= misc +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast simple 1D and 2D histograms + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= distutils autoplist + +.include <bsd.port.mk> diff --git a/misc/py-fast-histogram/distinfo b/misc/py-fast-histogram/distinfo new file mode 100644 index 000000000000..73e2342580aa --- /dev/null +++ b/misc/py-fast-histogram/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1548101267 +SHA256 (fast-histogram-0.7.tar.gz) = aabf0e0287ece8fb443dfd8c3bb36c784c07e3100906394d9baea91572067ca9 +SIZE (fast-histogram-0.7.tar.gz) = 13170 diff --git a/misc/py-fast-histogram/pkg-descr b/misc/py-fast-histogram/pkg-descr new file mode 100644 index 000000000000..076a62eeefcc --- /dev/null +++ b/misc/py-fast-histogram/pkg-descr @@ -0,0 +1,9 @@ +The fast-histogram mini-package aims to provide simple and fast histogram +functions for regular bins that don't compromise on performance. It doesn't do +anything complicated - it just implements a simple histogram algorithm in C and +keeps it simple. The aim is to have functions that are fast but also robust and +reliable. The result is a 1D histogram function here that is 7-15x faster than +numpy.histogram, and a 2D histogram function that is 20-25x faster than +numpy.histogram2d. + +WWW: https://github.com/astrofrog/fast-histogram |