[Bug 223136] databases/py-gdbm: Fix Python 3 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 20 21:11:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223136

            Bug ID: 223136
           Summary: databases/py-gdbm: Fix Python 3 support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: greg at unrelenting.technology
             Flags: maintainer-feedback?(python at FreeBSD.org)
          Assignee: python at FreeBSD.org

Created attachment 187336
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187336&action=edit
py-gdbm.patch

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list