* Copy graphics/py-pygraphviz: svn copy graphics/py-pygraphviz graphics/py3-pygraphviz * Update to USES=python:3 * Update TEST_DEPENDS from devel/py-nose to devel/py3-nose (also a new port) [1] * Add LICENSE=BSD3CLAUSE as per LICENSE file in distfile * Take maintainership - happy to either do this myself or leave with python@FreeBSD.org if that is more appropriate [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207036
This new port is required to fulfill the Python 3.2+ dependencies of the latest upstream version of science/gramps.
Created attachment 166772 [details] Patch to update graphics/py3-pygraphviz (after svn copy) This patch should be applied after performing the following command: svn copy graphics/py-pygraphviz graphics/py3-pygraphviz svn patch <insertpatch>
Created attachment 166773 [details] QA: Successful poudriere testport logs for graphics/py3-pygraphviz on FreeBSD 10.2 amd64
Created attachment 167245 [details] Patch to create graphics/py3-pygraphviz (using graphics/py-pygraphviz as MASTERDIR) This patch changes the approach for the new port graphics/py3-pygraphviz to use the existing port graphics/py-pygraphviz as the MASTERDIR. * Create new port graphics/py3-pygraphviz * New port specifies USES=python:3.4+ [2] * New port changes TEST_DEPENDS to devel/py3-nose (also a new port) [1] * Update index devel/Makefile * Ensure graphics/py-pygraphviz does not clobber variables in slave port * While here, add LICENSE and LICENSE_FILE details to graphics/py-pygraphviz [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207036 [2] http://pygraphviz.github.io/documentation/pygraphviz-1.3.1/install.html#requirements
Created attachment 167246 [details] QA: Successful poudriere testport logs for graphics/py3-pygraphviz on FreeBSD 10.2 amd64
(In reply to Ben Woods from comment #4) > * Update index devel/Makefile This is a typing mistake, and should instead have read: * Update index in graphics/Makefile
Created attachment 169056 [details] Patch to create graphics/py3-pygraphviz (using graphics/py-pygraphviz as MASTERDIR) Patch updated to apply cleanly against recent changes to graphics/py-graphviz
This diff has been added to phabricator for review: https://reviews.freebsd.org/D6281
A commit references this bug: Author: woodsb02 Date: Wed May 18 16:54:52 UTC 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 Changes: head/graphics/Makefile head/graphics/py-pygraphviz/Makefile head/graphics/py3-pygraphviz/ head/graphics/py3-pygraphviz/Makefile