pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-pgnotify Initial import of pg-notify vers...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d69dd40458d
branches: trunk
changeset: 482185:1d69dd40458d
user: darcy <darcy%pkgsrc.org@localhost>
date: Thu Oct 21 16:03:37 2004 +0000
description:
Initial import of pg-notify version 0.1
Python interface to PostgreSQL LISTEN/NOTIFY
diffstat:
databases/py-pgnotify/DESCR | 15 +++++++++++++++
databases/py-pgnotify/Makefile | 25 +++++++++++++++++++++++++
databases/py-pgnotify/PLIST | 2 ++
databases/py-pgnotify/distinfo | 4 ++++
4 files changed, 46 insertions(+), 0 deletions(-)
diffs (62 lines):
diff -r cc2e993ee9c8 -r 1d69dd40458d databases/py-pgnotify/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-pgnotify/DESCR Thu Oct 21 16:03:37 2004 +0000
@@ -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.
diff -r cc2e993ee9c8 -r 1d69dd40458d databases/py-pgnotify/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-pgnotify/Makefile Thu Oct 21 16:03:37 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/21 16:03:37 darcy Exp $
+#
+
+DISTNAME= pgnotify-0.1
+PKGNAME= ${PYPKGPREFIX}-pgnotify-0.1
+CATEGORIES= databases python
+MASTER_SITES= http://sandbox.rulemaker.net/ngps/Dist/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= darcy%NetBSD.org@localhost
+HOMEPAGE= http://sandbox.rulemaker.net/ngps/pgnotify
+COMMENT= Python interface to PostgreSQL LISTEN/NOTIFY
+
+DEPENDS+= ${PYPKGPREFIX}-postgresql*:../../databases/py-postgresql
+
+MAKE_ENV+= MANDIR=${PREFIX}/man
+MAKE_ENV+= BINDIR=${PREFIX}/bin
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+PYDISTUTILSPKG= yes
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cc2e993ee9c8 -r 1d69dd40458d databases/py-pgnotify/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-pgnotify/PLIST Thu Oct 21 16:03:37 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/21 16:03:37 darcy Exp $
+${PYSITELIB}/pgnotify.py
diff -r cc2e993ee9c8 -r 1d69dd40458d databases/py-pgnotify/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-pgnotify/distinfo Thu Oct 21 16:03:37 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/21 16:03:37 darcy Exp $
+
+SHA1 (pgnotify-0.1.zip) = 6545a994077427b481c7fc9c511dc74f6106ae39
+Size (pgnotify-0.1.zip) = 6148 bytes
Home |
Main Index |
Thread Index |
Old Index