[Bug 259510] cad/py-cadquery: Update to latest version with working dependencies.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Oct 2021 20:37:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259510

rsmith@xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsmith@xs4all.nl

--- Comment #1 from rsmith@xs4all.nl ---
I've been trying these new and patched ports that Neal pointed me to.

Through testing I found that cadquery also requires math/nlopt:

~/github/cadquery/examples> python Ex001_Simple_Block.py
Traceback (most recent call last):
  File "/home/rsmith/github/cadquery/examples/Ex001_Simple_Block.py", line 1,
in <module>
    import cadquery as cq
  File "/usr/local/lib/python3.9/site-packages/cadquery/__init__.py", line 31,
in <module>
    from .assembly import Assembly, Color, Constraint
  File "/usr/local/lib/python3.9/site-packages/cadquery/assembly.py", line 10,
in <module>
    from .occ_impl.solver import (
  File "/usr/local/lib/python3.9/site-packages/cadquery/occ_impl/solver.py",
line 5, in <module>
    import nlopt
ModuleNotFoundError: No module named 'nlopt'

After installing math/nlopt it works.

P.S: should we modify math/nlopt to make guile bindings optional?

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