diff options
Diffstat (limited to 'databases/py-flask-sqlalchemy/Makefile')
-rw-r--r-- | databases/py-flask-sqlalchemy/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/databases/py-flask-sqlalchemy/Makefile b/databases/py-flask-sqlalchemy/Makefile index 3385cf2c7d45..d00d15c83a49 100644 --- a/databases/py-flask-sqlalchemy/Makefile +++ b/databases/py-flask-sqlalchemy/Makefile @@ -1,6 +1,5 @@ PORTNAME= flask-sqlalchemy -PORTVERSION= 2.5.1 -PORTREVISION= 1 +PORTVERSION= 3.0.0 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -8,17 +7,21 @@ DISTNAME= Flask-SQLAlchemy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add SQLAlchemy support to your Flask application -WWW= https://github.com/pallets/flask-sqlalchemy +WWW= https://github.com/pallets-eco/flask-sqlalchemy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10:www/py-flask@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0.8:databases/py-sqlalchemy14@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=2.2:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.18:databases/py-sqlalchemy14@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include <bsd.port.mk> |