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

On Mon, 08 Jul 2013 21:32:26 +0900, Ryo ONODERA <> 

From: "OBATA Akio" <>, Date: Mon, 08 Jul 2013 
21:24:57 +0900

On Mon, 08 Jul 2013 20:34:10 +0900, Greg Troxel <>

"OBATA Akio" <> writes:

It may not work as expected for the case PYTHON_VERSION_DEFAULT

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
required with that same version.  Does this work at all?  Or is the
problem intermediate dependencies via non-python programs, or that
is not a pyXX- prefixed program?

`clean-depends' target (in mk/ is using
and it will just return list of PKGPATH for dependency (no PKGNAME
So all of PKGNAME appeared in the result of `clean-depends' will be
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/

OBATA Akio /

Home | Main Index | Thread Index | Old Index