summaryrefslogtreecommitdiff
path: root/databases/py-sqlobject/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
commitaa7a6c429ea62d972467d6755fa7a6f52256b452 (patch)
tree3c451883d3bd4d2ffe401b2b6aee58825505d145 /databases/py-sqlobject/Makefile
parentx11-fonts/jetbrains-mono: Update to 2.221 (diff)
Drop python 2.7 support from a few ports
With hat: portmgr
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}