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,23 +1,26 @@ PORTNAME= flask-script PORTVERSION= 2.0.6 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Flask-Script-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Scripting support for Flask WWW= https://flask-script.readthedocs.io/en/latest/ \ https://github.com/smurfix/flask-script 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 .include 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,