Summary: | science/py-scikit-sparse: Cannot build with python 3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John W. O'Brien <john> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed DUPLICATE | ||||||
Severity: | Affects Only Me | CC: | python | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Sorry for the accidental duplication. *** This bug has been marked as a duplicate of bug 201346 *** |
Created attachment 158349 [details] 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.