Created attachment 229098 [details] Git diff of new port. New port math/nptyping: Type hints for Numpy This port is needed for an upcoming update to cad/py-cadquery. Please note that this port uses github rather than the CHEESESHOP because the latter only provides a wheel.
I've been trying Neal's patches to get cadquery to work. (BTW; Great work Neal, much appreciated!) When I've installed his ports and patches, I get the following error from one of the cadquery examples: ~/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 2, in <module> from nptyping import NDArray as Array File "/usr/local/lib/python3.9/site-packages/nptyping/__init__.py", line 2, in <module> from nptyping.functions._get_type import get_type File "/usr/local/lib/python3.9/site-packages/nptyping/functions/_get_type.py", line 9, in <module> from typish import ClsFunction ModuleNotFoundError: No module named 'typish' So it seems that https://github.com/ramonhagenaars/typish is required. I installed typish-1.9.3 (current version) and that seems to work.
Created attachment 229198 [details] Git diff of new port. Oops. Sorry about that. I had already made the typish port, but it got lost in the flurry of new ports required for this CadQuery update. I've submitted it as #259596, which will need to be committed before this port can be committed. For me this highlights a deficiency in the git workflow for ports as I am unable to test a port with poudriere that depends on another port that has not yet been committed. This is why I've been submitting new ports in dribs and drabs for this CadQuery update.
Thanks Neal, Could you confirm/update based on review items provided in bug 259596 and additionally review the port through https://wiki.freebsd.org/Python/PortsPolicy