Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 10:48:28 +0200
From:      David Demelier <demelier.david@gmail.com>
To:        Marcus von Appen <mva@freebsd.org>, python@freebsd.org, portmgr@freebsd.org
Subject:   Re: [CFT] lang/python becoming a python binary wrapper
Message-ID:  <CAO%2BPfDc3UBCE3F%2BuegkCrMrv5mF0C7=J5JtTZ3QYqQMaJkEFrw@mail.gmail.com>
In-Reply-To: <20130802180059.GA1278@medusa.sysfault.org>
References:  <20130802180059.GA1278@medusa.sysfault.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/8/2 Marcus von Appen <mva@freebsd.org>:
> Dear all,
>
> as discussed previously on this list, users would love to install the
> same python for multiple python versions.
>
> Besides other issues (which I'll summarize in a different mail), one
> problem, especially for binary packages, are the "am I the default?"
> assumptions of lang/pythonXX.
>
> The attached patch moves that logic into lang/python, instead of
> maintaining the IF_DEFAULT magic within the individual python ports.
> This will allow binary packages to be installed side by side without any
> hacks, but also requires users, which are now happily using
> /usr/local/bin/python (being created by lang/pythonXX) to install
> lang/python explicitly (UPDATING entry should be sufficient).
>
> If there are no objections, I'll commit the change on the next weekend
> (09.08.+). Please take your time to test. If portmgr@ feels this might
> be a bit risky (ports implying /usr/local/bin/python based on
> lang/pythonXX), please issue an exp-run beforehand.
>
> Cheers
> Marcus

It's weird, I still have some conflicts with the new wrappers:

Proceed with installing packages [y/N]: y
Checking integrity...
Conflict found on path /usr/local/bin/2to3-3 between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/idle3 between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/pydoc3 between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/python-shared3 between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/python-shared3-config between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/python3 between
python2-3(lang/python2) and python3-3(lang/python3)

Conflict found on path /usr/local/bin/python3-config between
python2-3(lang/python2) and python3-3(lang/python3)

Why 2to3-3 conflicts since it should only be installed by python3.3 ?

Cheers,

-- 
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDc3UBCE3F%2BuegkCrMrv5mF0C7=J5JtTZ3QYqQMaJkEFrw>