aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2011-02-20 18:04:42 +0800
committerlwhsu <lwhsu@FreeBSD.org>2011-02-20 18:04:42 +0800
commit7d1124ad75faf928549b3c02c4c033507d6057dd (patch)
tree5305538cb1c76de5c371628c025fc7407e7d9612 /math
parentcc8b0ecadf3441fdee2f3e2ec4bfabe6740df330 (diff)
downloadfreebsd-ports-gnome-7d1124ad75faf928549b3c02c4c033507d6057dd.tar.gz
freebsd-ports-gnome-7d1124ad75faf928549b3c02c4c033507d6057dd.tar.zst
freebsd-ports-gnome-7d1124ad75faf928549b3c02c4c033507d6057dd.zip
Add py-pybloom 1.0.3, a Probabilistic data structure.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-pybloom/Makefile22
-rw-r--r--math/py-pybloom/distinfo2
-rw-r--r--math/py-pybloom/pkg-descr5
-rw-r--r--math/py-pybloom/pkg-plist1
5 files changed, 31 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 4b0a1211d49e..39b0d43fa718 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -472,6 +472,7 @@
SUBDIR += py-numpy
SUBDIR += py-plastex
SUBDIR += py-probstat
+ SUBDIR += py-pybloom
SUBDIR += py-pymc
SUBDIR += py-scientific
SUBDIR += py-svgmath
diff --git a/math/py-pybloom/Makefile b/math/py-pybloom/Makefile
new file mode 100644
index 000000000000..9d914e41c49c
--- /dev/null
+++ b/math/py-pybloom/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: py-pybloom
+# Date created: 2011-02-20
+# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pybloom
+PORTVERSION= 1.0.3
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= A Probabilistic data structure
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:${PORTSDIR}/devel/py-bitarray
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/math/py-pybloom/distinfo b/math/py-pybloom/distinfo
new file mode 100644
index 000000000000..a73027046484
--- /dev/null
+++ b/math/py-pybloom/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pybloom-1.0.3.tar.gz) = 035eb87dbd03258e212cbdef4b16bc6d2d981db902989f1c2524ba4bdc4ae351
+SIZE (pybloom-1.0.3.tar.gz) = 9637
diff --git a/math/py-pybloom/pkg-descr b/math/py-pybloom/pkg-descr
new file mode 100644
index 000000000000..4a53f0e0074c
--- /dev/null
+++ b/math/py-pybloom/pkg-descr
@@ -0,0 +1,5 @@
+pybloom is a Python implementation of the bloom filter probabilistic data
+structure. The module also provides a Scalable Bloom Filter that allows a
+bloom filter to grow without knowing the original set size.
+
+WWW: https://github.com/jaybaird/python-bloomfilter/
diff --git a/math/py-pybloom/pkg-plist b/math/py-pybloom/pkg-plist
new file mode 100644
index 000000000000..ddf68a1c022f
--- /dev/null
+++ b/math/py-pybloom/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%