diff options
author | jdolecek <jdolecek> | 2002-11-24 09:30:24 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2002-11-24 09:30:24 +0000 |
commit | e3e953310a33528245b5f0a92ee952506903a447 (patch) | |
tree | bdaa13ba00d2ba57e57863d951d5e0a6fe7b5a02 /devel | |
parent | 76dd4f58f2a946123b14e62bddc3cde554a1dd0a (diff) | |
download | pkgsrc-e3e953310a33528245b5f0a92ee952506903a447.tar.gz |
Initial import of py-kqueue version 2.0 into the Packages Collection.
py-kqueue is Python glue for kqueue(2)/kevent(2) event interface
on BSD systems.
kqueue() provides a generic method of notifying the user when an
event happens or a condition holds, based on the results of small
pieces of kernel code termed filters. A kevent is identified by
the (ident, filter) pair; there may only be one unique kevent
per kqueue.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-kqueue/DESCR | 12 | ||||
-rw-r--r-- | devel/py-kqueue/Makefile | 21 | ||||
-rw-r--r-- | devel/py-kqueue/PLIST | 2 | ||||
-rw-r--r-- | devel/py-kqueue/distinfo | 4 |
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/py-kqueue/DESCR b/devel/py-kqueue/DESCR new file mode 100644 index 00000000000..11dbbb7ea48 --- /dev/null +++ b/devel/py-kqueue/DESCR @@ -0,0 +1,12 @@ +py-kqueue is Python glue for kqueue(2)/kevent(2) event interface +on BSD systems. + +kqueue() provides a generic method of notifying the user when an +event happens or a condition holds, based on the results of small +pieces of kernel code termed filters. A kevent is identified by +the (ident, filter) pair; there may only be one unique kevent +per kqueue. + +See the manpages for further information on kqueue system interface. +File pykqueue.txt (part of the module distribution) describes +the Python module API, which mirrors the system interface to most extend. diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile new file mode 100644 index 00000000000..a4de1e45c6b --- /dev/null +++ b/devel/py-kqueue/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/11/24 09:30:24 jdolecek Exp $ + +DISTNAME= py-kqueue-2.0 +PKGNAME= ${PYPKGPREFIX}-kqueue-2.0 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jdolecek/ + +MAINTAINER= jdolecek@netbsd.org +COMMENT= Python interface to kqueue(2) and kevent(2) system calls + +PYDISTUTILSPKG= # defined + +# need to get definition of PKG_HAVE_KQUEUE +.include "../../mk/bsd.prefs.mk" + +.if !defined(PKG_HAVE_KQUEUE) +IGNORE+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}, needs OS support for kqueue(2)" +.endif + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-kqueue/PLIST b/devel/py-kqueue/PLIST new file mode 100644 index 00000000000..6b1e245a141 --- /dev/null +++ b/devel/py-kqueue/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/24 09:30:24 jdolecek Exp $ +${PYSITELIB}/kqueuemodule.so diff --git a/devel/py-kqueue/distinfo b/devel/py-kqueue/distinfo new file mode 100644 index 00000000000..1d40d98b741 --- /dev/null +++ b/devel/py-kqueue/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/11/24 09:30:24 jdolecek Exp $ + +SHA1 (py-kqueue-2.0.tar.gz) = 9b526dba2fcd8e91bae1faac603344e604cf1352 +Size (py-kqueue-2.0.tar.gz) = 8911 bytes |