ports/171584: lang/python32 built in a clean enviroment produces a package that conflicts with lang/python27

Marcus von Appen mva at FreeBSD.org
Sat Oct 6 17:26:10 UTC 2012


Koop Mast wrote on Mon, 24 Sep 2012:

> I don't have a solution for this issue, but I would like to point out
> that the next version of GNOME 3 (3.8 series) will switch to python 3.
> While I think that we can get away with having python 2.7 as default,
> having the two python versions conflict isn't going to help at all.

I do not see the issue with the ports system here, but rather with
package managers, which do not handle conditional behaviour in ports
well enough.

There would be several solutions:

* get rid completely of bin/2to3, bin/pydoc<PYMAJOR>, bin/idle<PYMAJOR,
  bin/python and so on, which is likely to break tons of ports and 3rd
  party software without a chance to ever fix this cleanly

* add the symlink creation for bin/python, etc. to the existing
  meta-package lang/python (where it belongs anyways in my opinion) and
  into relevant <PYMAJOR> meta-packages lang/python2, lang/python3,
  etc., which depend on a default version (usually the latest one),
  which can be overriden by users

* fix up or enhance the package managers to support the conditionals
  within the ports.

I would prefer the second solution, which manages the symlink creation
in own packages and ports.

Cheers
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20121006/4b1cac5c/attachment.pgp


More information about the freebsd-python mailing list