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
From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Mon, 08 Jul 2013
22:16:59 +0900 (JST)
> From: "OBATA Akio" <obache%NetBSD.org@localhost>, Date: Mon, 08 Jul 2013
> 22:03:29 +0900
>
>> On Mon, 08 Jul 2013 21:32:26 +0900, Ryo ONODERA
>> <ryo_on%yk.rim.or.jp@localhost>
>> wrote:
>>
>>> From: "OBATA Akio" <obache%NetBSD.org@localhost>, Date: Mon, 08 Jul 2013
>>> 21:24:57 +0900
>>>
>>>> On Mon, 08 Jul 2013 20:34:10 +0900, Greg Troxel <gdt%ir.bbn.com@localhost>
>>>> wrote:
>>>>
>>>>>
>>>>> "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?
>>>>
>>>> `clean-depends' target (in mk/bsd.pkg.clean.mk) is using
>>>> _DEPNDS_WALK_CMD,
>>>> and it will just return list of PKGPATH for dependency (no PKGNAME
>>>> information).
>>>> So all of PKGNAME appeared in the result of `clean-depends' will be
>>>> generated
>>>> with default settings (with python version = PYTHON_VERSION_DEFAULT).
>>>
>>> I see.
>>> But "make depends" also does not pick up py32 packages in its
>>> dependencies.
>>> Sorry for bad example.
>>
>> It is probably something wrong.
>> For example, PYTHON_VERSIONS_ACCEPTED is not put before the first
>> includion
>> of lang/python/pyversion.mk.
>
> I cannot reproduce the problem anymore...
> It was probably wrong.
>
> Sorry for noise.
Sorry again.
gedit3 with PYTHON_VERSIONS_ACCEPTED=32 33 picks up py32-gobject3,
but libpeas only picks up python27, not python32.
py32-gobject3 is not installed.
I feel it is expected behavior, but something should be improved
in latest gedit3 (and libpeas) case.
--
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