devel/py-cffi and devel/py-six are listed as build dependencies, they are also required at runtime for this python module to function as seen in the example below. user@cal ~ # pkg install python3 py37-bcrypt user@cal ~ # python3 -c 'import bcrypt' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.8/site-packages/bcrypt/__init__.py", line 25, in <module> from . import _bcrypt ModuleNotFoundError: No module named '_cffi_backend' These missing dependencies are causing issues for other packages that require security/py-bcrypt ie bug #245906, comment #13
(In reply to Andrew Fyfe from comment #0) There was a copy paste error in the above example, I've tested this with both Python 3.7 and 3.8: user@cal ~ # pkg install python3 py37-bcrypt user@cal ~ # python3 -c 'import bcrypt' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.7/site-packages/bcrypt/__init__.py", line 25, in <module> from . import _bcrypt ModuleNotFoundError: No module named '_cffi_backend'
Confirmed, thanks for reporting it.
A commit references this bug: Author: dbaio Date: Sat Sep 12 01:56:08 UTC 2020 New revision: 548276 URL: https://svnweb.freebsd.org/changeset/ports/548276 Log: security/py-bcrypt: Fix runtime dependencies PR: 249235 Reported by: Andrew Fyfe <andrew@neptune-one.net> MFH: 2020Q3 (blanket: runtime fix) Changes: head/security/py-bcrypt/Makefile
A commit references this bug: Author: dbaio Date: Sat Sep 12 01:59:18 UTC 2020 New revision: 548277 URL: https://svnweb.freebsd.org/changeset/ports/548277 Log: MFH: r548276 security/py-bcrypt: Fix runtime dependencies PR: 249235 Reported by: Andrew Fyfe <andrew@neptune-one.net> Approved by: ports-secteam (blanket: runtime fix) Changes: _U branches/2020Q3/ branches/2020Q3/security/py-bcrypt/Makefile
Committed, thank you!