diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-01-08 15:47:40 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-01-08 15:47:40 +0000 |
commit | 9568a087da0f3050a84af167cbf3676ce3737ffc (patch) | |
tree | bb5b52f46cd75c2df8dcafbcfe8067eb799cadf7 /databases/py-sqlobject | |
parent | e56d2fd4b477e734db2c75b51a7a4d629121b6bf (diff) | |
download | ports-9568a087da0f3050a84af167cbf3676ce3737ffc.tar.gz ports-9568a087da0f3050a84af167cbf3676ce3737ffc.zip |
databases/py-MySQLdb only supports Python 2, restrict ports that uses it.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=458431
Diffstat (limited to 'databases/py-sqlobject')
-rw-r--r-- | databases/py-sqlobject/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile index 19708f4a7f83..5bb542290253 100644 --- a/databases/py-sqlobject/Makefile +++ b/databases/py-sqlobject/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}formencode>=1.2.2:www/py-formencode@${FLAV RUN_DEPENDS:= ${BUILD_DEPENDS} NO_ARCH= yes -USES= python +USES= python${PY_MYSQL} USE_PYTHON= autoplist distutils # currently MaxDB(SAP), ADODB are not supported @@ -27,6 +27,7 @@ SYBASE_DESC= sybase support PORTDOCS= * MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:databases/py-MySQLdb@${FLAVOR} +MYSQL_VARS= PY_MYSQL=:2.7 PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${FLAVOR} MSSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymssql>=0:databases/py-pymssql@${FLAVOR} |