From owner-svn-ports-all@freebsd.org Wed May 18 16:54:53 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 C88EDB41EB5; Wed, 18 May 2016 16:54:53 +0000 (UTC) (envelope-from woodsb02@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 89A201A08; Wed, 18 May 2016 16:54:53 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4IGsqIx052249; Wed, 18 May 2016 16:54:52 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4IGsqvX052246; Wed, 18 May 2016 16:54:52 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201605181654.u4IGsqvX052246@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Wed, 18 May 2016 16:54:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415457 - in head/graphics: . py-pygraphviz py3-pygraphviz 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.22 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: Wed, 18 May 2016 16:54:53 -0000 Author: woodsb02 Date: Wed May 18 16:54:52 2016 New Revision: 415457 URL: https://svnweb.freebsd.org/changeset/ports/415457 Log: Create new port graphics/py3-pygraphviz: - This is a variant of graphics/py-pygraphviz for Python 3.x. A separate port is needed until the ports tree gets VARIANTS support. The science/gramps port will soon be updated to a version which only supports python3, and it depends on py-pygraphviz with python3. To allow people to only use packages directly (and not ports), the package building infrastructure needs to build 2 packages: py-pygraphviz with python2 and py-pygraphviz with python3. Since the ports tree doesn't yet have VARIANTS support, this is not yet possible without making a separate py3-pygraphviz port. - Ensure graphics/py-pygraphviz does not clobber variables in slave port - While here, add LICENSE and LICENSE_FILE details to graphics/py-pygraphviz PR: 207039 Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D6281 Added: head/graphics/py3-pygraphviz/ head/graphics/py3-pygraphviz/Makefile (contents, props changed) Modified: head/graphics/Makefile head/graphics/py-pygraphviz/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Wed May 18 16:50:21 2016 (r415456) +++ head/graphics/Makefile Wed May 18 16:54:52 2016 (r415457) @@ -882,6 +882,7 @@ SUBDIR += py-webcolors SUBDIR += py3-cairo SUBDIR += py3-pillow + SUBDIR += py3-pygraphviz SUBDIR += pygts SUBDIR += pymorph SUBDIR += pysvg Modified: head/graphics/py-pygraphviz/Makefile ============================================================================== --- head/graphics/py-pygraphviz/Makefile Wed May 18 16:50:21 2016 (r415456) +++ head/graphics/py-pygraphviz/Makefile Wed May 18 16:54:52 2016 (r415457) @@ -10,11 +10,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Python interface to GraphViz agraph +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcgraph.so:graphics/graphviz -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0.10.1:devel/py-nose +TEST_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}nose>=0.10.1:devel/py-nose -USES= pkgconfig python +USES?= pkgconfig python USE_PYTHON= autoplist concurrent distutils PYDISTUTILS_BUILD_TARGET= build build_ext Added: head/graphics/py3-pygraphviz/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py3-pygraphviz/Makefile Wed May 18 16:54:52 2016 (r415457) @@ -0,0 +1,10 @@ +# Created by: Ben Woods +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../py-pygraphviz + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0.10.1:devel/py3-nose + +USES= pkgconfig python:3.4+ + +.include "${MASTERDIR}/Makefile"