Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

12
devel/py-kqueue/DESCR Normal file
View File

@@ -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.

23
devel/py-kqueue/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.12 2012/10/31 11:19:32 asau Exp $
DISTNAME= py-kqueue-2.0
PKGNAME= ${PYPKGPREFIX}-kqueue-2.0
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jdolecek/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Python interface to kqueue(2) and kevent(2) system calls
LICENSE= modified-bsd
# need to get definition of PKG_HAVE_KQUEUE
.include "../../mk/bsd.prefs.mk"
.if !defined(PKG_HAVE_KQUEUE)
PKG_FAIL_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}, needs OS support for kqueue(2)"
.endif
EGG_NAME= ${DISTNAME:S/py-//}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

3
devel/py-kqueue/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.3 2012/04/08 20:21:46 wiz Exp $
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/kqueuemodule.so

6
devel/py-kqueue/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2005/02/23 22:24:31 agc Exp $
SHA1 (py-kqueue-2.0.tar.gz) = 9b526dba2fcd8e91bae1faac603344e604cf1352
RMD160 (py-kqueue-2.0.tar.gz) = e066c4859b954a062edf1e251ccf00fb52d24a1a
Size (py-kqueue-2.0.tar.gz) = 8911 bytes
SHA1 (patch-aa) = e0cd667ce451164f61465f4c17eb9a7b67c98c9e

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.1 2004/12/28 15:17:51 wiz Exp $
--- kqueuemodule.c.orig 2002-11-24 10:19:42.000000000 +0100
+++ kqueuemodule.c
@@ -30,6 +30,10 @@
#include <Python.h>
+#if defined(PY_LONG_LONG) && !defined(LONG_LONG)
+#define LONG_LONG PY_LONG_LONG
+#endif
+
#include <sys/event.h>
/* -=-=-=-=-=-=-=-=-=-=-=-= KEvent Object =-=-=-=-=-=-=-=-=-=-=-= */