From c22a6065d653bd516e9b3778c1cdd5e3ddefdda1 Mon Sep 17 00:00:00 2001 From: recht Date: Tue, 9 Sep 2003 13:46:24 +0000 Subject: Initial import of pyPgSQL 2.4 from pkgsrc-wip pyPgSQL is a package of two modules that provide a Python DB-API 2.0 compliant interface to PostgreSQL databases. The first module, libpq, exports the PostgreSQL C API to Python. This module is written in C and can be compiled into Python or can be dynamically loaded on demand. The second module, PgSQL, provides the DB-API 2.0 compliant interface and support for various PostgreSQL data types, such as INT8, NUMERIC, MONEY, BOOL, ARRAYS, etc. This module is written in Python. --- databases/py-PgSQL/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 databases/py-PgSQL/Makefile (limited to 'databases/py-PgSQL/Makefile') diff --git a/databases/py-PgSQL/Makefile b/databases/py-PgSQL/Makefile new file mode 100644 index 00000000000..1334f42c023 --- /dev/null +++ b/databases/py-PgSQL/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/09/09 13:46:24 recht Exp $ +# + +DISTNAME= pyPgSQL-2.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +WRKSRC= ${WRKDIR}/pypgsql +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pypgsql/} + +MAINTAINER= recht@NetBSD.org +HOMEPAGE= http://pypgsql.sourceforge.net/ +COMMENT= Python DB-API 2.0 compliant interface to PostgreSQL + +USE_BUILDLINK2= YES +PYDISTUTILSPKG= YES +PYBINMODULE= YES +PY_PATCHPLIST= YES + +post-install: + ${PYTHONBIN} -O ${LOCALBASE}/${PYLIB}/compileall.py \ + ${LOCALBASE}/${PYSITELIB}/pyPgSQL + +.include "../../lang/python/extension.mk" +.include "../../lang/python/application.mk" +.include "../../time/py-mxDateTime/buildlink2.mk" +.include "../../databases/postgresql-lib/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3