pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] fix installation of wip/py-whel with differing pythons



On Mon, Jan 25, 2016 at 10:38:52AM +0100, Thomas Orgis wrote:
> attached is a patch that I applied to get to install wip/py-wheel both
> with python27 and python34, appending -${PYVERSSUFFIX} to the installed
> command.
> 
> I wouldn't mind if somebody applied that in the repo … or explained to
> me what is broken in my cargo-cult pkgsrc hacking and how it should be
> done. At least folks on #python meant that renaming bin/wheel is the
> thing to do.

This is fine. You can go one step further and add an ALTERNATIVES file
so that bin/wheel exists if you have the pkg_alternatives package
installed.

There are lots of examples for them in pkgsrc, and you already have
FILES_SUBST set.
 Thomas


Home | Main Index | Thread Index | Old Index