Nuno Teixeira wrote:
Hello Charlie,

Sorry but I didn't understanded your explanation.
What we got is that if I'll do the following changes to port: comms/py- streamdeck, PYTEST_ARGS isn't respected:

- USES= dos2unix pytest python
+ USES= dos2unix python
- USE_PYTHON= autoplist pep517
+ USE_PYTHON= autoplist pep517 pytest
PYTEST_ARGS= test.py

${PYTEST_ARGS} is not respected with USE_PYTHON=pytest because ${PYTEST_ARGS} is not used at all. USE_PYTHON=pytest executes pytest directly, with the only arguments dealing with individual tests to skip.

This particular port/package does not use or mention pytest at all, so it is wrong to have pytest specified. The correct way here is to define do-test to execute test.py.

--
Charlie Li
...nope, still don't have an exit line.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to