From owner-svn-ports-all@freebsd.org Tue Jan 5 08:42:06 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1B92A565E4; Tue, 5 Jan 2016 08:42:06 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 730D8199A; Tue, 5 Jan 2016 08:42:06 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u058g5TY049505; Tue, 5 Jan 2016 08:42:05 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u058g56U049504; Tue, 5 Jan 2016 08:42:05 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201601050842.u058g56U049504@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Tue, 5 Jan 2016 08:42:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405276 - head/math/py-networkx X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 08:42:06 -0000 Author: rm Date: Tue Jan 5 08:42:05 2016 New Revision: 405276 URL: https://svnweb.freebsd.org/changeset/ports/405276 Log: math/py-networkx: let it build with python3 Drop the python version limit, by asking user to uncheck some options, that will not work with python3 for now. PR: 204594 Submitted by: John W. O'Brien Approved by: dikshie@sfc.wide.ad.jp (maintainer) Modified: head/math/py-networkx/Makefile Modified: head/math/py-networkx/Makefile ============================================================================== --- head/math/py-networkx/Makefile Tue Jan 5 08:36:07 2016 (r405275) +++ head/math/py-networkx/Makefile Tue Jan 5 08:42:05 2016 (r405276) @@ -3,6 +3,7 @@ PORTNAME= networkx PORTVERSION= 1.10 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \ CHEESESHOP @@ -19,7 +20,7 @@ RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}dec # ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:${PORTSDIR}/textproc/py-docutils NO_ARCH= yes -USES= python:2 shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent distutils PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} @@ -46,10 +47,16 @@ GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPR YAML_DESC= Reading and writing YAML files YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml +.include + +.if ${PYTHON_REL} >= 3000 && (${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 + PORTEXAMPLES= * post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.include +.include