From owner-freebsd-python@freebsd.org Sat Jul 4 22:00:23 2015 Return-Path: Delivered-To: freebsd-python@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 C916496C0 for ; Sat, 4 Jul 2015 22:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ADE071D09 for ; Sat, 4 Jul 2015 22:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ACE4596BE; Sat, 4 Jul 2015 22:00:23 +0000 (UTC) Delivered-To: python@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 AB66C96BD for ; Sat, 4 Jul 2015 22:00:23 +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 777751D05 for ; Sat, 4 Jul 2015 22:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t64M0NuA049057 for ; Sat, 4 Jul 2015 22:00:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 201346] science/py-scikit-sparse: Cannot build with py3k Date: Sat, 04 Jul 2015 22:00:23 +0000 X-Bugzilla-Reason: CC 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: john@saltant.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@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 cc 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-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 22:00:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201346 Bug ID: 201346 Summary: science/py-scikit-sparse: Cannot build with py3k Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: john@saltant.com CC: python@FreeBSD.org, yuri@rawbw.com CC: yuri@rawbw.com Flags: maintainer-feedback?(yuri@rawbw.com) Created attachment 158351 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158351&action=edit science/py-scikit-sparse: Use print function in test_cholmod The stage target fails with: ==== byte-compiling /wrkdirs/usr/ports/science/py-scikit-sparse/work/stage/usr/local/lib/python3.4/site-packages/scikits/sparse/test_cholmod.py to test_cholmod.cpython-34.pyc writing byte-compilation script '/tmp/tmpu41n5nsp.py' /usr/local/bin/python3.4 -O /tmp/tmpu41n5nsp.py File "/usr/local/lib/python3.4/site-packages/scikits/sparse/test_cholmod.py", line 56 print "dense" ^ SyntaxError: Missing parentheses in call to 'print' ==== The cause is self-explanatory. The attached patch corrects this and allows this port to be built under python 3. While here, update WWW in pkg-descr to match the README and the redirect from Google Code. Note: I tried to interact properly with the maintainer feedback flags on this bug, but got a variety of nonsensical, inconsistent errors, so I gave up and submitted it without setting the maintainer feedback flag at all, even though I know it should be set. -- You are receiving this mail because: You are on the CC list for the bug.