[CFT] lang/python becoming a python binary wrapper
David Demelier
demelier.david at gmail.com
Thu Aug 29 08:48:31 UTC 2013
2013/8/2 Marcus von Appen <mva at 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
More information about the freebsd-python
mailing list