tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python32 and python33 dependencies from a package



Hi,

From: Greg Troxel <gdt%ir.bbn.com@localhost>, Date: Mon, 08 Jul 2013 07:34:10 
-0400

> 
> "OBATA Akio" <obache%netbsd.org@localhost> writes:
> 
>> It may not work as expected for the case PYTHON_VERSION_DEFAULT
>> is not in PYTHON_VERSIONS_ACCEPTED.
>>
>> It is not simple.
>>
>> For example, gobject-introspection appeared in the depends list,
>> and it depends on textproc/py-cElementTree, but it should not
>> try to install py32-cElementTree as a dependency.
> 
> I agree this is not straightforward, but it seems that once a package
> picks a python version, then any dependencies that are desired should be
> required with that same version.  Does this work at all?  Or is the
> problem intermediate dependencies via non-python programs, or that gedit
> is not a pyXX- prefixed program?

devel/libpeas supports python2 and python3 at the same time.
Some packages may depends on both of python2 and python3,
but current pkgsrc does not support such packages.

I have no idea about how to handle python dependency correctly.
But I imagine python2 buildlink and python3 buildlink may be separated.
So we may have python27 and python32, and packages may use python2 and/or
python3 by its requirements.

By the way, gtksourceview3 is reverted.
Because I cannot resolve the problem now.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index