Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 12:39:07 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r475996 - branches/2018Q3/www/py-notebook
Message-ID:  <201807311239.w6VCd73n070432@repo.freebsd.org>

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

Log:
  MFH: r475992 r475993
  
  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
  
  www/py-notebook: correct typo
  
  Approved by:	portmgr (miwi)

Modified:
  branches/2018Q3/www/py-notebook/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/www/py-notebook/Makefile
==============================================================================
--- branches/2018Q3/www/py-notebook/Makefile	Tue Jul 31 12:32:45 2018	(r475995)
+++ branches/2018Q3/www/py-notebook/Makefile	Tue Jul 31 12:39:07 2018	(r475996)
@@ -2,6 +2,7 @@
 
 PORTNAME=	notebook
 PORTVERSION=	5.5.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}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?201807311239.w6VCd73n070432>