pkgsrc/databases/py-sqlalchemy/options.mk
tonnerre 15f8c1c434 Import the SQLAlchemy Python module. SQLAlchemy is a customizable object
oriented interface to databases like DBIx-Class is for Perl. It is quite
extensible and widely deployed.

It contains compilers for a number of database engines which are used
only if they're requested explicitly, nevertheless the package offers to
depend on some of them explicitly as requested by
PKG_OPTIONS.py-sqlalchemy.
2008-09-04 20:42:28 +00:00

18 lines
510 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2008/09/04 20:42:28 tonnerre Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-sqlalchemy
PKG_SUPPORTED_OPTIONS= mysql sqlite pgsql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
.endif
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
.endif