pkgsrc/databases/py-sqlalchemy/options.mk
rodent c1c28621fa Updated to latest stable release, 0.9.4. This was required, because some
newer py-sqlalchemy-* packages won't work with our archive version. Changes
are too numerous to list here. Check:
http://docs.sqlalchemy.org/en/latest/changelog/
2014-06-14 16:20:44 +00:00

25 lines
757 B
Makefile

# $NetBSD: options.mk,v 1.5 2014/06/14 16:20:45 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-sqlalchemy
PKG_SUPPORTED_OPTIONS= mysql sqlite pgsql mssql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-mysqldb
.endif
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-sqlite2
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
.endif
.if !empty(PKG_OPTIONS:Mmssql)
DEPENDS+= ${PYPKGPREFIX}-mssql-[0-9]*:../../databases/py-mssql
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-mssql
.endif