Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 10:08:38 +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: r475992 - head/www/py-notebook
Message-ID:  <201807311008.w6VA8cwq093884@repo.freebsd.org>

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

Log:
  www/py-notebook: add missing dependencies
  
  Fix runtime by adding missing dependencies: prometheus-client is required for
  all versions and ipaddress is required for python 2.7. Bump PORTREVISION to
  chase a dependency change.
  
  With hat:   python
  MFH:		2018Q3

Modified:
  head/www/py-notebook/Makefile

Modified: head/www/py-notebook/Makefile
==============================================================================
--- head/www/py-notebook/Makefile	Tue Jul 31 09:59:00 2018	(r475991)
+++ head/www/py-notebook/Makefile	Tue Jul 31 10:08:38 2018	(r475992)
@@ -2,6 +2,7 @@
 
 PORTNAME=	notebook
 PORTVERSION=	5.6.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,10 +24,17 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py
 		${PYTHON_PKGNAMEPREFIX}send2trash>=0:deskutils/py-send2trash@${PY_FLAVOR} \
 		${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}traitlets>=4.2.1:devel/py-traitlets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}py-prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
 
 NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
-.include <bsd.port.mk>
+.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>



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