svn commit: r462747 - head/math/py-networkx

Yuri Victorovich yuri at FreeBSD.org
Fri Feb 23 21:30:51 UTC 2018


Author: yuri
Date: Fri Feb 23 21:30:50 2018
New Revision: 462747
URL: https://svnweb.freebsd.org/changeset/ports/462747

Log:
  math/py-networkx: Remove python 2.7 version restriction
  
  py36 works now.
  
  PR:		225777
  Submitted by:	John W. O'Brien <john at saltant.com>
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/math/py-networkx/Makefile

Modified: head/math/py-networkx/Makefile
==============================================================================
--- head/math/py-networkx/Makefile	Fri Feb 23 21:13:41 2018	(r462746)
+++ head/math/py-networkx/Makefile	Fri Feb 23 21:30:50 2018	(r462747)
@@ -20,7 +20,7 @@ RUN_DEPENDS:=	${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:
 #		${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${FLAVOR}
 
 NO_ARCH=	yes
-USES=		python:2.7 shebangfix
+USES=		python shebangfix
 USE_PYTHON=	autoplist concurrent distutils
 SHEBANG_FILES=	examples/graph/atlas.py \
 		examples/multigraph/chess_masters.py \
@@ -50,18 +50,10 @@ GRAPHVIZ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygraphvi
 YAML_DESC=	Reading and writing YAML files
 YAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${FLAVOR}
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 3000
-. if ${PORT_OPTIONS:MMPL} || ${PORT_OPTIONS:MGRAPHVIZ}
-BROKEN=		Neither math/py-matplotlib nor graphics/py-graphviz support Python 3.x yet. Please disable both the MPL and GRAPHVIZ options
-. endif
-.endif
-
 PORTEXAMPLES=	*
 
 post-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list