aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
25 lines
745 B
Makefile
25 lines
745 B
Makefile
# $NetBSD: options.mk,v 1.3 2014/01/25 10:29:59 wiz 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 # py-mysqldb
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite)
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # 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 # py-mssql
|
|
.endif
|