codyps / sigrok-overlay

ebuilds for installing sigrok on gentoo (and derivatives)
sigrok.org
2 stars 6 forks source link

libsigrokdecode: use of python-single-r1 requires specification of python_single_target_python3_3 (or similar) in package.use #9

Open codyps opened 10 years ago

codyps commented 10 years ago

Editing package.use doesn't appear needed for other python-single-r1 users, probably because they just use some version of python2 rather than some version of python3. I would have expected the eselected python3 version to be used for us, but apparently that magic hasn't been added to portage.

codyps commented 10 years ago

/usr/portage/profiles/base/make.defaults shows that PYTHON_SINGLE_TARGET is just set to python2_7, which is why we (needing a python3 variant) need to have python single target manually overridden.

Ideally, we'd change python-single-r1 to allow a specification of multiple prioritized python versions to allow, which would be generated based on which versions were available.

Prioritization based on ordering of use flags is not something I think portage supports right now.