Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 18:38:39 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476012 - head/www/py-notebook
Message-ID:  <201807311838.w6VIcdFc056927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Jul 31 18:38:39 2018
New Revision: 476012
URL: https://svnweb.freebsd.org/changeset/ports/476012

Log:
  www/py-notebook: update ipaddress dependency
  
  Looks like there is more elegant way to conditionally depend on ipaddress.
  Use it. No PORTREVISION bump - no deps are changed.
  
  With hat:		python

Modified:
  head/www/py-notebook/Makefile

Modified: head/www/py-notebook/Makefile
==============================================================================
--- head/www/py-notebook/Makefile	Tue Jul 31 17:47:53 2018	(r476011)
+++ head/www/py-notebook/Makefile	Tue Jul 31 18:38:39 2018	(r476012)
@@ -25,16 +25,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py
 		${PYTHON_PKGNAMEPREFIX}terminado>=0.8.1:net/py-terminado@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tornado>=4:www/py-tornado@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}traitlets>=4.2.1:devel/py-traitlets@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
+		${PY_IPADDRESS}
 
 NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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