MFH: r504481

- Add missing depend for ancient python versions

PR:		238503
Submitted by:	john@saltant.com
Approved by:	ports-secteam (with hat)
This commit is contained in:
Dmitry Marakasov 2019-06-18 12:42:05 +00:00
parent c346d88f1d
commit e765f05a9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=504482

View File

@ -3,6 +3,7 @@
PORTNAME= flake8
PORTVERSION= 3.7.7
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -27,7 +28,12 @@ NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3200
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
${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>