Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 12:23:36 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        freebsd-ports@freebsd.org, freebsd-pkg@freebsd.org
Subject:   Re: Parallel python package support with pkg
Message-ID:  <53E82928.7090100@FreeBSD.org>
In-Reply-To: <20140809212441.GA1023@medusa.sysfault.org>
References:  <20140809212441.GA1023@medusa.sysfault.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/08/2014 7:24 AM, Marcus von Appen wrote:
> Dear all,
> 
> the pkg team created something outstanding with pkg 1.3, which you might have
> missed. Since version 1.3, pkg supports the installation of packages, which
> share the same origin (location in the ports tree), but have different package
> names.
> 
> In practice, this means that you can install e.g. a python module for two
> different Python versions at the same time with pkg now (a last fix for it was
> provided on August, the 8th, for the ports, so make sure to update your ports
> tree beforehand).
> 
> To install a python module for different Python version, you just have to
> provide PYTHON_VERSION=pythonX.Y at the command line:
> 
>   # go to py-tkinter
>   $ cd /usr/ports/x11-toolkits/py-tkinter
> 
>   # install it for the default python (2.7)
>   $ make install clean
> 
>   # install it for python 3.3, too
>   $ make PYTHON_VERSION=python3.3 install clean
> 
>   # check the installed packages
>   $ pkg info \*tkinter
>   py27-tkinter-2.7.8_5
>   py33-tkinter-3.3.5_5
> 
> Please note, that this will not work for all python ports yet. Those, which
> install conflicting files (most often applications or configuration files),
> will still create a conflict. If you need to offer that specific port for
> different python versions at the same time, you may want to follow up with the
> maintainer and our python team.
> 
> If you are a maintainer and wish to enable your port for different python
> versions, but something blocks you, get in touch with our python team for
> assistance.
> 
> You can find our contact details at https://wiki.freebsd.org/Python.
> 
> Cheers
> Marcus on behalf of python@
> 

This is a major step forward for the FreeBSD/Python Ecosystem, thank you
everyone involved!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E82928.7090100>