From owner-freebsd-ports-bugs@freebsd.org Mon Jul 27 18:43:18 2015 Return-Path: Delivered-To: freebsd-ports-bugs@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 8DED09ACC32 for ; Mon, 27 Jul 2015 18:43:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 74D23802 for ; Mon, 27 Jul 2015 18:43:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6RIhIng007650 for ; Mon, 27 Jul 2015 18:43:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201930] [UPDATE] devel/py-Jinja2 to 2.8 Date: Mon, 27 Jul 2015 18:43:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivierd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nivit@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 18:43:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201930 Bug ID: 201930 Summary: [UPDATE] devel/py-Jinja2 to 2.8 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: nivit@FreeBSD.org Reporter: olivierd@FreeBSD.org Flags: maintainer-feedback?(nivit@FreeBSD.org) Assignee: nivit@FreeBSD.org Created attachment 159315 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159315&action=edit Patch to update devel/py-Jinja2 - Update to 2.8 - Remove unneeded patch Note: devel/py-Jinja2-doc build fine with Python2, but with Python3 I got this error (py34-Jinja2 is correctly installed and functional): [...] creating build/lib/sphinx/ext/autosummary/templates creating build/lib/sphinx/ext/autosummary/templates/autosummary copying sphinx/ext/autosummary/templates/autosummary/base.rst -> build/lib/sphinx/ext/autosummary/templates/autosummary copying sphinx/ext/autosummary/templates/autosummary/class.rst -> build/lib/sphinx/ext/autosummary/templates/autosummary copying sphinx/ext/autosummary/templates/autosummary/module.rst -> build/lib/sphinx/ext/autosummary/templates/autosummary cd /usr/ports/textproc/py-sphinx/work/Sphinx-1.3.1/build/lib && /usr/bin/env PYTHONPATH=/usr/ports/textproc/py-sphinx/work/Sphinx-1.3.1/build/lib:/usr/local/lib/python3.4/site-packages /usr/local/bin/python3.4 -m sphinx.pycode.pgen2.driver -c 'import load_grammar' Traceback (most recent call last): File "/usr/local/lib/python3.4/runpy.py", line 151, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name) File "/usr/local/lib/python3.4/runpy.py", line 104, in _get_module_details spec = importlib.util.find_spec(mod_name) File "/usr/local/lib/python3.4/importlib/util.py", line 86, in find_spec parent = __import__(parent_name, fromlist=['__path__']) File "/usr/ports/textproc/py-sphinx/work/Sphinx-1.3.1/build/lib/sphinx/pycode/__init__.py", line 22, in from sphinx.util import get_module_source, detect_encoding File "/usr/ports/textproc/py-sphinx/work/Sphinx-1.3.1/build/lib/sphinx/util/__init__.py", line 29, in import jinja2 File "/usr/local/lib/python3.4/site-packages/jinja2/__init__.py", line 33, in from jinja2.environment import Environment, Template File "/usr/local/lib/python3.4/site-packages/jinja2/environment.py", line 14, in from jinja2.defaults import BLOCK_START_STRING, \ File "/usr/local/lib/python3.4/site-packages/jinja2/defaults.py", line 31, in from jinja2.filters import FILTERS as DEFAULT_FILTERS File "/usr/local/lib/python3.4/site-packages/jinja2/filters.py", line 19, in from jinja2.runtime import Undefined File "/usr/local/lib/python3.4/site-packages/jinja2/runtime.py", line 446, in class Undefined(object): File "/usr/local/lib/python3.4/site-packages/jinja2/runtime.py", line 525, in Undefined __bool__ = __nonzero__ NameError: name '__nonzero__' is not defined *** Error code 1 Stop. make: stopped in /usr/ports/textproc/py-sphinx -- You are receiving this mail because: You are the assignee for the bug.