Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2017 22:48:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215885] sysutils/py-salt is missing configuration options
Message-ID:  <bug-215885-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jhujhiti@adjectivism.org
                CC: christer.edwards@gmail.com
             Flags: maintainer-feedback?(christer.edwards@gmail.com)
                CC: christer.edwards@gmail.com

Created attachment 178640
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178640&action=
=3Dedit
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=3D425737=
&r2=3D427901
). 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 hav=
ing
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 ge=
ts
the job done by abusing PYDISTUTILS_INSTALL_TARGET. The list of arguments h=
ere
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.

--=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-215885-13>