[Bug 227893] mail/py-dkimpy: support both Python 2 and 3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 1 11:03:45 UTC 2018


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

            Bug ID: 227893
           Summary: mail/py-dkimpy: support both Python 2 and 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: seschwar at gmail.com
                CC: ports at caomhin.org
             Flags: maintainer-feedback?(ports at caomhin.org)
                CC: ports at caomhin.org

Created attachment 192962
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192962&action=edit
py-dkimpy-0.7.1_1.diff

As mentioned in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225742#c4
dkimpy supports several DNS backends:

- dnspython
- milter
- pydns

Only one of them is needed for the library to work.  dnspython
is the one recommended by upstream and unlike the other
libraries supports both Python 2 and 3.  Therefore dnspython
should be used and the unneeded dependency on milter should be
dropped.

The dependency can be removed safely.  milter is only called in
a single place when dnspython isn't available:

https://bazaar.launchpad.net/~dkimpy-hackers/dkimpy/trunk/view/head:/dkim/dnsplug.py#L65

This allows mail/py-dkimpy and therefore ports depending on it
to be built for both Python 2 and 3.

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


More information about the freebsd-ports-bugs mailing list