Simplify Makefile: use PY_IPADDRESS
This commit is contained in:
parent
676e08254a
commit
61d3106cd8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461424
1 changed files with 1 additions and 4 deletions
|
@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${FLAVOR} \
|
||||
${PY_IPADDRESS} \
|
||||
${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks@${FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
|
||||
|
@ -29,10 +30,6 @@ SUB_FILES= pkg-message
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3300
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:net/py-ipaddress@${FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 3400
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${FLAVOR}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue