maturin shows textproc/py-toml as a build dependency, but it's also needed at runtime.
A commit references this bug:
Date: Fri Dec 4 10:41:36 UTC 2020
New revision: 556965
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.
Reported by: email@example.com
(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.