Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2017 23:17:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224029] sysutils/py-salt: builds for python 3.6???
Message-ID:  <bug-224029-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224029

            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@FreeBSD.org
          Reporter: ports@thelanman.net
                CC: christer.edwards@gmail.com
                CC: christer.edwards@gmail.com
             Flags: maintainer-feedback?(christer.edwards@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.=20

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 specif=
ied
in the pkg-plist?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224029-13>