Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 09:06:46 +0100
From:      Marcus von Appen <mva@freebsd.org>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: What should be in scripts shebangs for python2?
Message-ID:  <20140220090646.Horde.qZ-Zk2-10ldWyYYsdb3nIg2@webmail.df.eu>
In-Reply-To: <607902872.20140220111424@serebryakov.spb.ru>
References:  <254945186.20140219190201@serebryakov.spb.ru> <20140219165500.Horde.vg_cyo2bAuxp6Rlju1rQeQ1@webmail.df.eu> <607902872.20140220111424@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Lev Serebryakov <lev@freebsd.org>:

> Hello, Marcus.
> You wrote 19 февраля 2014 г., 19:55:00:
>
>
> MvA> In short:
> MvA> * Use ${PYTHON_CMD} to replace the shebang lines or references of the
> MvA> python command
>   So, it is not possible to use "static" patch? It is pity :(

It should be avoided, if possible. Especially, when it is a shebang  
line, since
we have a quite powerful mechanism to replace shebangs with minimal effort.

> MvA> * Use the proper supported python version (yes for any, 2 or 3 for a
> MvA> branch, X.Y for a release)
> MvA>    for USE_PYTHON_BUILD
>  I've hoped, that USE_PYTHON_BUILD=2 guarantee me, that here is
> /usr/local/bin/python2 in system, but looks like it depends on something
> else.

No, USE_PYTHON_BUILD=2 should provide lang/python2, which will install
/usr/local/bin/python2. This works for many ports, so I have no idea,  
what's wrong
with your port. Do you mind to send me a shar of the port, so I can  
have a look?

[...]

Cheers
Marcus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140220090646.Horde.qZ-Zk2-10ldWyYYsdb3nIg2>