Simplify Makefile: use PY_IPADDRESS
- Add NO_ARCH With hat: python
This commit is contained in:
parent
61d3106cd8
commit
c97d2854c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461425
@ -13,7 +13,8 @@ LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} \
|
||||
RUN_DEPENDS= ${PY_IPADDRESS} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}docker-pycreds>0:security/py-docker-pycreds@${FLAVOR}
|
||||
@ -21,14 +22,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} \
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_SUFFIX} < 35
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:security/py-backports.ssl_match_hostname@${FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_SUFFIX} < 33
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress@${FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user