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

From: Tatsuki Makino <>
Date: Thu, 19 Aug 2021 21:07:11 UTC
I also want to know the official way :)

I think the following ports are strange for python.

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@${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? :)