[Bug 212064] Packaging of mail/postfix-policyd-spf-python fails due to out of date plist with Python 3.5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 22 20:46:21 UTC 2016


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

            Bug ID: 212064
           Summary: Packaging of mail/postfix-policyd-spf-python fails due
                    to out of date plist with Python 3.5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: freebsd-bugs at joe.mulloy.me
                CC: me at mortis.eu
             Flags: maintainer-feedback?(me at mortis.eu)
                CC: me at mortis.eu

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

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


More information about the freebsd-ports-bugs mailing list