diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-10-09 23:32:01 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-10-09 23:37:53 +0800 |
commit | 7c4509b54033bb39dcd3dc63c216c113a9de966b (patch) | |
tree | 75bdbb7bbd36f5e44e5962d42022c59c655bf558 /databases/py-flask-sqlalchemy/Makefile | |
parent | textproc/p5-JavaScript-Packer: Update to 2.10 (diff) |
databases/py-flask-sqlalchemy: Update to 3.0.0
- Update WWW
Changes: https://github.com/pallets-eco/flask-sqlalchemy/releases
https://github.com/pallets-eco/flask-sqlalchemy/blob/main/CHANGES.rst
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> |