Created attachment 187336 [details]
This tiny, one-character patch fixes Python 3 support :D
Python 3 expects the library to be named _gdbm, not just gdbm. After this change, 'import dbm.gnu as gdbm' no longer fails.
ping. Can we get this merged soon??
A commit references this bug:
Date: Fri Dec 29 18:47:42 UTC 2017
New revision: 457528
Fix _gdbm module for Python 3
- Bump PORTREVISION for package change
Submitted by: Greg V <firstname.lastname@example.org>
When trying to update net/py-avahi to use Python 3, I got the following error:
checking for python module gdbm... no
configure: error: Could not find Python module gdbm
The script searches for modules by running this python code
After this PR, the module is named _gdbm, which seems to be the source of problem.
Is adding _ really proper solution? Or maybe it is avahi problem?