So, I noticed that py-salt is marked as broken for Python 3.4 - 3.6 . However, this only appears to be because of the 2 reference to .pyc and .pyo files in the pkg-plist Python 2.7 stores the bytecode and optimized files with the .py file while Python 3+ seems to use a __pycache__ folder. If I remove the lines: %%PYTHON_SITELIBDIR%%/salt/_syspaths.pyc %%PYTHON_SITELIBDIR%%/salt/_syspaths.pyo from pkg-plist it seems to work just fine. I haven't installed it yet, but it builds. So, I guess the question is..is there a reason the .pyc and .pyo are specified in the pkg-plist?
This looks like a bug and they should be removed.
Committed. Thanks!
A commit references this bug: Author: sunpoet Date: Tue Dec 12 13:35:38 UTC 2017 New revision: 456165 URL: https://svnweb.freebsd.org/changeset/ports/456165 Log: Fix packaging on Python 3+ and unbreak this port PR: 224029 Reported by: Henrik Hudson <ports@thelanman.net> Approved by: portmgr (blanket) Changes: head/sysutils/py-salt/Makefile head/sysutils/py-salt/pkg-plist