Created attachment 222638 [details]
The proposed port.
The Python 2 was shipped with a bsddb185 module included and now this module is gone in Python 3. Here I offer for your consideration a FreeBSD port of this module from PyPI with patch set which allows to use it with Python 3.
Created attachment 223613 [details]
I've added an additional fix to the patchset and now attached it as a diff file.