git: 16740a8faca1 - main - www/py-flask-script: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:25:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=16740a8faca14703964fb441a66937518cf4b9f9 commit 16740a8faca14703964fb441a66937518cf4b9f9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:12:50 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:12:50 +0000 www/py-flask-script: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- www/py-flask-script/Makefile | 5 ++++- www/py-flask-script/files/patch-setup.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/www/py-flask-script/Makefile b/www/py-flask-script/Makefile index f9bff93ebb46..f214866c886a 100644 --- a/www/py-flask-script/Makefile +++ b/www/py-flask-script/Makefile @@ -1,5 +1,6 @@ PORTNAME= flask-script PORTVERSION= 2.0.6 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +14,12 @@ WWW= https://flask-script.readthedocs.io/en/latest/ \ 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>=0:www/py-flask@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/www/py-flask-script/files/patch-setup.py b/www/py-flask-script/files/patch-setup.py new file mode 100644 index 000000000000..a45e7ac395fc --- /dev/null +++ b/www/py-flask-script/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2017-09-06 11:10:04 UTC ++++ setup.py +@@ -28,7 +28,7 @@ setup( + install_requires = ['Flask'] + + setup( +- name='Flask-Script', ++ name='flask-script', + version=version, + url='http://github.com/smurfix/flask-script', + download_url = 'https://github.com/smurfix/flask-script/tarball/v'+version,