From 3e01a2ffa1a26a769062e53cddc5717e1068254b Mon Sep 17 00:00:00 2001 From: djm Date: Mon, 30 May 2005 22:50:22 +0000 Subject: [PATCH] import of py-radix-0.4: py-radix is an implementation of a radix tree data structure for the storage and retrieval of IPv4 and IPv6 network prefixes. The radix tree is the data structure most commonly used for routing table lookups. It efficiently stores network prefixes of varying lengths and allows fast lookups of containing networks. feedback and ok alek@ --- devel/py-radix/Makefile | 26 ++++++++++++++++++++++++++ devel/py-radix/distinfo | 4 ++++ devel/py-radix/pkg/DESCR | 6 ++++++ devel/py-radix/pkg/PLIST | 2 ++ 4 files changed, 38 insertions(+) create mode 100644 devel/py-radix/Makefile create mode 100644 devel/py-radix/distinfo create mode 100644 devel/py-radix/pkg/DESCR create mode 100644 devel/py-radix/pkg/PLIST diff --git a/devel/py-radix/Makefile b/devel/py-radix/Makefile new file mode 100644 index 00000000000..9fd7a3ea0b8 --- /dev/null +++ b/devel/py-radix/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/30 22:50:22 djm Exp $ + +SHARED_ONLY= Yes + +COMMENT= "Radix tree implementation for Python" + +DISTNAME= py-radix-0.4 +CATEGORIES= devel net +MAINTAINER= Damien Miller + +MASTER_SITES= http://www2.mindrot.org/files/py-radix/ +HOMEPAGE= http://www.mindrot.org/py-radix.html + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= lang/python + +do-regress: fake + @cd ${WRKSRC} && ${MAKE_ENV} \ + PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py + +.include diff --git a/devel/py-radix/distinfo b/devel/py-radix/distinfo new file mode 100644 index 00000000000..dd225899574 --- /dev/null +++ b/devel/py-radix/distinfo @@ -0,0 +1,4 @@ +MD5 (py-radix-0.4.tar.gz) = a3e7a2cb078c009e39633aa4034ad523 +RMD160 (py-radix-0.4.tar.gz) = 5c618325db8e2a23f080d31b4197494d079b0796 +SHA1 (py-radix-0.4.tar.gz) = 20b599174f3cb395af940500b5cb275a6e93ba66 +SIZE (py-radix-0.4.tar.gz) = 15712 diff --git a/devel/py-radix/pkg/DESCR b/devel/py-radix/pkg/DESCR new file mode 100644 index 00000000000..360aee6213f --- /dev/null +++ b/devel/py-radix/pkg/DESCR @@ -0,0 +1,6 @@ +py-radix is an implementation of a radix tree data structure for +the storage and retrieval of IPv4 and IPv6 network prefixes. + +The radix tree is the data structure most commonly used for +routing table lookups. It efficiently stores network prefixes of +varying lengths and allows fast lookups of containing networks. diff --git a/devel/py-radix/pkg/PLIST b/devel/py-radix/pkg/PLIST new file mode 100644 index 00000000000..15f61f2e2d8 --- /dev/null +++ b/devel/py-radix/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/30 22:50:22 djm Exp $ +lib/python${MODPY_VERSION}/site-packages/radix.so