[freebsd] need py3 packages...

Valentin Nechayev netch at netch.kiev.ua
Sat Aug 5 21:50:06 EEST 2017


 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?), тут придётся дорабатывать как-то
ещё.
Но на вычитанное глазами проставление вручную работает, спасибо.

Грепать по user как-то не было привычки - тоже надо записать в методы
поиска...


-netch-


More information about the freebsd mailing list