diff options
author | recht <recht@pkgsrc.org> | 2003-09-09 13:46:24 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-09-09 13:46:24 +0000 |
commit | c22a6065d653bd516e9b3778c1cdd5e3ddefdda1 (patch) | |
tree | c623582f3c441a0549c9e9d7c143e7a2eed6dcae /databases/py-PgSQL/Makefile | |
parent | 5180487b4c55b28892adf785fcfd5eea6f1b466e (diff) | |
download | pkgsrc-c22a6065d653bd516e9b3778c1cdd5e3ddefdda1.tar.gz |
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.
Diffstat (limited to 'databases/py-PgSQL/Makefile')
-rw-r--r-- | databases/py-PgSQL/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
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" |