> On 27 Apr, 2020, at 05:54, Samy Mahmoudi wrote:
>
> Hi,
>
> What about using the meta-port lang/python ? You could write something like
> the following lines in your documentation:
> PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed "s/python//"`
> pkg install py${PY}-babel
>
>
On 2020-04-27 09:10, Baptiste Daroussin wrote:
On Mon, Apr 27, 2020 at 08:23:09AM +0200, Miroslav Lachman wrote:
On 2020-04-26 21:37, Muhammad Moinur Rahman wrote:
What is the way of mentioning about installing a py-package in documentation?
Let’s say now the default version of python is 3.7
On Mon, Apr 27, 2020 at 08:23:09AM +0200, Miroslav Lachman wrote:
> On 2020-04-26 21:37, Muhammad Moinur Rahman wrote:
> > What is the way of mentioning about installing a py-package in
> > documentation? Let’s say now the default version of python is 3.7 so in
> > most of the cases we can write
On 2020-04-26 21:37, Muhammad Moinur Rahman wrote:
What is the way of mentioning about installing a py-package in documentation?
Let’s say now the default version of python is 3.7 so in most of the cases we
can write in our documentation that do the following:
# pkg install py37-babel
You
> PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed
"s/python//"`
You can even replace head with a sed command if you need to save some
characters on the line:
PY=`pkg rquery -r FreeBSD "%dn" lang/python | sed "s/python//;1q"`
>
___
Hi,
What about using the meta-port lang/python ? You could write something like
the following lines in your documentation:
PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed "s/python//"`
pkg install py${PY}-babel
"-r FreeBSD" can indeed be ommited in a default configuration where the