Python dependencies for ports requiring Python 3

Shane Ambler FreeBSD at ShaneWare.Biz
Mon Apr 4 08:23:49 UTC 2016

On 03/04/2016 23:01, Andrew Berg wrote:
> On 2016.04.03 07:36, Raphael Kubo da Costa wrote:
>> Hi, everyone,
>> I've been helping get archivers/py-borgbackup (bug 207715) committed for
>> a while now.
>> The last remaining blocker is the fact that the port has
>> USES=python:3.4+ and depends on other Python ports, namely
>> devel/py-setuptools_scm, devel/py-msgpack-python and devel/py-llfuse.
>> This means the port will try to require/install the Python 3 versions of
>> those ports which are not built by default and not present in Poudriere
>> builds if one does not explicitly build Python 3 packages.
> This is a ports limitation that would be overcome by support for
> variants[1]. However, it is uncertain when all of the little issues
> blocking variants support will be resolved. The dependency problem you
> mention is the same reason that many other ports (e.g. Samba) cannot be
> built when the default is Python 3. Kubilay's suggestion to create py3-
> ports is mainly a workaround to give you something close enough to
> variants that would allow this. These ports would need to be created,
> maintained, and then culled when we have proper support for variants.
> The alternative would be to simply wait until we have variants support.
> [1]

As I commented on bug 203760 - net/s3ql

We can work around test building in poudriere and leave py3 only ports 
as manual port builds for users by using NO_PACKAGE until this is resolved.

Pressure to support multiple python versions is increasing so we 
shouldn't have to wait too much longer.

FreeBSD - the place to B...Software Developing

Shane Ambler

More information about the freebsd-python mailing list