maturin shows textproc/py-toml as a build dependency, but it's also needed at runtime.
A commit references this bug: Author: kai Date: Fri Dec 4 10:41:36 UTC 2020 New revision: 556965 URL: https://svnweb.freebsd.org/changeset/ports/556965 Log: devel/py-maturin: Add missing RUN_DEPENDS * The RUN_DEPENDS are required when the maturin binary, which runs fine if issued directly, is used together with the Python code as a library. * Bump PORTREVISION due changed dependencies. PR: 251539 Reported by: andy@balholm.com Changes: head/devel/py-maturin/Makefile
(In reply to andy from comment #0) Committed, thank you for reporting it! I misread "setup.py" and then it slipped through the cracks as my test environment had textproc/py-toml still installed due to the BUILD_DEPENDS when I tested the import via Python.