On 2021-08-19 0:28, Mel Pilgrim wrote:
I need to add a dependency to a port, but the dependency uses python. My port doesn't use python itself, it just needs a python-using pkg installed.  But when I try to depend on that package with a line like this:

RUN_DEPENDS+= py-certbot>=0:security/py-certbot

I get a poudriere error like this:

Error: local/basecfg dependency on security/py-certbot has wrong PKGNAME of 'py-certbot' but should be 'py38-certbot'

Also, I would point out that this error indicates something was able to figure out the correct PKGNAME based on the default flavour. Since it can do that, why not have ports automatically choose the default flavour when a port lists an unflavoured dependency on a flavoured port?

Is there a technical reason to not assume the default flavour if one isn't specified?

Reply via email to