From 3ed9fb4a7f1b546c0b038c72ddf8773dee3703f3 Mon Sep 17 00:00:00 2001 From: darcy Date: Mon, 30 Aug 2004 08:33:34 +0000 Subject: Recreate files for py-postgresql. PyGreSQL has been moved back out of the PostgreSQL tree and I have released this version that is no longer tied to a specific version of PostgreSQL. --- databases/py-postgresql/DESCR | 4 ++++ databases/py-postgresql/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ databases/py-postgresql/PLIST | 15 +++++++++++++++ databases/py-postgresql/distinfo | 4 ++++ 4 files changed, 62 insertions(+) create mode 100644 databases/py-postgresql/DESCR create mode 100644 databases/py-postgresql/Makefile create mode 100644 databases/py-postgresql/PLIST create mode 100644 databases/py-postgresql/distinfo (limited to 'databases/py-postgresql') diff --git a/databases/py-postgresql/DESCR b/databases/py-postgresql/DESCR new file mode 100644 index 00000000000..4a9c558b4ab --- /dev/null +++ b/databases/py-postgresql/DESCR @@ -0,0 +1,4 @@ +PyGreSQL is a python module that interfaces to a PostgreSQL database. It +embeds the PostgreSQL query library to allow easy use of the powerful +PostgreSQL features from a Python script. This also includes support for +the Python DB-API. diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile new file mode 100644 index 00000000000..1d5d6f097e3 --- /dev/null +++ b/databases/py-postgresql/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.36 2004/08/30 08:33:34 darcy Exp $ + +DISTNAME= PyGreSQL-3.5 +PKGNAME= ${PYPKGPREFIX}-postgresql-3.5 +CATEGORIES= databases python +MASTER_SITES= ftp://ftp.druid.net/pub/distrib/ +EXTRACT_SUFX= .tgz + +MAINTAINER= darcy@NetBSD.org +HOMEPAGE= http://www.PyGreSQL.org/ +COMMENT= Python interface to PostgreSQL + +MAKE_ENV+= MANDIR=${LOCALBASE}/man +MAKE_ENV+= BINDIR=${LOCALBASE}/bin +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make + +MAKEFILE= GNUmakefile +MAKE_ENV+= INSTALLED_LIBPQ=1 +#MAKEFLAGS+= PYTHON_VERSION=${PYVERSSUFFIX} + +PY_PATCHPLIST= yes +PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} + +PYDISTUTILSPKG= yes +PYBINMODULE= yes +DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial + ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + for inst_file in ${WRKSRC}/tutorial/*.py; do \ + ${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial; \ + done + +.include "../../lang/python/extension.mk" +.include "../../mk/pgsql.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" + diff --git a/databases/py-postgresql/PLIST b/databases/py-postgresql/PLIST new file mode 100644 index 00000000000..130d8cf2f95 --- /dev/null +++ b/databases/py-postgresql/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.6 2004/08/30 08:33:34 darcy Exp $ +${PYSITELIB}/_pg.so +${PYSITELIB}/pg.py +${PYSITELIB}/pg.pyc +${PYSITELIB}/pg.pyo +${PYSITELIB}/pgdb.py +${PYSITELIB}/pgdb.pyc +${PYSITELIB}/pgdb.pyo +share/doc/${PYPKGPREFIX}-postgresql/README +share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py +share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py +share/doc/${PYPKGPREFIX}-postgresql/tutorial/func.py +share/doc/${PYPKGPREFIX}-postgresql/tutorial/syscat.py +@dirrm share/doc/${PYPKGPREFIX}-postgresql/tutorial +@dirrm share/doc/${PYPKGPREFIX}-postgresql diff --git a/databases/py-postgresql/distinfo b/databases/py-postgresql/distinfo new file mode 100644 index 00000000000..5361130eb8d --- /dev/null +++ b/databases/py-postgresql/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.6 2004/08/30 08:33:34 darcy Exp $ + +SHA1 (PyGreSQL-3.5.tgz) = b55e448540ec7a360720dfaf11d1f7d4c119a4d4 +Size (PyGreSQL-3.5.tgz) = 44884 bytes -- cgit v1.2.3