[Bug 201343] science/py-scikit-sparse: Cannot build with python 3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 4 22:50:28 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201343

            Bug ID: 201343
           Summary: science/py-scikit-sparse: Cannot build with python 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Closed
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: john at saltant.com
                CC: python at FreeBSD.org
 Attachment #158349 maintainer-approval?(yuri at rawbw.com)
             Flags:
        Resolution: DUPLICATE
            Status: Closed

Created attachment 158349
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158349&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.

--- Comment #1 from John W. O'Brien <john at saltant.com> ---
Sorry for the accidental duplication.

*** This bug has been marked as a duplicate of bug 201346 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list