Skip to content

Commit

Permalink
www/py-flask: Clean up BUILD_DEPENDS
Browse files Browse the repository at this point in the history
from pyproject.toml:
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"

from CHANGES.rst:
- Use flit_core instead of setuptools as build backend.

Reference:	https://github.com/pallets/flask/blob/3.0.0/pyproject.toml#L46-L48
		https://github.com/pallets/flask/blob/3.0.0/CHANGES.rst#version-233
Approved by:	portmgr (blanket)
With hat:	python
  • Loading branch information
sunpoet committed Dec 1, 2023
1 parent 02e766d commit e60ce4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions www/py-flask/Makefile
Expand Up @@ -11,9 +11,7 @@ WWW= http://flask.pocoo.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst

BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=3.0.0:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}itsdangerous>=2.1.2:security/py-itsdangerous@${PY_FLAVOR} \
Expand Down

0 comments on commit e60ce4c

Please sign in to comment.