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
+15
View File
@@ -0,0 +1,15 @@
pgnotify is a PostgreSQL client-side asynchronous notification handler for
Python and PyGreSQL.
Typically, asynchronous notification is used to communicate the message "I
changed this table, take a look at it to see what's new" from one PostgreSQL
client to other interested PostgreSQL clients.
A useful programming technique is to generate asynchronous notification in a
rule that is triggered by table updates; this way, notification happens
automatically when the table is changed and the application programmer can't
accidentally forget to do it.
At present, pgnotify works with PyGreSQL only. It should work with PoPy and
psycopg when those modules provide Pythonic interfaces to additional necessary
PostgreSQL client-side functions, as described in the README.
+25
View File
@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.15 2012/10/02 21:25:49 asau Exp $
#
DISTNAME= pgnotify-0.1
PKGNAME= ${PYPKGPREFIX}-pgnotify-0.1
PKGREVISION= 2
CATEGORIES= databases python
MASTER_SITES= http://sandbox.rulemaker.net/ngps/Dist/
EXTRACT_SUFX= .zip
OWNER= darcy@NetBSD.org
HOMEPAGE= http://sandbox.rulemaker.net/ngps/pgnotify
COMMENT= Python interface to PostgreSQL LISTEN/NOTIFY
DEPENDS+= ${PYPKGPREFIX}-postgresql-[0-9]*:../../databases/py-postgresql
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_ENV+= BINDIR=${PREFIX}/bin
USE_TOOLS+= gmake
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
+4
View File
@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2006/01/03 18:58:58 darcy Exp $
${PYSITELIB}/pgnotify.py
${PYSITELIB}/pgnotify.pyc
${PYSITELIB}/pgnotify.pyo
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2005/02/23 16:33:09 agc Exp $
SHA1 (pgnotify-0.1.zip) = 6545a994077427b481c7fc9c511dc74f6106ae39
RMD160 (pgnotify-0.1.zip) = a48a7536a6edf330bdb1eb6b83be119ce4327e56
Size (pgnotify-0.1.zip) = 6148 bytes