c22a6065d6
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.
22 lines
644 B
Makefile
22 lines
644 B
Makefile
# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/09/09 13:46:24 recht Exp $
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.if !defined(PYPGSQL_BUILDLINK2_MK)
|
|
PYPGSQL_BUILDLINK2_MK= # defined
|
|
|
|
BUILDLINK_PACKAGES+= pyPgSQL
|
|
BUILDLINK_DEPENDS.pyPgSQL?= ${PYPKGPREFIX}-PgSQL>=2.4
|
|
BUILDLINK_PKGSRCDIR.pyPgSQL?= ../../databases/py-PgSQL
|
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.pyPgSQL=${PYPKGPREFIX}-PgSQL
|
|
BUILDLINK_PREFIX.pyPgSQL_DEFAULT= ${LOCALBASE}
|
|
|
|
.include "../../time/py-mxDateTime/buildlink2.mk"
|
|
.include "../../databases/postgresql-lib/buildlink2.mk"
|
|
|
|
BUILDLINK_TARGETS+= pyPgSQL-buildlink
|
|
|
|
pyPgSQL-buildlink: _BUILDLINK_USE
|
|
|
|
.endif # PYPGSQL_BUILDLINK2_MK
|