Re: How do I depend on a python port without caring about flavor

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Fri, 20 Aug 2021 06:07:11 +0900
I also want to know the official way :)

I think the following ports are strange for python.

devel/llvm{-devel,12,11,10,90,80,70}
databases/rrdtool
graphics/opencv
and astro/geographiclib (which are maintained by me :) )

They do not seem to be able to support non-default versions of python.
So they are not transparent to FLAVOR, even if they are libraries.

I am thinking of the following changes for the next version of astro/geographiclib.

- sphinx-build:textproc/py-sphinx
+ ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx_at_${PY_FLAVOR}

If there is python:env in variable USES, it seems that variables such as PY_FLAVOR will be present.

... So, I'm not sure, what should I do? :)

Regards.
Received on Thu Aug 19 2021 - 21:07:11 UTC

Original text of this message