Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2015 22:00:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201346] science/py-scikit-sparse: Cannot build with py3k
Message-ID:  <bug-201346-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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 the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201346-13>