Why devel/py-pip provides pip only for python2.7?

Matthew Seaman matthew at FreeBSD.org
Sat Feb 11 13:52:18 UTC 2017


On 11/02/2017 12:39, Daniil Berendeev wrote:
> What is the point of this layout?
> It's sad that there is no pip for python3.x in ports.
> Why is it not ported?

If you set

DEFAULT_VERSIONS += python=3.5

in make.conf and then build the py-pip port and its dependencies, then
you'll get pip for python-3.5.

The whole thing about installing pip-2.7 with a sym-linked pip is
actually anticipating a change in the ports infrastructure to be able to
build a full suite of python ports for each of the available versions of
python.  The unversioned pip sym-link would then exist just to call the
variant from the default python version.

Unfortunately, building all of the python ports for each of the
different python versions is not yet available, and it's going to take
some changes that will break other tools like portmaster to make it
happen.  So it's going to be some time coming.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170211/33436dd6/attachment.sig>


More information about the freebsd-questions mailing list