On 06.08.2017 01:50, Valentin Nechayev wrote:
>  Sun, Aug 06, 2017 at 00:30:14, eugen wrote about "Re: [freebsd] need py3 
> packages...": 
> 
>> $ fgrep -A 6 user: /usr/ports/Mk/Uses/python.mk
>> # Variables, which can be set by a user:
>> #
>> # PYTHON_VERSION        - The chosen Python interpreter including the 
>> version,
>> #                         e.g. python2.7, python3.3, etc. This allows the 
>> user
>> #                         to override the currently chosen default version 
>> and
>> #                         to install the port for a specific Python version.
>> #                         It must not be set by a port.
>>
>> То есть, пишешь PYTHON_VERSION=python3.5 в /etc/make.conf и получаешь 
>> py35-scipy-0.19.0_2
> 
> Ага, похоже, работает.
> 
> Писать в make.conf это не совсем уместно (например, если мне нужны
> впараллель py27-scipy и py35-scipy?), тут придётся дорабатывать как-то
> ещё.

Вроде бы синтаксис PYTHON_VERSION?=python3.5 никто не отменял.
Когда надо 2.7, легко переопределить.


_______________________________________________
freebsd mailing list
freebsd@uafug.org.ua
http://mailman.uafug.org.ua/mailman/listinfo/freebsd

Ответить