summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordrochner <drochner>2003-07-24 13:29:59 +0000
committerdrochner <drochner>2003-07-24 13:29:59 +0000
commit4fd706fb5078b41c44ce105fae99bc92ca8a25ac (patch)
tree18778a6de2cb5eb105032a177995348f69c0ed80 /devel
parentc8c835b4641d2eb38669ee740f1c09157d652959 (diff)
downloadpkgsrc-4fd706fb5078b41c44ce105fae99bc92ca8a25ac.tar.gz
add py-kjbuckets-2.2, a fast hashtable implemtation
Diffstat (limited to 'devel')
-rw-r--r--devel/py-kjbuckets/DESCR9
-rw-r--r--devel/py-kjbuckets/Makefile30
-rw-r--r--devel/py-kjbuckets/PLIST4
-rw-r--r--devel/py-kjbuckets/distinfo4
4 files changed, 47 insertions, 0 deletions
diff --git a/devel/py-kjbuckets/DESCR b/devel/py-kjbuckets/DESCR
new file mode 100644
index 00000000000..34c65372e4d
--- /dev/null
+++ b/devel/py-kjbuckets/DESCR
@@ -0,0 +1,9 @@
+The kjbuckets module defines three data types for Python: kjSet,
+kjGraph, and kjDict. These types come with a number of associated
+methods, including common set theoretical operations such as union,
+intersection, difference, composition, transposition, reachability
+sets, and transitive closure.
+
+For suitably large compute intensive uses these types should provide
+up to an order of magnitude speedup versus an implementation that uses
+analogous operations implemented directly in Python.
diff --git a/devel/py-kjbuckets/Makefile b/devel/py-kjbuckets/Makefile
new file mode 100644
index 00000000000..0f2ea40f4e1
--- /dev/null
+++ b/devel/py-kjbuckets/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/24 13:29:59 drochner Exp $
+#
+
+DISTNAME= gadfly-1.0.0
+PKGNAME= ${PYPKGPREFIX}-kjbuckets-2.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gadfly/}
+
+MAINTAINER= tech-pkg@netbsd.org
+HOMEPAGE= http://starship.python.net/crew/aaron_watters/kjbuckets/
+COMMENT= Fast set, graph and mapping operations
+
+EXTRACT_ELEMENTS= ${DISTNAME}/kjbuckets
+EXTRACT_ELEMENTS+= ${DISTNAME}/doc/kjbuckets.txt
+WRKSRC= ${WRKDIR}/${DISTNAME}/kjbuckets
+
+USE_BUILDLINK2= yes
+
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+KJBDOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-kjbuckets
+
+post-install:
+ ${INSTALL_DATA_DIR} ${KJBDOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/kjbuckets.txt ${KJBDOCDIR}
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-kjbuckets/PLIST b/devel/py-kjbuckets/PLIST
new file mode 100644
index 00000000000..d4185e43225
--- /dev/null
+++ b/devel/py-kjbuckets/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/24 13:29:59 drochner Exp $
+${PYSITELIB}/kjbuckets.so
+share/doc/${PYPKGPREFIX}-kjbuckets/kjbuckets.txt
+@dirrm share/doc/${PYPKGPREFIX}-kjbuckets
diff --git a/devel/py-kjbuckets/distinfo b/devel/py-kjbuckets/distinfo
new file mode 100644
index 00000000000..ceff3b445f5
--- /dev/null
+++ b/devel/py-kjbuckets/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/24 13:29:59 drochner Exp $
+
+SHA1 (gadfly-1.0.0.tar.gz) = a37e42a88a5552f993f8db8a4f7f891b336d7f78
+Size (gadfly-1.0.0.tar.gz) = 309201 bytes