svn commit: r490893 - in head/misc: . py-fast-histogram
Yuri Victorovich
yuri at FreeBSD.org
Mon Jan 21 20:19:59 UTC 2019
Author: yuri
Date: Mon Jan 21 20:19:57 2019
New Revision: 490893
URL: https://svnweb.freebsd.org/changeset/ports/490893
Log:
New port: misc/py-fast-histogram: Fast simple 1D and 2D histograms
Added:
head/misc/py-fast-histogram/
head/misc/py-fast-histogram/Makefile (contents, props changed)
head/misc/py-fast-histogram/distinfo (contents, props changed)
head/misc/py-fast-histogram/pkg-descr (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Mon Jan 21 19:53:49 2019 (r490892)
+++ head/misc/Makefile Mon Jan 21 20:19:57 2019 (r490893)
@@ -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
Added: head/misc/py-fast-histogram/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-fast-histogram/Makefile Mon Jan 21 20:19:57 2019 (r490893)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= fast-histogram
+DISTVERSION= 0.7
+CATEGORIES= misc
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at 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>
Added: head/misc/py-fast-histogram/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-fast-histogram/distinfo Mon Jan 21 20:19:57 2019 (r490893)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548101267
+SHA256 (fast-histogram-0.7.tar.gz) = aabf0e0287ece8fb443dfd8c3bb36c784c07e3100906394d9baea91572067ca9
+SIZE (fast-histogram-0.7.tar.gz) = 13170
Added: head/misc/py-fast-histogram/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-fast-histogram/pkg-descr Mon Jan 21 20:19:57 2019 (r490893)
@@ -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
More information about the svn-ports-head
mailing list