summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-27 19:55:22 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-27 19:55:22 +0000
commit99a2f588a8304edcdf494dcf4e59935e155f11dd (patch)
tree9c155309c679a8a6926d34060602134bd8479a63 /math
parent- Update to 0.8.0 (diff)
Add py-bitvector 1.3, a pure-Python memory-efficient packed
representation for bit arrays. PR: ports/107251 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Notes
Notes: svn path=/head/; revision=180881
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-bitvector/Makefile25
-rw-r--r--math/py-bitvector/distinfo3
-rw-r--r--math/py-bitvector/pkg-descr6
4 files changed, 35 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 780e1982bacf..bfe8c7a87774 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -282,6 +282,7 @@
SUBDIR += pspp
SUBDIR += py-basemap
SUBDIR += py-basemap-data
+ SUBDIR += py-bitvector
SUBDIR += py-fpconst
SUBDIR += py-gato
SUBDIR += py-gnuplot
diff --git a/math/py-bitvector/Makefile b/math/py-bitvector/Makefile
new file mode 100644
index 000000000000..a096671a2c2a
--- /dev/null
+++ b/math/py-bitvector/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: py-bitvector
+# Date created: 2006-12-27
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bitvector
+PORTVERSION= 1.3
+CATEGORIES= math python
+MASTER_SITES= http://cobweb.ecn.purdue.edu/~kak/dist/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= BitVector-${PORTVERSION}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= A pure-Python memory-efficient packed representation for bit arrays
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/BitVector.py \
+ %%PYTHON_SITELIBDIR%%/BitVector.pyc \
+ %%PYTHON_SITELIBDIR%%/BitVector.pyo
+
+.include <bsd.port.mk>
diff --git a/math/py-bitvector/distinfo b/math/py-bitvector/distinfo
new file mode 100644
index 000000000000..e5a89ac8aa0c
--- /dev/null
+++ b/math/py-bitvector/distinfo
@@ -0,0 +1,3 @@
+MD5 (BitVector-1.3.tar.gz) = 7de8e88b99b40fab1caae69d786cbdf1
+SHA256 (BitVector-1.3.tar.gz) = b34ff229c6833c1964578fe7b7c687ecadea494d3b6d89b37ec9d1d2c4f05a8c
+SIZE (BitVector-1.3.tar.gz) = 56486
diff --git a/math/py-bitvector/pkg-descr b/math/py-bitvector/pkg-descr
new file mode 100644
index 000000000000..58a8ec926d64
--- /dev/null
+++ b/math/py-bitvector/pkg-descr
@@ -0,0 +1,6 @@
+The BitVector class for a memory-efficient packed representation of bit arrays
+and for logical operations on such arrays. The core idea used in this Python
+script for bin packing is based on an internet posting by Josiah Carlson to
+the Pyrex mailing list.
+
+WWW: http://rvl4.ecn.purdue.edu/~kak/dist/BitVector-1.3.html