[Bug 224029] sysutils/py-salt: builds for python 3.6???

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 1 23:17:55 UTC 2017


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

            Bug ID: 224029
           Summary: sysutils/py-salt: builds for python 3.6???
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: ports at thelanman.net
                CC: christer.edwards at gmail.com
                CC: christer.edwards at gmail.com
             Flags: maintainer-feedback?(christer.edwards at gmail.com)

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?

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


More information about the freebsd-ports-bugs mailing list