I'm compiling this port via poudriere, with the Python version set to 3.5. The packaging step fails because the plist specifies .pyc and .pyo files without ".cpython-25" in front of the .py[co]. Either the plist needs to be adjusted or the port needs to switch to using autoplist. I'm not sure how this works on Python 2.x, but this port doesn't work on Python 2.x any more anyways. Current PLIST: %%PYTHON_SITELIBDIR%%/policydspfsupp.py %%PYTHON_SITELIBDIR%%/policydspfsupp.pyo %%PYTHON_SITELIBDIR%%/policydspfsupp.pyc %%PYTHON_SITELIBDIR%%/policydspfuser.py %%PYTHON_SITELIBDIR%%/policydspfuser.pyo %%PYTHON_SITELIBDIR%%/policydspfuser.pyc Proposed updated PLIST: %%PYTHON_SITELIBDIR%%/policydspfsupp.cpython-%%PYVER%%.py %%PYTHON_SITELIBDIR%%/policydspfsupp.cpython-%%PYVER%%.pyo %%PYTHON_SITELIBDIR%%/policydspfsupp.cpython-%%PYVER%%.pyc %%PYTHON_SITELIBDIR%%/policydspfuser.cpython-%%PYVER%%.py %%PYTHON_SITELIBDIR%%/policydspfuser.cpython-%%PYVER%%.pyo %%PYTHON_SITELIBDIR%%/policydspfuser.cpython-%%PYVER%%.pyc
With python2.7 the old pkg-plist is right.
Created attachment 175118 [details] Fix packaging with both python branches Hi, would you approve this patch? It is fixing packaging both with python2 and python3 set as default.
A commit references this bug: Author: rm Date: Sun Oct 9 09:06:28 UTC 2016 New revision: 423581 URL: https://svnweb.freebsd.org/changeset/ports/423581 Log: mail/postfix-policyd-spf-python: fix packaging with python3 Make the port use autoplist feature to let it package both with python2 and python3. PR: 212064 Reported by: Joseph Mulloy <freebsd-bugs@joe.mulloy.me> Approved by: maintainer timeout (14 days) Changes: head/mail/postfix-policyd-spf-python/Makefile head/mail/postfix-policyd-spf-python/pkg-plist
Fixed, thanks for reporting.