Bug 224029

Summary: sysutils/py-salt: builds for python 3.6???
Product: Ports & Packages Reporter: Henrik Hudson <ports>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: ari, christer.edwards, jhujhiti
Priority: --- Flags: bugzilla: maintainer-feedback? (christer.edwards)
Version: Latest   
Hardware: Any   
OS: Any   

Description Henrik Hudson 2017-12-01 23:17:54 UTC
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:

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?
Comment 1 ari 2017-12-11 05:22:48 UTC
This looks like a bug and they should be removed.
Comment 2 Po-Chuan Hsieh freebsd_committer 2017-12-12 13:37:16 UTC
Committed. Thanks!
Comment 3 commit-hook freebsd_committer 2017-12-12 13:38:16 UTC
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

  Fix packaging on Python 3+ and unbreak this port

  PR:		224029
  Reported by:	Henrik Hudson <ports@thelanman.net>
  Approved by:	portmgr (blanket)