1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Remove PYTHON_REL check after r559531 (USES=python:3.6+)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-01-10 08:22:22 +00:00
parent d48df51988
commit d059f1e85a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560966

View File

@ -13,7 +13,9 @@ COMMENT= Google Authentication Library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.0:devel/py-cachetools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<5:security/py-rsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
USES= python:3.6+
@ -25,18 +27,6 @@ OPTIONS_DEFINE= AIOHTTP
OPTIONS_DEFAULT=AIOHTTP
AIOHTTP_DESC= Use aiohttp
.include <bsd.port.pre.mk>
AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
.if ${PYTHON_REL} < 3600
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cachetools3>=2.0.0<5.0:devel/py-cachetools3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<4.6:security/py-rsa@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.0:devel/py-cachetools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<5:security/py-rsa@${PY_FLAVOR}
.endif
.if ${PORT_OPTIONS:MAIOHTTP} && ${PYTHON_REL} >= 3600
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>