Created attachment 190405 [details] mail/py-dkimpy-0.7.0.patch Also replace dns/py-dns dependency with dns/py-dnspython. The former only support Python 2 while the latter supports both Python 2 and 3. It is recommended by the software's own README over the former one.
Looks fine to me
A commit references this bug: Author: yuri Date: Sat Feb 10 08:23:06 UTC 2018 New revision: 461364 URL: https://svnweb.freebsd.org/changeset/ports/461364 Log: mail/py-dkimpy: Update to 0.7.0 Additional port changes: * DISTVERSION * Added dependencies: * mail/py-authres * mail/py-milter (unfortunately py27-only) * security/py-pynacl * Replaced dependencies: * dns/py-dns -> dns/py-dnspython (allows py36 now) * Added USE_PYTHON=concurrent. * Added patch fixing manpage path. PR: 225742 Submitted by: Sebastian Schwarz <seschwar@gmail.com> Approved by: Kevin Golding <ports@caomhin.org> (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D14293 Changes: head/mail/py-dkimpy/Makefile head/mail/py-dkimpy/distinfo head/mail/py-dkimpy/files/ head/mail/py-dkimpy/files/patch-setup.py
Committed with additions. Thank you for your submission!
milter is used in a single place only when dnspython isn't available: https://bazaar.launchpad.net/~dkimpy-hackers/dkimpy/trunk/view/head:/dkim/dnsplug.py#L65 Since the port depends on that now the dependency on mail/py-milter can be removed. This would allow this port and everyone depending on this to be built for Python 3 again.
(In reply to Sebastian Schwarz from comment #4) Ok, thanks, I will take a look. Yuri