summaryrefslogtreecommitdiff
path: root/databases/py-sqlobject/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-sqlobject/Makefile')
-rw-r--r--databases/py-sqlobject/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile
index 701cd5895170..74260842bb76 100644
--- a/databases/py-sqlobject/Makefile
+++ b/databases/py-sqlobject/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sqlobject
PORTVERSION= 1.6.0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,16 +18,14 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}formencode>=1.2.2:www/py-formencode@${PY_F
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
-USES= python${PY_MYSQL}
+USES= python:3.6+
USE_PYTHON= autoplist distutils
# currently MaxDB(SAP), ADODB are not supported
-OPTIONS_DEFINE= DOCS MYSQL PGSQL SQLITE MSSQL
+OPTIONS_DEFINE= DOCS PGSQL SQLITE MSSQL
PORTDOCS= *
-MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:databases/py-MySQLdb@${PY_FLAVOR}
-MYSQL_VARS= PY_MYSQL=:2.7
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
MSSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymssql>=0:databases/py-pymssql@${PY_FLAVOR}