Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 17:22:31 +0200
From:      Marcus von Appen <mva@FreeBSD.org>
To:        Dmitry Sivachenko <trtrmitya@gmail.com>
Cc:        python@freebsd.org
Subject:   Re: [CFT] lang/python becoming a python binary wrapper
Message-ID:  <20130916152231.GA1391@medusa.sysfault.org>
In-Reply-To: <598601A1-A36E-40D0-8C64-B7892CF7F71F@gmail.com>
References:  <20130802180059.GA1278@medusa.sysfault.org> <598601A1-A36E-40D0-8C64-B7892CF7F71F@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On, Mon Sep 16, 2013, Dmitry Sivachenko wrote:

> Hello,
>
> Imagine the following scenario:
> I have both python2 and python3 installed.
> I want python2 to be the default version (lang/python port installs
> python -> python2.7, etc).
>
>
> Then I want to build another port with python3 dependency.
>
> I put USE_PYTHON=3.3+ in port's Makefile, but it depends on lang/python which pulls python2.7 too.
>
> How can I build a python module with 3.X only dependency?

Right now this can only be arranged with a hack in Mk/bsd.python.mk,
line 581 and following. Those pull in lang/python, since many ports
depend on bin/python, although they are only compatible with a specific
python version.
Solving this issue and making ports depend on lang/python2 OR
lang/python3 OR a specific python version is on the agenda, but will
take some time, since many ports, that python scripts, have to be checked.

We happily invite everyone to check ports for those issues, report back
to us or provide fixes to solve this faster ;-).

Cheers
Marcus

--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlI3IjcACgkQi68/ErJnpkefGACfZSOXTP7eKeDOoB9mjjHl0fDc
LfYAmwWNgiCdT0Rg50WgfGsAImcW7qCX
=yKvW
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



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