git: 7dfe432d2c0c - main - www/py-flask-json: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:24:59 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7dfe432d2c0cd388ed078bb8a7eb19f04cd1628c commit 7dfe432d2c0cd388ed078bb8a7eb19f04cd1628c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:12:45 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:12:45 +0000 www/py-flask-json: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- www/py-flask-json/Makefile | 5 ++++- www/py-flask-json/files/patch-setup.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/www/py-flask-json/Makefile b/www/py-flask-json/Makefile index 917dfa7a7249..2436f1edf26d 100644 --- a/www/py-flask-json/Makefile +++ b/www/py-flask-json/Makefile @@ -1,5 +1,6 @@ PORTNAME= flask-json PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,14 @@ WWW= https://github.com/skozlovf/flask-json LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=2.2.0:www/py-flask@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/www/py-flask-json/files/patch-setup.py b/www/py-flask-json/files/patch-setup.py new file mode 100644 index 000000000000..531fc63ce7bd --- /dev/null +++ b/www/py-flask-json/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-05-03 06:19:42 UTC ++++ setup.py +@@ -17,7 +17,7 @@ setup( + + + setup( +- name='Flask-JSON', ++ name='flask-json', + version=ext_version, + url='https://github.com/skozlovf/flask-json', + license='BSD',