aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-28 03:55:22 +0800
committerrafan <rafan@FreeBSD.org>2006-12-28 03:55:22 +0800
commit5f86421ffec8c50fc4ee8b9e564b39faf4f1597b (patch)
treeb654d7080cb557610d8d090f40aabe485fcd1ebb /math
parent5a0e5bd4b8410989e0d1e126baeaa8143e42969f (diff)
downloadfreebsd-ports-gnome-5f86421ffec8c50fc4ee8b9e564b39faf4f1597b.tar.gz
freebsd-ports-gnome-5f86421ffec8c50fc4ee8b9e564b39faf4f1597b.tar.zst
freebsd-ports-gnome-5f86421ffec8c50fc4ee8b9e564b39faf4f1597b.zip
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>
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