diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-08-03 20:57:37 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-08-03 20:57:37 +0000 |
commit | 2ed87711e84ae6de93ca7351fad9ccb0c105b865 (patch) | |
tree | 33bd11c19fc9df146c7f155bd7be6178a8008980 /devel | |
parent | Document Django vulnerability (diff) |
Use PY_TYPING and simplify Makefile
- While I'm here, sort RUN_DEPENDS
With hat: python
Notes
Notes:
svn path=/head/; revision=508026
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-flake8/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/py-flake8/Makefile b/devel/py-flake8/Makefile index 08fab9f54e0b..6aa3cb6befeb 100644 --- a/devel/py-flake8/Makefile +++ b/devel/py-flake8/Makefile @@ -14,11 +14,12 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} -RUN_DEPENDS= ${PY_ENUM34} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>=0.3.0:devel/py-entrypoints@${PY_FLAVOR} \ + ${PY_ENUM34} \ ${PYTHON_PKGNAMEPREFIX}mccabe>=0.6.0:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.0.0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>=1.5.0:devel/py-pyflakes@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}entrypoints>=0.3.0:devel/py-entrypoints@${PY_FLAVOR} + ${PY_TYPING} USES= python USE_PYTHON= autoplist concurrent distutils @@ -31,8 +32,4 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_F ${PYTHON_PKGNAMEPREFIX}functools32>0:devel/py-functools32@${PY_FLAVOR} .endif -.if ${PYTHON_REL} < 3400 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>0:devel/py-typing@${PY_FLAVOR} -.endif - .include <bsd.port.post.mk> |