[Bug 215885] sysutils/py-salt is missing configuration options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 8 22:48:54 UTC 2017


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

            Bug ID: 215885
           Summary: sysutils/py-salt is missing configuration options
           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: jhujhiti at adjectivism.org
                CC: christer.edwards at gmail.com
             Flags: maintainer-feedback?(christer.edwards at gmail.com)
                CC: christer.edwards at gmail.com

Created attachment 178640
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178640&action=edit
patch restoring proper behavior using PYDISTUTILS_INSTALL_TARGET

r427901 removes the install arguments from sysutils/py-salt installation (
https://svnweb.freebsd.org/ports/head/sysutils/py-salt/Makefile?r1=425737&r2=427901
). The removal of these arguments causes Salt to be built with an invalid
syspaths.py, particularly if installed somewhere other than /usr/local. As of
2016.11.0, the arguments cause an error, which I traced back to this PR having
been included in the release:
https://github.com/saltstack/salt/pull/31097/files . The removed code was
deprecated, but included instructions on how to make the arguments continue to
work: simply move them earlier in the command (ie., "python setup.py <args>
install" instead of "python setup.py install <args>").

This is quite frustrating since python.mk (apparently) provides no elegant way
to specify arguments earlier in the command. However, the attached patch gets
the job done by abusing PYDISTUTILS_INSTALL_TARGET. The list of arguments here
is the same as those that existed prior to the port being upgraded to
2016.11.0, minus --prefix, which is implied in python.mk.

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


More information about the freebsd-ports-bugs mailing list