Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 19:59:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461425 - head/sysutils/py-docker
Message-ID:  <201802101959.w1AJxCRL094827@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb 10 19:59:11 2018
New Revision: 461425
URL: https://svnweb.freebsd.org/changeset/ports/461425

Log:
  Simplify Makefile: use PY_IPADDRESS
  
  - Add NO_ARCH
  
  With hat:	python

Modified:
  head/sysutils/py-docker/Makefile

Modified: head/sysutils/py-docker/Makefile
==============================================================================
--- head/sysutils/py-docker/Makefile	Sat Feb 10 19:59:06 2018	(r461424)
+++ head/sysutils/py-docker/Makefile	Sat Feb 10 19:59:11 2018	(r461425)
@@ -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-
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802101959.w1AJxCRL094827>